cutego/widgets/widgets.cpp

68411 lines
3.4 MiB
Executable file

// +build !minimal
#define protected public
#define private public
#include "widgets.h"
#include "_cgo_export.h"
#include <QAbstractAnimation>
#include <QAbstractButton>
#include <QAbstractGraphicsShapeItem>
#include <QAbstractItemDelegate>
#include <QAbstractItemModel>
#include <QAbstractItemView>
#include <QAbstractProxyModel>
#include <QAbstractScrollArea>
#include <QAbstractSlider>
#include <QAbstractSpinBox>
#include <QAbstractState>
#include <QAbstractTextDocumentLayout>
#include <QAccessible>
#include <QAccessibleInterface>
#include <QAccessibleWidget>
#include <QAction>
#include <QActionEvent>
#include <QActionGroup>
#include <QApplication>
#include <QBitmap>
#include <QBoxLayout>
#include <QBrush>
#include <QButtonGroup>
#include <QByteArray>
#include <QCalendarWidget>
#include <QCheckBox>
#include <QChildEvent>
#include <QCloseEvent>
#include <QColor>
#include <QColorDialog>
#include <QColormap>
#include <QColumnView>
#include <QComboBox>
#include <QCommandLinkButton>
#include <QCommonStyle>
#include <QCompleter>
#include <QContextMenuEvent>
#include <QCursor>
#include <QDataStream>
#include <QDataWidgetMapper>
#include <QDate>
#include <QDateEdit>
#include <QDateTime>
#include <QDateTimeEdit>
#include <QDesktopWidget>
#include <QDial>
#include <QDialog>
#include <QDialogButtonBox>
#include <QDir>
#include <QDockWidget>
#include <QDoubleSpinBox>
#include <QDrag>
#include <QDragEnterEvent>
#include <QDragLeaveEvent>
#include <QDragMoveEvent>
#include <QDropEvent>
#include <QErrorMessage>
#include <QEvent>
#include <QFile>
#include <QFileDialog>
#include <QFileIconProvider>
#include <QFileInfo>
#include <QFileSystemModel>
#include <QFocusEvent>
#include <QFocusFrame>
#include <QFont>
#include <QFontComboBox>
#include <QFontDatabase>
#include <QFontDialog>
#include <QFontInfo>
#include <QFontMetrics>
#include <QFormLayout>
#include <QFrame>
#include <QGesture>
#include <QGestureEvent>
#include <QGestureRecognizer>
#include <QGraphicsAnchor>
#include <QGraphicsAnchorLayout>
#include <QGraphicsBlurEffect>
#include <QGraphicsColorizeEffect>
#include <QGraphicsDropShadowEffect>
#include <QGraphicsEffect>
#include <QGraphicsEllipseItem>
#include <QGraphicsGridLayout>
#include <QGraphicsItem>
#include <QGraphicsItemGroup>
#include <QGraphicsLayout>
#include <QGraphicsLayoutItem>
#include <QGraphicsLineItem>
#include <QGraphicsLinearLayout>
#include <QGraphicsObject>
#include <QGraphicsOpacityEffect>
#include <QGraphicsPathItem>
#include <QGraphicsPixmapItem>
#include <QGraphicsPolygonItem>
#include <QGraphicsProxyWidget>
#include <QGraphicsRectItem>
#include <QGraphicsRotation>
#include <QGraphicsScale>
#include <QGraphicsScene>
#include <QGraphicsSceneContextMenuEvent>
#include <QGraphicsSceneDragDropEvent>
#include <QGraphicsSceneEvent>
#include <QGraphicsSceneHelpEvent>
#include <QGraphicsSceneHoverEvent>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsSceneMoveEvent>
#include <QGraphicsSceneResizeEvent>
#include <QGraphicsSceneWheelEvent>
#include <QGraphicsSimpleTextItem>
#include <QGraphicsTextItem>
#include <QGraphicsTransform>
#include <QGraphicsView>
#include <QGraphicsWidget>
#include <QGridLayout>
#include <QGroupBox>
#include <QHBoxLayout>
#include <QHash>
#include <QHeaderView>
#include <QHelpEvent>
#include <QHideEvent>
#include <QIcon>
#include <QInputDialog>
#include <QInputMethod>
#include <QInputMethodEvent>
#include <QItemDelegate>
#include <QItemEditorCreator>
#include <QItemEditorCreatorBase>
#include <QItemEditorFactory>
#include <QItemSelection>
#include <QItemSelectionModel>
#include <QKeyEvent>
#include <QKeyEventTransition>
#include <QKeySequence>
#include <QKeySequenceEdit>
#include <QLCDNumber>
#include <QLabel>
#include <QLayout>
#include <QLayoutItem>
#include <QLine>
#include <QLineEdit>
#include <QLineF>
#include <QList>
#include <QListView>
#include <QListWidget>
#include <QListWidgetItem>
#include <QLocale>
#include <QMacCocoaViewContainer>
#include <QMacNativeWidget>
#include <QMainWindow>
#include <QMap>
#include <QMargins>
#include <QMatrix4x4>
#include <QMdiArea>
#include <QMdiSubWindow>
#include <QMenu>
#include <QMenuBar>
#include <QMessageBox>
#include <QMetaMethod>
#include <QMetaObject>
#include <QMimeData>
#include <QModelIndex>
#include <QMouseEvent>
#include <QMouseEventTransition>
#include <QMoveEvent>
#include <QMovie>
#include <QObject>
#include <QPagedPaintDevice>
#include <QPaintDevice>
#include <QPaintEngine>
#include <QPaintEvent>
#include <QPainter>
#include <QPainterPath>
#include <QPalette>
#include <QPanGesture>
#include <QPen>
#include <QPersistentModelIndex>
#include <QPicture>
#include <QPinchGesture>
#include <QPixmap>
#include <QPlainTextDocumentLayout>
#include <QPlainTextEdit>
#include <QPoint>
#include <QPointF>
#include <QPolygon>
#include <QPolygonF>
#include <QProgressBar>
#include <QProgressDialog>
#include <QProxyStyle>
#include <QPushButton>
#include <QRadioButton>
#include <QRect>
#include <QRectF>
#include <QRegExp>
#include <QRegion>
#include <QResizeEvent>
#include <QRubberBand>
#include <QScreen>
#include <QScrollArea>
#include <QScrollBar>
#include <QScroller>
#include <QScrollerProperties>
#include <QSessionManager>
#include <QShortcut>
#include <QShowEvent>
#include <QSize>
#include <QSizeF>
#include <QSizeGrip>
#include <QSizePolicy>
#include <QSlider>
#include <QSpacerItem>
#include <QSpinBox>
#include <QSplashScreen>
#include <QSplitter>
#include <QSplitterHandle>
#include <QStack>
#include <QStackedLayout>
#include <QStackedWidget>
#include <QState>
#include <QStatusBar>
#include <QString>
#include <QStringList>
#include <QStyle>
#include <QStyleFactory>
#include <QStyleHintReturn>
#include <QStyleHintReturnMask>
#include <QStyleHintReturnVariant>
#include <QStyleOption>
#include <QStyleOptionButton>
#include <QStyleOptionComboBox>
#include <QStyleOptionComplex>
#include <QStyleOptionDockWidget>
#include <QStyleOptionFocusRect>
#include <QStyleOptionFrame>
#include <QStyleOptionGraphicsItem>
#include <QStyleOptionGroupBox>
#include <QStyleOptionHeader>
#include <QStyleOptionMenuItem>
#include <QStyleOptionProgressBar>
#include <QStyleOptionRubberBand>
#include <QStyleOptionSizeGrip>
#include <QStyleOptionSlider>
#include <QStyleOptionSpinBox>
#include <QStyleOptionTab>
#include <QStyleOptionTabBarBase>
#include <QStyleOptionTabWidgetFrame>
#include <QStyleOptionTitleBar>
#include <QStyleOptionToolBar>
#include <QStyleOptionToolBox>
#include <QStyleOptionToolButton>
#include <QStyleOptionViewItem>
#include <QStylePainter>
#include <QStylePlugin>
#include <QStyledItemDelegate>
#include <QSwipeGesture>
#include <QSystemTrayIcon>
#include <QTabBar>
#include <QTabWidget>
#include <QTableView>
#include <QTableWidget>
#include <QTableWidgetItem>
#include <QTableWidgetSelectionRange>
#include <QTabletEvent>
#include <QTapAndHoldGesture>
#include <QTapGesture>
#include <QTextBlock>
#include <QTextBrowser>
#include <QTextCharFormat>
#include <QTextCursor>
#include <QTextDocument>
#include <QTextEdit>
#include <QTextFormat>
#include <QTextFrame>
#include <QTextInlineObject>
#include <QTextOption>
#include <QTileRules>
#include <QTime>
#include <QTimeEdit>
#include <QTimer>
#include <QTimerEvent>
#include <QToolBar>
#include <QToolBox>
#include <QToolButton>
#include <QToolTip>
#include <QTransform>
#include <QTreeView>
#include <QTreeWidget>
#include <QTreeWidgetItem>
#include <QUndoCommand>
#include <QUndoGroup>
#include <QUndoStack>
#include <QUndoView>
#include <QUrl>
#include <QVBoxLayout>
#include <QValidator>
#include <QVariant>
#include <QVector>
#include <QVector3D>
#include <QWhatsThis>
#include <QWheelEvent>
#include <QWidget>
#include <QWidgetAction>
#include <QWidgetItem>
#include <QWindow>
#include <QWizard>
#include <QWizardPage>
class MyQAbstractButton: public QAbstractButton
{
public:
MyQAbstractButton(QWidget *parent) : QAbstractButton(parent) {};
void animateClick(int msec) { callbackQAbstractButton_AnimateClick(this, msec); };
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void checkStateSet() { callbackQAbstractButton_CheckStateSet(this); };
void click() { callbackQAbstractButton_Click(this); };
void Signal_Clicked(bool checked) { callbackQAbstractButton_Clicked(this, checked); };
void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); };
void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void nextCheckState() { callbackQAbstractButton_NextCheckState(this); };
void paintEvent(QPaintEvent * e) { callbackQAbstractButton_PaintEvent(this, e); };
void Signal_Pressed() { callbackQAbstractButton_Pressed(this); };
void Signal_Released() { callbackQAbstractButton_Released(this); };
void setChecked(bool vbo) { callbackQAbstractButton_SetChecked(this, vbo); };
void setIconSize(const QSize & size) { callbackQAbstractButton_SetIconSize(this, const_cast<QSize*>(&size)); };
void toggle() { callbackQAbstractButton_Toggle(this); };
void Signal_Toggled(bool checked) { callbackQAbstractButton_Toggled(this, checked); };
bool hitButton(const QPoint & pos) const { return callbackQAbstractButton_HitButton(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&pos)) != 0; };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QAbstractButton_NewQAbstractButton(void* parent)
{
return new MyQAbstractButton(static_cast<QWidget*>(parent));
}
void QAbstractButton_AnimateClick(void* ptr, int msec)
{
QMetaObject::invokeMethod(static_cast<QAbstractButton*>(ptr), "animateClick", Q_ARG(int, msec));
}
void QAbstractButton_AnimateClickDefault(void* ptr, int msec)
{
if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::animateClick(msec);
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::animateClick(msec);
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::animateClick(msec);
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::animateClick(msec);
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::animateClick(msec);
} else {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::animateClick(msec);
}
}
void QAbstractButton_CheckStateSet(void* ptr)
{
static_cast<QAbstractButton*>(ptr)->checkStateSet();
}
void QAbstractButton_CheckStateSetDefault(void* ptr)
{
if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::checkStateSet();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::checkStateSet();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::checkStateSet();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::checkStateSet();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::checkStateSet();
} else {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::checkStateSet();
}
}
void QAbstractButton_Click(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QAbstractButton*>(ptr), "click");
}
void QAbstractButton_ClickDefault(void* ptr)
{
if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::click();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::click();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::click();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::click();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::click();
} else {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::click();
}
}
void QAbstractButton_ConnectClicked(void* ptr)
{
QObject::connect(static_cast<QAbstractButton*>(ptr), static_cast<void (QAbstractButton::*)(bool)>(&QAbstractButton::clicked), static_cast<MyQAbstractButton*>(ptr), static_cast<void (MyQAbstractButton::*)(bool)>(&MyQAbstractButton::Signal_Clicked));
}
void QAbstractButton_DisconnectClicked(void* ptr)
{
QObject::disconnect(static_cast<QAbstractButton*>(ptr), static_cast<void (QAbstractButton::*)(bool)>(&QAbstractButton::clicked), static_cast<MyQAbstractButton*>(ptr), static_cast<void (MyQAbstractButton::*)(bool)>(&MyQAbstractButton::Signal_Clicked));
}
void QAbstractButton_Clicked(void* ptr, char checked)
{
static_cast<QAbstractButton*>(ptr)->clicked(checked != 0);
}
void QAbstractButton_NextCheckState(void* ptr)
{
static_cast<QAbstractButton*>(ptr)->nextCheckState();
}
void QAbstractButton_NextCheckStateDefault(void* ptr)
{
if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::nextCheckState();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::nextCheckState();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::nextCheckState();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::nextCheckState();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::nextCheckState();
} else {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::nextCheckState();
}
}
void QAbstractButton_PaintEvent(void* ptr, void* e)
{
static_cast<QAbstractButton*>(ptr)->paintEvent(static_cast<QPaintEvent*>(e));
}
void QAbstractButton_ConnectPressed(void* ptr)
{
QObject::connect(static_cast<QAbstractButton*>(ptr), static_cast<void (QAbstractButton::*)()>(&QAbstractButton::pressed), static_cast<MyQAbstractButton*>(ptr), static_cast<void (MyQAbstractButton::*)()>(&MyQAbstractButton::Signal_Pressed));
}
void QAbstractButton_DisconnectPressed(void* ptr)
{
QObject::disconnect(static_cast<QAbstractButton*>(ptr), static_cast<void (QAbstractButton::*)()>(&QAbstractButton::pressed), static_cast<MyQAbstractButton*>(ptr), static_cast<void (MyQAbstractButton::*)()>(&MyQAbstractButton::Signal_Pressed));
}
void QAbstractButton_Pressed(void* ptr)
{
static_cast<QAbstractButton*>(ptr)->pressed();
}
void QAbstractButton_ConnectReleased(void* ptr)
{
QObject::connect(static_cast<QAbstractButton*>(ptr), static_cast<void (QAbstractButton::*)()>(&QAbstractButton::released), static_cast<MyQAbstractButton*>(ptr), static_cast<void (MyQAbstractButton::*)()>(&MyQAbstractButton::Signal_Released));
}
void QAbstractButton_DisconnectReleased(void* ptr)
{
QObject::disconnect(static_cast<QAbstractButton*>(ptr), static_cast<void (QAbstractButton::*)()>(&QAbstractButton::released), static_cast<MyQAbstractButton*>(ptr), static_cast<void (MyQAbstractButton::*)()>(&MyQAbstractButton::Signal_Released));
}
void QAbstractButton_Released(void* ptr)
{
static_cast<QAbstractButton*>(ptr)->released();
}
void QAbstractButton_SetAutoExclusive(void* ptr, char vbo)
{
static_cast<QAbstractButton*>(ptr)->setAutoExclusive(vbo != 0);
}
void QAbstractButton_SetAutoRepeat(void* ptr, char vbo)
{
static_cast<QAbstractButton*>(ptr)->setAutoRepeat(vbo != 0);
}
void QAbstractButton_SetAutoRepeatDelay(void* ptr, int vin)
{
static_cast<QAbstractButton*>(ptr)->setAutoRepeatDelay(vin);
}
void QAbstractButton_SetAutoRepeatInterval(void* ptr, int vin)
{
static_cast<QAbstractButton*>(ptr)->setAutoRepeatInterval(vin);
}
void QAbstractButton_SetCheckable(void* ptr, char vbo)
{
static_cast<QAbstractButton*>(ptr)->setCheckable(vbo != 0);
}
void QAbstractButton_SetChecked(void* ptr, char vbo)
{
QMetaObject::invokeMethod(static_cast<QAbstractButton*>(ptr), "setChecked", Q_ARG(bool, vbo != 0));
}
void QAbstractButton_SetCheckedDefault(void* ptr, char vbo)
{
if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::setChecked(vbo != 0);
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::setChecked(vbo != 0);
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::setChecked(vbo != 0);
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::setChecked(vbo != 0);
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::setChecked(vbo != 0);
} else {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::setChecked(vbo != 0);
}
}
void QAbstractButton_SetDown(void* ptr, char vbo)
{
static_cast<QAbstractButton*>(ptr)->setDown(vbo != 0);
}
void QAbstractButton_SetIcon(void* ptr, void* icon)
{
static_cast<QAbstractButton*>(ptr)->setIcon(*static_cast<QIcon*>(icon));
}
void QAbstractButton_SetIconSize(void* ptr, void* size)
{
QMetaObject::invokeMethod(static_cast<QAbstractButton*>(ptr), "setIconSize", Q_ARG(QSize, *static_cast<QSize*>(size)));
}
void QAbstractButton_SetIconSizeDefault(void* ptr, void* size)
{
if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::setIconSize(*static_cast<QSize*>(size));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::setIconSize(*static_cast<QSize*>(size));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::setIconSize(*static_cast<QSize*>(size));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::setIconSize(*static_cast<QSize*>(size));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::setIconSize(*static_cast<QSize*>(size));
} else {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::setIconSize(*static_cast<QSize*>(size));
}
}
void QAbstractButton_SetShortcut(void* ptr, void* key)
{
static_cast<QAbstractButton*>(ptr)->setShortcut(*static_cast<QKeySequence*>(key));
}
void QAbstractButton_SetText(void* ptr, char* text)
{
static_cast<QAbstractButton*>(ptr)->setText(QString(text));
}
void QAbstractButton_Toggle(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QAbstractButton*>(ptr), "toggle");
}
void QAbstractButton_ToggleDefault(void* ptr)
{
if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::toggle();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::toggle();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::toggle();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::toggle();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::toggle();
} else {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::toggle();
}
}
void QAbstractButton_ConnectToggled(void* ptr)
{
QObject::connect(static_cast<QAbstractButton*>(ptr), static_cast<void (QAbstractButton::*)(bool)>(&QAbstractButton::toggled), static_cast<MyQAbstractButton*>(ptr), static_cast<void (MyQAbstractButton::*)(bool)>(&MyQAbstractButton::Signal_Toggled));
}
void QAbstractButton_DisconnectToggled(void* ptr)
{
QObject::disconnect(static_cast<QAbstractButton*>(ptr), static_cast<void (QAbstractButton::*)(bool)>(&QAbstractButton::toggled), static_cast<MyQAbstractButton*>(ptr), static_cast<void (MyQAbstractButton::*)(bool)>(&MyQAbstractButton::Signal_Toggled));
}
void QAbstractButton_Toggled(void* ptr, char checked)
{
static_cast<QAbstractButton*>(ptr)->toggled(checked != 0);
}
void QAbstractButton_DestroyQAbstractButton(void* ptr)
{
static_cast<QAbstractButton*>(ptr)->~QAbstractButton();
}
void* QAbstractButton_Group(void* ptr)
{
return static_cast<QAbstractButton*>(ptr)->group();
}
void* QAbstractButton_Icon(void* ptr)
{
return new QIcon(static_cast<QAbstractButton*>(ptr)->icon());
}
void* QAbstractButton_Shortcut(void* ptr)
{
return new QKeySequence(static_cast<QAbstractButton*>(ptr)->shortcut());
}
void* QAbstractButton_IconSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QAbstractButton*>(ptr)->iconSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QAbstractButton_Text(void* ptr)
{
return ({ QByteArray t8ae7db = static_cast<QAbstractButton*>(ptr)->text().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t8ae7db.prepend("WHITESPACE").constData()+10), t8ae7db.size()-10 }; });
}
char QAbstractButton_AutoExclusive(void* ptr)
{
return static_cast<QAbstractButton*>(ptr)->autoExclusive();
}
char QAbstractButton_AutoRepeat(void* ptr)
{
return static_cast<QAbstractButton*>(ptr)->autoRepeat();
}
char QAbstractButton_HitButton(void* ptr, void* pos)
{
return static_cast<QAbstractButton*>(ptr)->hitButton(*static_cast<QPoint*>(pos));
}
char QAbstractButton_HitButtonDefault(void* ptr, void* pos)
{
if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolButton*>(ptr)->QToolButton::hitButton(*static_cast<QPoint*>(pos));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QRadioButton*>(ptr)->QRadioButton::hitButton(*static_cast<QPoint*>(pos));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::hitButton(*static_cast<QPoint*>(pos));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QPushButton*>(ptr)->QPushButton::hitButton(*static_cast<QPoint*>(pos));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QCheckBox*>(ptr)->QCheckBox::hitButton(*static_cast<QPoint*>(pos));
} else {
return static_cast<QAbstractButton*>(ptr)->QAbstractButton::hitButton(*static_cast<QPoint*>(pos));
}
}
char QAbstractButton_IsCheckable(void* ptr)
{
return static_cast<QAbstractButton*>(ptr)->isCheckable();
}
char QAbstractButton_IsChecked(void* ptr)
{
return static_cast<QAbstractButton*>(ptr)->isChecked();
}
char QAbstractButton_IsDown(void* ptr)
{
return static_cast<QAbstractButton*>(ptr)->isDown();
}
int QAbstractButton_AutoRepeatDelay(void* ptr)
{
return static_cast<QAbstractButton*>(ptr)->autoRepeatDelay();
}
int QAbstractButton_AutoRepeatInterval(void* ptr)
{
return static_cast<QAbstractButton*>(ptr)->autoRepeatInterval();
}
class MyQAbstractGraphicsShapeItem: public QAbstractGraphicsShapeItem
{
public:
MyQAbstractGraphicsShapeItem(QGraphicsItem *parent) : QAbstractGraphicsShapeItem(parent) {};
QPainterPath opaqueArea() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_OpaqueArea(const_cast<void*>(static_cast<const void*>(this)))); };
bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(item)) != 0; };
QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast<QVariant*>(callbackQGraphicsItem_ItemChange(this, change, const_cast<QVariant*>(&value))); };
bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; };
bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; };
void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); };
void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); };
void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); };
void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); };
void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); };
void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); };
void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); };
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); };
void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); };
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); };
void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); };
void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); };
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQAbstractGraphicsShapeItem_Paint(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); };
QPainterPath shape() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_Shape(const_cast<void*>(static_cast<const void*>(this)))); };
QRectF boundingRect() const { return *static_cast<QRectF*>(callbackQAbstractGraphicsShapeItem_BoundingRect(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsItem_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(other), mode) != 0; };
bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPainterPath*>(&path), mode) != 0; };
bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&point)) != 0; };
int type() const { return callbackQGraphicsItem_Type(const_cast<void*>(static_cast<const void*>(this))); };
};
void* QAbstractGraphicsShapeItem_NewQAbstractGraphicsShapeItem(void* parent)
{
return new MyQAbstractGraphicsShapeItem(static_cast<QGraphicsItem*>(parent));
}
void QAbstractGraphicsShapeItem_SetBrush(void* ptr, void* brush)
{
static_cast<QAbstractGraphicsShapeItem*>(ptr)->setBrush(*static_cast<QBrush*>(brush));
}
void QAbstractGraphicsShapeItem_SetPen(void* ptr, void* pen)
{
static_cast<QAbstractGraphicsShapeItem*>(ptr)->setPen(*static_cast<QPen*>(pen));
}
void QAbstractGraphicsShapeItem_DestroyQAbstractGraphicsShapeItem(void* ptr)
{
static_cast<QAbstractGraphicsShapeItem*>(ptr)->~QAbstractGraphicsShapeItem();
}
void* QAbstractGraphicsShapeItem_Brush(void* ptr)
{
return new QBrush(static_cast<QAbstractGraphicsShapeItem*>(ptr)->brush());
}
void* QAbstractGraphicsShapeItem_Pen(void* ptr)
{
return new QPen(static_cast<QAbstractGraphicsShapeItem*>(ptr)->pen());
}
void QAbstractGraphicsShapeItem_Paint(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QAbstractGraphicsShapeItem*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QAbstractGraphicsShapeItem_PaintDefault(void* ptr, void* painter, void* option, void* widget)
{
if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
} else {
}
}
void* QAbstractGraphicsShapeItem_BoundingRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QAbstractGraphicsShapeItem*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QAbstractGraphicsShapeItem_BoundingRectDefault(void* ptr)
{
if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
}
}
class MyQAbstractItemDelegate: public QAbstractItemDelegate
{
public:
MyQAbstractItemDelegate(QObject *parent) : QAbstractItemDelegate(parent) {};
bool editorEvent(QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_EditorEvent(this, event, model, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index)) != 0; };
bool helpEvent(QHelpEvent * event, QAbstractItemView * view, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_HelpEvent(this, event, view, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index)) != 0; };
void Signal_CloseEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemDelegate_CloseEditor(this, editor, hint); };
void Signal_CommitData(QWidget * editor) { callbackQAbstractItemDelegate_CommitData(this, editor); };
void Signal_SizeHintChanged(const QModelIndex & index) { callbackQAbstractItemDelegate_SizeHintChanged(this, const_cast<QModelIndex*>(&index)); };
~MyQAbstractItemDelegate() { callbackQAbstractItemDelegate_DestroyQAbstractItemDelegate(this); };
QSize sizeHint(const QStyleOptionViewItem & option, const QModelIndex & index) const { return *static_cast<QSize*>(callbackQAbstractItemDelegate_SizeHint(const_cast<void*>(static_cast<const void*>(this)), const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index))); };
QWidget * createEditor(QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index) const { return static_cast<QWidget*>(callbackQAbstractItemDelegate_CreateEditor(const_cast<void*>(static_cast<const void*>(this)), parent, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index))); };
void destroyEditor(QWidget * editor, const QModelIndex & index) const { callbackQAbstractItemDelegate_DestroyEditor(const_cast<void*>(static_cast<const void*>(this)), editor, const_cast<QModelIndex*>(&index)); };
void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQAbstractItemDelegate_Paint(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index)); };
void setEditorData(QWidget * editor, const QModelIndex & index) const { callbackQAbstractItemDelegate_SetEditorData(const_cast<void*>(static_cast<const void*>(this)), editor, const_cast<QModelIndex*>(&index)); };
void setModelData(QWidget * editor, QAbstractItemModel * model, const QModelIndex & index) const { callbackQAbstractItemDelegate_SetModelData(const_cast<void*>(static_cast<const void*>(this)), editor, model, const_cast<QModelIndex*>(&index)); };
void updateEditorGeometry(QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQAbstractItemDelegate_UpdateEditorGeometry(const_cast<void*>(static_cast<const void*>(this)), editor, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index)); };
bool event(QEvent * e) { return callbackQAbstractItemDelegate_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQAbstractItemDelegate_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQAbstractItemDelegate_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQAbstractItemDelegate_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQAbstractItemDelegate_CustomEvent(this, event); };
void deleteLater() { callbackQAbstractItemDelegate_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQAbstractItemDelegate_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQAbstractItemDelegate_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQAbstractItemDelegate_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQAbstractItemDelegate_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQAbstractItemDelegate_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QAbstractItemDelegate_NewQAbstractItemDelegate(void* parent)
{
return new MyQAbstractItemDelegate(static_cast<QObject*>(parent));
}
char QAbstractItemDelegate_EditorEvent(void* ptr, void* event, void* model, void* option, void* index)
{
return static_cast<QAbstractItemDelegate*>(ptr)->editorEvent(static_cast<QEvent*>(event), static_cast<QAbstractItemModel*>(model), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
char QAbstractItemDelegate_EditorEventDefault(void* ptr, void* event, void* model, void* option, void* index)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
return static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::editorEvent(static_cast<QEvent*>(event), static_cast<QAbstractItemModel*>(model), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
return static_cast<QItemDelegate*>(ptr)->QItemDelegate::editorEvent(static_cast<QEvent*>(event), static_cast<QAbstractItemModel*>(model), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
} else {
return static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::editorEvent(static_cast<QEvent*>(event), static_cast<QAbstractItemModel*>(model), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
}
char QAbstractItemDelegate_HelpEvent(void* ptr, void* event, void* view, void* option, void* index)
{
return static_cast<QAbstractItemDelegate*>(ptr)->helpEvent(static_cast<QHelpEvent*>(event), static_cast<QAbstractItemView*>(view), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
char QAbstractItemDelegate_HelpEventDefault(void* ptr, void* event, void* view, void* option, void* index)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
return static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::helpEvent(static_cast<QHelpEvent*>(event), static_cast<QAbstractItemView*>(view), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
return static_cast<QItemDelegate*>(ptr)->QItemDelegate::helpEvent(static_cast<QHelpEvent*>(event), static_cast<QAbstractItemView*>(view), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
} else {
return static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::helpEvent(static_cast<QHelpEvent*>(event), static_cast<QAbstractItemView*>(view), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
}
void QAbstractItemDelegate_ConnectCloseEditor(void* ptr)
{
QObject::connect(static_cast<QAbstractItemDelegate*>(ptr), static_cast<void (QAbstractItemDelegate::*)(QWidget *, QAbstractItemDelegate::EndEditHint)>(&QAbstractItemDelegate::closeEditor), static_cast<MyQAbstractItemDelegate*>(ptr), static_cast<void (MyQAbstractItemDelegate::*)(QWidget *, QAbstractItemDelegate::EndEditHint)>(&MyQAbstractItemDelegate::Signal_CloseEditor));
}
void QAbstractItemDelegate_DisconnectCloseEditor(void* ptr)
{
QObject::disconnect(static_cast<QAbstractItemDelegate*>(ptr), static_cast<void (QAbstractItemDelegate::*)(QWidget *, QAbstractItemDelegate::EndEditHint)>(&QAbstractItemDelegate::closeEditor), static_cast<MyQAbstractItemDelegate*>(ptr), static_cast<void (MyQAbstractItemDelegate::*)(QWidget *, QAbstractItemDelegate::EndEditHint)>(&MyQAbstractItemDelegate::Signal_CloseEditor));
}
void QAbstractItemDelegate_CloseEditor(void* ptr, void* editor, long long hint)
{
static_cast<QAbstractItemDelegate*>(ptr)->closeEditor(static_cast<QWidget*>(editor), static_cast<QAbstractItemDelegate::EndEditHint>(hint));
}
void QAbstractItemDelegate_ConnectCommitData(void* ptr)
{
QObject::connect(static_cast<QAbstractItemDelegate*>(ptr), static_cast<void (QAbstractItemDelegate::*)(QWidget *)>(&QAbstractItemDelegate::commitData), static_cast<MyQAbstractItemDelegate*>(ptr), static_cast<void (MyQAbstractItemDelegate::*)(QWidget *)>(&MyQAbstractItemDelegate::Signal_CommitData));
}
void QAbstractItemDelegate_DisconnectCommitData(void* ptr)
{
QObject::disconnect(static_cast<QAbstractItemDelegate*>(ptr), static_cast<void (QAbstractItemDelegate::*)(QWidget *)>(&QAbstractItemDelegate::commitData), static_cast<MyQAbstractItemDelegate*>(ptr), static_cast<void (MyQAbstractItemDelegate::*)(QWidget *)>(&MyQAbstractItemDelegate::Signal_CommitData));
}
void QAbstractItemDelegate_CommitData(void* ptr, void* editor)
{
static_cast<QAbstractItemDelegate*>(ptr)->commitData(static_cast<QWidget*>(editor));
}
void QAbstractItemDelegate_ConnectSizeHintChanged(void* ptr)
{
QObject::connect(static_cast<QAbstractItemDelegate*>(ptr), static_cast<void (QAbstractItemDelegate::*)(const QModelIndex &)>(&QAbstractItemDelegate::sizeHintChanged), static_cast<MyQAbstractItemDelegate*>(ptr), static_cast<void (MyQAbstractItemDelegate::*)(const QModelIndex &)>(&MyQAbstractItemDelegate::Signal_SizeHintChanged));
}
void QAbstractItemDelegate_DisconnectSizeHintChanged(void* ptr)
{
QObject::disconnect(static_cast<QAbstractItemDelegate*>(ptr), static_cast<void (QAbstractItemDelegate::*)(const QModelIndex &)>(&QAbstractItemDelegate::sizeHintChanged), static_cast<MyQAbstractItemDelegate*>(ptr), static_cast<void (MyQAbstractItemDelegate::*)(const QModelIndex &)>(&MyQAbstractItemDelegate::Signal_SizeHintChanged));
}
void QAbstractItemDelegate_SizeHintChanged(void* ptr, void* index)
{
static_cast<QAbstractItemDelegate*>(ptr)->sizeHintChanged(*static_cast<QModelIndex*>(index));
}
void QAbstractItemDelegate_DestroyQAbstractItemDelegate(void* ptr)
{
static_cast<QAbstractItemDelegate*>(ptr)->~QAbstractItemDelegate();
}
void QAbstractItemDelegate_DestroyQAbstractItemDelegateDefault(void* ptr)
{
}
void* QAbstractItemDelegate_SizeHint(void* ptr, void* option, void* index)
{
return ({ QSize tmpValue = static_cast<QAbstractItemDelegate*>(ptr)->sizeHint(*static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index)); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QAbstractItemDelegate_CreateEditor(void* ptr, void* parent, void* option, void* index)
{
return static_cast<QAbstractItemDelegate*>(ptr)->createEditor(static_cast<QWidget*>(parent), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
void* QAbstractItemDelegate_CreateEditorDefault(void* ptr, void* parent, void* option, void* index)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
return static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::createEditor(static_cast<QWidget*>(parent), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
return static_cast<QItemDelegate*>(ptr)->QItemDelegate::createEditor(static_cast<QWidget*>(parent), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
} else {
return static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::createEditor(static_cast<QWidget*>(parent), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
}
void QAbstractItemDelegate_DestroyEditor(void* ptr, void* editor, void* index)
{
static_cast<QAbstractItemDelegate*>(ptr)->destroyEditor(static_cast<QWidget*>(editor), *static_cast<QModelIndex*>(index));
}
void QAbstractItemDelegate_DestroyEditorDefault(void* ptr, void* editor, void* index)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::destroyEditor(static_cast<QWidget*>(editor), *static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QItemDelegate*>(ptr)->QItemDelegate::destroyEditor(static_cast<QWidget*>(editor), *static_cast<QModelIndex*>(index));
} else {
static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::destroyEditor(static_cast<QWidget*>(editor), *static_cast<QModelIndex*>(index));
}
}
void QAbstractItemDelegate_Paint(void* ptr, void* painter, void* option, void* index)
{
static_cast<QAbstractItemDelegate*>(ptr)->paint(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
void QAbstractItemDelegate_SetEditorData(void* ptr, void* editor, void* index)
{
static_cast<QAbstractItemDelegate*>(ptr)->setEditorData(static_cast<QWidget*>(editor), *static_cast<QModelIndex*>(index));
}
void QAbstractItemDelegate_SetEditorDataDefault(void* ptr, void* editor, void* index)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::setEditorData(static_cast<QWidget*>(editor), *static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QItemDelegate*>(ptr)->QItemDelegate::setEditorData(static_cast<QWidget*>(editor), *static_cast<QModelIndex*>(index));
} else {
static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::setEditorData(static_cast<QWidget*>(editor), *static_cast<QModelIndex*>(index));
}
}
void QAbstractItemDelegate_SetModelData(void* ptr, void* editor, void* model, void* index)
{
static_cast<QAbstractItemDelegate*>(ptr)->setModelData(static_cast<QWidget*>(editor), static_cast<QAbstractItemModel*>(model), *static_cast<QModelIndex*>(index));
}
void QAbstractItemDelegate_SetModelDataDefault(void* ptr, void* editor, void* model, void* index)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::setModelData(static_cast<QWidget*>(editor), static_cast<QAbstractItemModel*>(model), *static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QItemDelegate*>(ptr)->QItemDelegate::setModelData(static_cast<QWidget*>(editor), static_cast<QAbstractItemModel*>(model), *static_cast<QModelIndex*>(index));
} else {
static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::setModelData(static_cast<QWidget*>(editor), static_cast<QAbstractItemModel*>(model), *static_cast<QModelIndex*>(index));
}
}
void QAbstractItemDelegate_UpdateEditorGeometry(void* ptr, void* editor, void* option, void* index)
{
static_cast<QAbstractItemDelegate*>(ptr)->updateEditorGeometry(static_cast<QWidget*>(editor), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
void QAbstractItemDelegate_UpdateEditorGeometryDefault(void* ptr, void* editor, void* option, void* index)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::updateEditorGeometry(static_cast<QWidget*>(editor), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QItemDelegate*>(ptr)->QItemDelegate::updateEditorGeometry(static_cast<QWidget*>(editor), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
} else {
static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::updateEditorGeometry(static_cast<QWidget*>(editor), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
}
int QAbstractItemDelegate___paintingRoles_atList(void* ptr, int i)
{
return static_cast<QVector<int>*>(ptr)->at(i);
}
void QAbstractItemDelegate___paintingRoles_setList(void* ptr, int i)
{
static_cast<QVector<int>*>(ptr)->append(i);
}
void* QAbstractItemDelegate___paintingRoles_newList(void* ptr)
{
return new QVector<int>;
}
void* QAbstractItemDelegate___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QAbstractItemDelegate___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QAbstractItemDelegate___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QAbstractItemDelegate___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QAbstractItemDelegate___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QAbstractItemDelegate___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QAbstractItemDelegate___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QAbstractItemDelegate___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QAbstractItemDelegate___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QAbstractItemDelegate___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QAbstractItemDelegate___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QAbstractItemDelegate___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QAbstractItemDelegate___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QAbstractItemDelegate___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QAbstractItemDelegate___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QAbstractItemDelegate_EventDefault(void* ptr, void* e)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
return static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::event(static_cast<QEvent*>(e));
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
return static_cast<QItemDelegate*>(ptr)->QItemDelegate::event(static_cast<QEvent*>(e));
} else {
return static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::event(static_cast<QEvent*>(e));
}
}
char QAbstractItemDelegate_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QItemDelegate*>(ptr)->QItemDelegate::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QItemDelegate*>(ptr)->QItemDelegate::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QItemDelegate*>(ptr)->QItemDelegate::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QItemDelegate*>(ptr)->QItemDelegate::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QItemDelegate*>(ptr)->QItemDelegate::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
}
void QAbstractItemDelegate_ChildEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QItemDelegate*>(ptr)->QItemDelegate::childEvent(static_cast<QChildEvent*>(event));
} else {
static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::childEvent(static_cast<QChildEvent*>(event));
}
}
void QAbstractItemDelegate_ConnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QItemDelegate*>(ptr)->QItemDelegate::connectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::connectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QAbstractItemDelegate_CustomEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QItemDelegate*>(ptr)->QItemDelegate::customEvent(static_cast<QEvent*>(event));
} else {
static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::customEvent(static_cast<QEvent*>(event));
}
}
void QAbstractItemDelegate_DeleteLaterDefault(void* ptr)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::deleteLater();
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QItemDelegate*>(ptr)->QItemDelegate::deleteLater();
} else {
static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::deleteLater();
}
}
void QAbstractItemDelegate_DisconnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QItemDelegate*>(ptr)->QItemDelegate::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QAbstractItemDelegate_TimerEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
static_cast<QItemDelegate*>(ptr)->QItemDelegate::timerEvent(static_cast<QTimerEvent*>(event));
} else {
static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::timerEvent(static_cast<QTimerEvent*>(event));
}
}
void* QAbstractItemDelegate_MetaObjectDefault(void* ptr)
{
if (dynamic_cast<QStyledItemDelegate*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::metaObject());
} else if (dynamic_cast<QItemDelegate*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QItemDelegate*>(ptr)->QItemDelegate::metaObject());
} else {
return const_cast<QMetaObject*>(static_cast<QAbstractItemDelegate*>(ptr)->QAbstractItemDelegate::metaObject());
}
}
class MyQAbstractItemView: public QAbstractItemView
{
public:
MyQAbstractItemView(QWidget *parent) : QAbstractItemView(parent) {};
QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast<QModelIndex*>(callbackQAbstractItemView_MoveCursor(this, cursorAction, modifiers)); };
bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast<QModelIndex*>(&index), trigger, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast<QModelIndex*>(&index)); };
void clearSelection() { callbackQAbstractItemView_ClearSelection(this); };
void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast<QModelIndex*>(&index)); };
void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); };
void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); };
void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQAbstractItemView_CurrentChanged(this, const_cast<QModelIndex*>(&current), const_cast<QModelIndex*>(&previous)); };
void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector<int> & roles) { callbackQAbstractItemView_DataChanged(this, const_cast<QModelIndex*>(&topLeft), const_cast<QModelIndex*>(&bottomRight), ({ QVector<int>* tmpValue = const_cast<QVector<int>*>(&roles); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })); };
void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast<QModelIndex*>(&index)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast<QModelIndex*>(&index)); };
void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); };
void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast<QModelIndex*>(&index)); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast<QSize*>(&size)); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyboardSearch(const QString & search) { QByteArray t3559d7 = search.toUtf8(); QtWidgets_PackedString searchPacked = { const_cast<char*>(t3559d7.prepend("WHITESPACE").constData()+10), t3559d7.size()-10 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast<QModelIndex*>(&index)); };
void reset() { callbackQAbstractItemView_Reset(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsAboutToBeRemoved(this, const_cast<QModelIndex*>(&parent), start, end); };
void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsInserted(this, const_cast<QModelIndex*>(&parent), start, end); };
void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQAbstractItemView_ScrollTo(this, const_cast<QModelIndex*>(&index), hint); };
void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); };
void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); };
void selectAll() { callbackQAbstractItemView_SelectAll(this); };
void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQAbstractItemView_SelectionChanged(this, const_cast<QItemSelection*>(&selected), const_cast<QItemSelection*>(&deselected)); };
void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast<QModelIndex*>(&index)); };
void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); };
void setRootIndex(const QModelIndex & index) { callbackQAbstractItemView_SetRootIndex(this, const_cast<QModelIndex*>(&index)); };
void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags flags) { callbackQAbstractItemView_SetSelection(this, const_cast<QRect*>(&rect), flags); };
void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); };
void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); };
void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast<QModelIndex*>(&index)); };
void updateGeometries() { callbackQAbstractItemView_UpdateGeometries(this); };
void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); };
QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast<QItemSelectionModel::SelectionFlag>(callbackQAbstractItemView_SelectionCommand(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index), const_cast<QEvent*>(event))); };
QModelIndex indexAt(const QPoint & point) const { return *static_cast<QModelIndex*>(callbackQAbstractItemView_IndexAt(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&point))); };
QList<QModelIndex> selectedIndexes() const { return *static_cast<QList<QModelIndex>*>(callbackQAbstractItemView_SelectedIndexes(const_cast<void*>(static_cast<const void*>(this)))); };
QRect visualRect(const QModelIndex & index) const { return *static_cast<QRect*>(callbackQAbstractItemView_VisualRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast<QRegion*>(callbackQAbstractItemView_VisualRegionForSelection(const_cast<void*>(static_cast<const void*>(this)), const_cast<QItemSelection*>(&selection))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QStyleOptionViewItem viewOptions() const { return *static_cast<QStyleOptionViewItem*>(callbackQAbstractItemView_ViewOptions(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool isIndexHidden(const QModelIndex & index) const { return callbackQAbstractItemView_IsIndexHidden(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index)) != 0; };
int horizontalOffset() const { return callbackQAbstractItemView_HorizontalOffset(const_cast<void*>(static_cast<const void*>(this))); };
int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast<void*>(static_cast<const void*>(this)), column); };
int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast<void*>(static_cast<const void*>(this)), row); };
int verticalOffset() const { return callbackQAbstractItemView_VerticalOffset(const_cast<void*>(static_cast<const void*>(this))); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QAbstractItemView_NewQAbstractItemView(void* parent)
{
return new MyQAbstractItemView(static_cast<QWidget*>(parent));
}
void* QAbstractItemView_MoveCursor(void* ptr, long long cursorAction, long long modifiers)
{
return new QModelIndex(static_cast<QAbstractItemView*>(ptr)->moveCursor(static_cast<QAbstractItemView::CursorAction>(cursorAction), static_cast<Qt::KeyboardModifier>(modifiers)));
}
char QAbstractItemView_Edit2(void* ptr, void* index, long long trigger, void* event)
{
return static_cast<QAbstractItemView*>(ptr)->edit(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::EditTrigger>(trigger), static_cast<QEvent*>(event));
}
char QAbstractItemView_Edit2Default(void* ptr, void* index, long long trigger, void* event)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::edit(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::EditTrigger>(trigger), static_cast<QEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeView*>(ptr)->QTreeView::edit(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::EditTrigger>(trigger), static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::edit(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::EditTrigger>(trigger), static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableView*>(ptr)->QTableView::edit(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::EditTrigger>(trigger), static_cast<QEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::edit(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::EditTrigger>(trigger), static_cast<QEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::edit(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::EditTrigger>(trigger), static_cast<QEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return static_cast<QListView*>(ptr)->QListView::edit(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::EditTrigger>(trigger), static_cast<QEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::edit(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::EditTrigger>(trigger), static_cast<QEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return static_cast<QColumnView*>(ptr)->QColumnView::edit(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::EditTrigger>(trigger), static_cast<QEvent*>(event));
} else {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::edit(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::EditTrigger>(trigger), static_cast<QEvent*>(event));
}
}
void QAbstractItemView_ConnectActivated(void* ptr)
{
QObject::connect(static_cast<QAbstractItemView*>(ptr), static_cast<void (QAbstractItemView::*)(const QModelIndex &)>(&QAbstractItemView::activated), static_cast<MyQAbstractItemView*>(ptr), static_cast<void (MyQAbstractItemView::*)(const QModelIndex &)>(&MyQAbstractItemView::Signal_Activated));
}
void QAbstractItemView_DisconnectActivated(void* ptr)
{
QObject::disconnect(static_cast<QAbstractItemView*>(ptr), static_cast<void (QAbstractItemView::*)(const QModelIndex &)>(&QAbstractItemView::activated), static_cast<MyQAbstractItemView*>(ptr), static_cast<void (MyQAbstractItemView::*)(const QModelIndex &)>(&MyQAbstractItemView::Signal_Activated));
}
void QAbstractItemView_Activated(void* ptr, void* index)
{
static_cast<QAbstractItemView*>(ptr)->activated(*static_cast<QModelIndex*>(index));
}
void QAbstractItemView_ClearSelection(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "clearSelection");
}
void QAbstractItemView_ClearSelectionDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::clearSelection();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::clearSelection();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::clearSelection();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::clearSelection();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::clearSelection();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::clearSelection();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::clearSelection();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::clearSelection();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::clearSelection();
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::clearSelection();
}
}
void QAbstractItemView_ConnectClicked(void* ptr)
{
QObject::connect(static_cast<QAbstractItemView*>(ptr), static_cast<void (QAbstractItemView::*)(const QModelIndex &)>(&QAbstractItemView::clicked), static_cast<MyQAbstractItemView*>(ptr), static_cast<void (MyQAbstractItemView::*)(const QModelIndex &)>(&MyQAbstractItemView::Signal_Clicked));
}
void QAbstractItemView_DisconnectClicked(void* ptr)
{
QObject::disconnect(static_cast<QAbstractItemView*>(ptr), static_cast<void (QAbstractItemView::*)(const QModelIndex &)>(&QAbstractItemView::clicked), static_cast<MyQAbstractItemView*>(ptr), static_cast<void (MyQAbstractItemView::*)(const QModelIndex &)>(&MyQAbstractItemView::Signal_Clicked));
}
void QAbstractItemView_Clicked(void* ptr, void* index)
{
static_cast<QAbstractItemView*>(ptr)->clicked(*static_cast<QModelIndex*>(index));
}
void QAbstractItemView_CloseEditor(void* ptr, void* editor, long long hint)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "closeEditor", Q_ARG(QWidget*, static_cast<QWidget*>(editor)), Q_ARG(QAbstractItemDelegate::EndEditHint, static_cast<QAbstractItemDelegate::EndEditHint>(hint)));
}
void QAbstractItemView_CloseEditorDefault(void* ptr, void* editor, long long hint)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::closeEditor(static_cast<QWidget*>(editor), static_cast<QAbstractItemDelegate::EndEditHint>(hint));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::closeEditor(static_cast<QWidget*>(editor), static_cast<QAbstractItemDelegate::EndEditHint>(hint));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::closeEditor(static_cast<QWidget*>(editor), static_cast<QAbstractItemDelegate::EndEditHint>(hint));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::closeEditor(static_cast<QWidget*>(editor), static_cast<QAbstractItemDelegate::EndEditHint>(hint));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::closeEditor(static_cast<QWidget*>(editor), static_cast<QAbstractItemDelegate::EndEditHint>(hint));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::closeEditor(static_cast<QWidget*>(editor), static_cast<QAbstractItemDelegate::EndEditHint>(hint));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::closeEditor(static_cast<QWidget*>(editor), static_cast<QAbstractItemDelegate::EndEditHint>(hint));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::closeEditor(static_cast<QWidget*>(editor), static_cast<QAbstractItemDelegate::EndEditHint>(hint));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::closeEditor(static_cast<QWidget*>(editor), static_cast<QAbstractItemDelegate::EndEditHint>(hint));
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::closeEditor(static_cast<QWidget*>(editor), static_cast<QAbstractItemDelegate::EndEditHint>(hint));
}
}
void QAbstractItemView_ClosePersistentEditor(void* ptr, void* index)
{
static_cast<QAbstractItemView*>(ptr)->closePersistentEditor(*static_cast<QModelIndex*>(index));
}
void QAbstractItemView_CommitData(void* ptr, void* editor)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "commitData", Q_ARG(QWidget*, static_cast<QWidget*>(editor)));
}
void QAbstractItemView_CommitDataDefault(void* ptr, void* editor)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::commitData(static_cast<QWidget*>(editor));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::commitData(static_cast<QWidget*>(editor));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::commitData(static_cast<QWidget*>(editor));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::commitData(static_cast<QWidget*>(editor));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::commitData(static_cast<QWidget*>(editor));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::commitData(static_cast<QWidget*>(editor));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::commitData(static_cast<QWidget*>(editor));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::commitData(static_cast<QWidget*>(editor));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::commitData(static_cast<QWidget*>(editor));
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::commitData(static_cast<QWidget*>(editor));
}
}
void QAbstractItemView_CurrentChanged(void* ptr, void* current, void* previous)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "currentChanged", Q_ARG(QModelIndex, *static_cast<QModelIndex*>(current)), Q_ARG(QModelIndex, *static_cast<QModelIndex*>(previous)));
}
void QAbstractItemView_CurrentChangedDefault(void* ptr, void* current, void* previous)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
}
}
void QAbstractItemView_DataChanged(void* ptr, void* topLeft, void* bottomRight, void* roles)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "dataChanged", Q_ARG(QModelIndex, *static_cast<QModelIndex*>(topLeft)), Q_ARG(QModelIndex, *static_cast<QModelIndex*>(bottomRight)), Q_ARG(QVector<int>, *static_cast<QVector<int>*>(roles)));
}
void QAbstractItemView_DataChangedDefault(void* ptr, void* topLeft, void* bottomRight, void* roles)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
}
}
void QAbstractItemView_ConnectDoubleClicked(void* ptr)
{
QObject::connect(static_cast<QAbstractItemView*>(ptr), static_cast<void (QAbstractItemView::*)(const QModelIndex &)>(&QAbstractItemView::doubleClicked), static_cast<MyQAbstractItemView*>(ptr), static_cast<void (MyQAbstractItemView::*)(const QModelIndex &)>(&MyQAbstractItemView::Signal_DoubleClicked));
}
void QAbstractItemView_DisconnectDoubleClicked(void* ptr)
{
QObject::disconnect(static_cast<QAbstractItemView*>(ptr), static_cast<void (QAbstractItemView::*)(const QModelIndex &)>(&QAbstractItemView::doubleClicked), static_cast<MyQAbstractItemView*>(ptr), static_cast<void (MyQAbstractItemView::*)(const QModelIndex &)>(&MyQAbstractItemView::Signal_DoubleClicked));
}
void QAbstractItemView_DoubleClicked(void* ptr, void* index)
{
static_cast<QAbstractItemView*>(ptr)->doubleClicked(*static_cast<QModelIndex*>(index));
}
void QAbstractItemView_Edit(void* ptr, void* index)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "edit", Q_ARG(QModelIndex, *static_cast<QModelIndex*>(index)));
}
void QAbstractItemView_EditDefault(void* ptr, void* index)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::edit(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::edit(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::edit(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::edit(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::edit(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::edit(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::edit(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::edit(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::edit(*static_cast<QModelIndex*>(index));
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::edit(*static_cast<QModelIndex*>(index));
}
}
void QAbstractItemView_EditorDestroyed(void* ptr, void* editor)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "editorDestroyed", Q_ARG(QObject*, static_cast<QObject*>(editor)));
}
void QAbstractItemView_EditorDestroyedDefault(void* ptr, void* editor)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(editor))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::editorDestroyed(static_cast<QGraphicsObject*>(editor));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(editor))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::editorDestroyed(static_cast<QGraphicsWidget*>(editor));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(editor))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::editorDestroyed(static_cast<QLayout*>(editor));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(editor))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::editorDestroyed(static_cast<QWidget*>(editor));
} else {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::editorDestroyed(static_cast<QObject*>(editor));
}
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(editor))) {
static_cast<QTreeView*>(ptr)->QTreeView::editorDestroyed(static_cast<QGraphicsObject*>(editor));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(editor))) {
static_cast<QTreeView*>(ptr)->QTreeView::editorDestroyed(static_cast<QGraphicsWidget*>(editor));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(editor))) {
static_cast<QTreeView*>(ptr)->QTreeView::editorDestroyed(static_cast<QLayout*>(editor));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(editor))) {
static_cast<QTreeView*>(ptr)->QTreeView::editorDestroyed(static_cast<QWidget*>(editor));
} else {
static_cast<QTreeView*>(ptr)->QTreeView::editorDestroyed(static_cast<QObject*>(editor));
}
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(editor))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::editorDestroyed(static_cast<QGraphicsObject*>(editor));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(editor))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::editorDestroyed(static_cast<QGraphicsWidget*>(editor));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(editor))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::editorDestroyed(static_cast<QLayout*>(editor));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(editor))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::editorDestroyed(static_cast<QWidget*>(editor));
} else {
static_cast<QTableWidget*>(ptr)->QTableWidget::editorDestroyed(static_cast<QObject*>(editor));
}
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(editor))) {
static_cast<QTableView*>(ptr)->QTableView::editorDestroyed(static_cast<QGraphicsObject*>(editor));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(editor))) {
static_cast<QTableView*>(ptr)->QTableView::editorDestroyed(static_cast<QGraphicsWidget*>(editor));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(editor))) {
static_cast<QTableView*>(ptr)->QTableView::editorDestroyed(static_cast<QLayout*>(editor));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(editor))) {
static_cast<QTableView*>(ptr)->QTableView::editorDestroyed(static_cast<QWidget*>(editor));
} else {
static_cast<QTableView*>(ptr)->QTableView::editorDestroyed(static_cast<QObject*>(editor));
}
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(editor))) {
static_cast<QUndoView*>(ptr)->QUndoView::editorDestroyed(static_cast<QGraphicsObject*>(editor));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(editor))) {
static_cast<QUndoView*>(ptr)->QUndoView::editorDestroyed(static_cast<QGraphicsWidget*>(editor));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(editor))) {
static_cast<QUndoView*>(ptr)->QUndoView::editorDestroyed(static_cast<QLayout*>(editor));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(editor))) {
static_cast<QUndoView*>(ptr)->QUndoView::editorDestroyed(static_cast<QWidget*>(editor));
} else {
static_cast<QUndoView*>(ptr)->QUndoView::editorDestroyed(static_cast<QObject*>(editor));
}
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(editor))) {
static_cast<QListWidget*>(ptr)->QListWidget::editorDestroyed(static_cast<QGraphicsObject*>(editor));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(editor))) {
static_cast<QListWidget*>(ptr)->QListWidget::editorDestroyed(static_cast<QGraphicsWidget*>(editor));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(editor))) {
static_cast<QListWidget*>(ptr)->QListWidget::editorDestroyed(static_cast<QLayout*>(editor));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(editor))) {
static_cast<QListWidget*>(ptr)->QListWidget::editorDestroyed(static_cast<QWidget*>(editor));
} else {
static_cast<QListWidget*>(ptr)->QListWidget::editorDestroyed(static_cast<QObject*>(editor));
}
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(editor))) {
static_cast<QListView*>(ptr)->QListView::editorDestroyed(static_cast<QGraphicsObject*>(editor));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(editor))) {
static_cast<QListView*>(ptr)->QListView::editorDestroyed(static_cast<QGraphicsWidget*>(editor));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(editor))) {
static_cast<QListView*>(ptr)->QListView::editorDestroyed(static_cast<QLayout*>(editor));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(editor))) {
static_cast<QListView*>(ptr)->QListView::editorDestroyed(static_cast<QWidget*>(editor));
} else {
static_cast<QListView*>(ptr)->QListView::editorDestroyed(static_cast<QObject*>(editor));
}
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(editor))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::editorDestroyed(static_cast<QGraphicsObject*>(editor));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(editor))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::editorDestroyed(static_cast<QGraphicsWidget*>(editor));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(editor))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::editorDestroyed(static_cast<QLayout*>(editor));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(editor))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::editorDestroyed(static_cast<QWidget*>(editor));
} else {
static_cast<QHeaderView*>(ptr)->QHeaderView::editorDestroyed(static_cast<QObject*>(editor));
}
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(editor))) {
static_cast<QColumnView*>(ptr)->QColumnView::editorDestroyed(static_cast<QGraphicsObject*>(editor));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(editor))) {
static_cast<QColumnView*>(ptr)->QColumnView::editorDestroyed(static_cast<QGraphicsWidget*>(editor));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(editor))) {
static_cast<QColumnView*>(ptr)->QColumnView::editorDestroyed(static_cast<QLayout*>(editor));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(editor))) {
static_cast<QColumnView*>(ptr)->QColumnView::editorDestroyed(static_cast<QWidget*>(editor));
} else {
static_cast<QColumnView*>(ptr)->QColumnView::editorDestroyed(static_cast<QObject*>(editor));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(editor))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::editorDestroyed(static_cast<QGraphicsObject*>(editor));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(editor))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::editorDestroyed(static_cast<QGraphicsWidget*>(editor));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(editor))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::editorDestroyed(static_cast<QLayout*>(editor));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(editor))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::editorDestroyed(static_cast<QWidget*>(editor));
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::editorDestroyed(static_cast<QObject*>(editor));
}
}
}
void QAbstractItemView_ConnectEntered(void* ptr)
{
QObject::connect(static_cast<QAbstractItemView*>(ptr), static_cast<void (QAbstractItemView::*)(const QModelIndex &)>(&QAbstractItemView::entered), static_cast<MyQAbstractItemView*>(ptr), static_cast<void (MyQAbstractItemView::*)(const QModelIndex &)>(&MyQAbstractItemView::Signal_Entered));
}
void QAbstractItemView_DisconnectEntered(void* ptr)
{
QObject::disconnect(static_cast<QAbstractItemView*>(ptr), static_cast<void (QAbstractItemView::*)(const QModelIndex &)>(&QAbstractItemView::entered), static_cast<MyQAbstractItemView*>(ptr), static_cast<void (MyQAbstractItemView::*)(const QModelIndex &)>(&MyQAbstractItemView::Signal_Entered));
}
void QAbstractItemView_Entered(void* ptr, void* index)
{
static_cast<QAbstractItemView*>(ptr)->entered(*static_cast<QModelIndex*>(index));
}
void QAbstractItemView_ExecuteDelayedItemsLayout(void* ptr)
{
static_cast<QAbstractItemView*>(ptr)->executeDelayedItemsLayout();
}
void QAbstractItemView_ConnectIconSizeChanged(void* ptr)
{
QObject::connect(static_cast<QAbstractItemView*>(ptr), static_cast<void (QAbstractItemView::*)(const QSize &)>(&QAbstractItemView::iconSizeChanged), static_cast<MyQAbstractItemView*>(ptr), static_cast<void (MyQAbstractItemView::*)(const QSize &)>(&MyQAbstractItemView::Signal_IconSizeChanged));
}
void QAbstractItemView_DisconnectIconSizeChanged(void* ptr)
{
QObject::disconnect(static_cast<QAbstractItemView*>(ptr), static_cast<void (QAbstractItemView::*)(const QSize &)>(&QAbstractItemView::iconSizeChanged), static_cast<MyQAbstractItemView*>(ptr), static_cast<void (MyQAbstractItemView::*)(const QSize &)>(&MyQAbstractItemView::Signal_IconSizeChanged));
}
void QAbstractItemView_IconSizeChanged(void* ptr, void* size)
{
static_cast<QAbstractItemView*>(ptr)->iconSizeChanged(*static_cast<QSize*>(size));
}
void QAbstractItemView_KeyboardSearch(void* ptr, char* search)
{
static_cast<QAbstractItemView*>(ptr)->keyboardSearch(QString(search));
}
void QAbstractItemView_KeyboardSearchDefault(void* ptr, char* search)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::keyboardSearch(QString(search));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::keyboardSearch(QString(search));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::keyboardSearch(QString(search));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::keyboardSearch(QString(search));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::keyboardSearch(QString(search));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::keyboardSearch(QString(search));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::keyboardSearch(QString(search));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::keyboardSearch(QString(search));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::keyboardSearch(QString(search));
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::keyboardSearch(QString(search));
}
}
void QAbstractItemView_OpenPersistentEditor(void* ptr, void* index)
{
static_cast<QAbstractItemView*>(ptr)->openPersistentEditor(*static_cast<QModelIndex*>(index));
}
void QAbstractItemView_ConnectPressed(void* ptr)
{
QObject::connect(static_cast<QAbstractItemView*>(ptr), static_cast<void (QAbstractItemView::*)(const QModelIndex &)>(&QAbstractItemView::pressed), static_cast<MyQAbstractItemView*>(ptr), static_cast<void (MyQAbstractItemView::*)(const QModelIndex &)>(&MyQAbstractItemView::Signal_Pressed));
}
void QAbstractItemView_DisconnectPressed(void* ptr)
{
QObject::disconnect(static_cast<QAbstractItemView*>(ptr), static_cast<void (QAbstractItemView::*)(const QModelIndex &)>(&QAbstractItemView::pressed), static_cast<MyQAbstractItemView*>(ptr), static_cast<void (MyQAbstractItemView::*)(const QModelIndex &)>(&MyQAbstractItemView::Signal_Pressed));
}
void QAbstractItemView_Pressed(void* ptr, void* index)
{
static_cast<QAbstractItemView*>(ptr)->pressed(*static_cast<QModelIndex*>(index));
}
void QAbstractItemView_Reset(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "reset");
}
void QAbstractItemView_ResetDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::reset();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::reset();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::reset();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::reset();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::reset();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::reset();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::reset();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::reset();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::reset();
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::reset();
}
}
void QAbstractItemView_ResetHorizontalScrollMode(void* ptr)
{
static_cast<QAbstractItemView*>(ptr)->resetHorizontalScrollMode();
}
void QAbstractItemView_ResetVerticalScrollMode(void* ptr)
{
static_cast<QAbstractItemView*>(ptr)->resetVerticalScrollMode();
}
void QAbstractItemView_RowsAboutToBeRemoved(void* ptr, void* parent, int start, int end)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "rowsAboutToBeRemoved", Q_ARG(QModelIndex, *static_cast<QModelIndex*>(parent)), Q_ARG(int, start), Q_ARG(int, end));
}
void QAbstractItemView_RowsAboutToBeRemovedDefault(void* ptr, void* parent, int start, int end)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
}
}
void QAbstractItemView_RowsInserted(void* ptr, void* parent, int start, int end)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "rowsInserted", Q_ARG(QModelIndex, *static_cast<QModelIndex*>(parent)), Q_ARG(int, start), Q_ARG(int, end));
}
void QAbstractItemView_RowsInsertedDefault(void* ptr, void* parent, int start, int end)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
}
}
void QAbstractItemView_ScheduleDelayedItemsLayout(void* ptr)
{
static_cast<QAbstractItemView*>(ptr)->scheduleDelayedItemsLayout();
}
void QAbstractItemView_ScrollDirtyRegion(void* ptr, int dx, int dy)
{
static_cast<QAbstractItemView*>(ptr)->scrollDirtyRegion(dx, dy);
}
void QAbstractItemView_ScrollTo(void* ptr, void* index, long long hint)
{
static_cast<QAbstractItemView*>(ptr)->scrollTo(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::ScrollHint>(hint));
}
void QAbstractItemView_ScrollToBottom(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "scrollToBottom");
}
void QAbstractItemView_ScrollToBottomDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::scrollToBottom();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::scrollToBottom();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::scrollToBottom();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::scrollToBottom();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::scrollToBottom();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::scrollToBottom();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::scrollToBottom();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::scrollToBottom();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::scrollToBottom();
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::scrollToBottom();
}
}
void QAbstractItemView_ScrollToTop(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "scrollToTop");
}
void QAbstractItemView_ScrollToTopDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::scrollToTop();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::scrollToTop();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::scrollToTop();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::scrollToTop();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::scrollToTop();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::scrollToTop();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::scrollToTop();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::scrollToTop();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::scrollToTop();
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::scrollToTop();
}
}
void QAbstractItemView_SelectAll(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "selectAll");
}
void QAbstractItemView_SelectAllDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::selectAll();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::selectAll();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::selectAll();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::selectAll();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::selectAll();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::selectAll();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::selectAll();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::selectAll();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::selectAll();
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::selectAll();
}
}
void QAbstractItemView_SelectionChanged(void* ptr, void* selected, void* deselected)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "selectionChanged", Q_ARG(QItemSelection, *static_cast<QItemSelection*>(selected)), Q_ARG(QItemSelection, *static_cast<QItemSelection*>(deselected)));
}
void QAbstractItemView_SelectionChangedDefault(void* ptr, void* selected, void* deselected)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
}
}
void QAbstractItemView_SetAlternatingRowColors(void* ptr, char enable)
{
static_cast<QAbstractItemView*>(ptr)->setAlternatingRowColors(enable != 0);
}
void QAbstractItemView_SetAutoScroll(void* ptr, char enable)
{
static_cast<QAbstractItemView*>(ptr)->setAutoScroll(enable != 0);
}
void QAbstractItemView_SetAutoScrollMargin(void* ptr, int margin)
{
static_cast<QAbstractItemView*>(ptr)->setAutoScrollMargin(margin);
}
void QAbstractItemView_SetCurrentIndex(void* ptr, void* index)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "setCurrentIndex", Q_ARG(QModelIndex, *static_cast<QModelIndex*>(index)));
}
void QAbstractItemView_SetCurrentIndexDefault(void* ptr, void* index)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::setCurrentIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::setCurrentIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setCurrentIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::setCurrentIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::setCurrentIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::setCurrentIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::setCurrentIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::setCurrentIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::setCurrentIndex(*static_cast<QModelIndex*>(index));
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::setCurrentIndex(*static_cast<QModelIndex*>(index));
}
}
void QAbstractItemView_SetDefaultDropAction(void* ptr, long long dropAction)
{
static_cast<QAbstractItemView*>(ptr)->setDefaultDropAction(static_cast<Qt::DropAction>(dropAction));
}
void QAbstractItemView_SetDirtyRegion(void* ptr, void* region)
{
static_cast<QAbstractItemView*>(ptr)->setDirtyRegion(*static_cast<QRegion*>(region));
}
void QAbstractItemView_SetDragDropMode(void* ptr, long long behavior)
{
static_cast<QAbstractItemView*>(ptr)->setDragDropMode(static_cast<QAbstractItemView::DragDropMode>(behavior));
}
void QAbstractItemView_SetDragDropOverwriteMode(void* ptr, char overwrite)
{
static_cast<QAbstractItemView*>(ptr)->setDragDropOverwriteMode(overwrite != 0);
}
void QAbstractItemView_SetDragEnabled(void* ptr, char enable)
{
static_cast<QAbstractItemView*>(ptr)->setDragEnabled(enable != 0);
}
void QAbstractItemView_SetDropIndicatorShown(void* ptr, char enable)
{
static_cast<QAbstractItemView*>(ptr)->setDropIndicatorShown(enable != 0);
}
void QAbstractItemView_SetEditTriggers(void* ptr, long long triggers)
{
static_cast<QAbstractItemView*>(ptr)->setEditTriggers(static_cast<QAbstractItemView::EditTrigger>(triggers));
}
void QAbstractItemView_SetHorizontalScrollMode(void* ptr, long long mode)
{
static_cast<QAbstractItemView*>(ptr)->setHorizontalScrollMode(static_cast<QAbstractItemView::ScrollMode>(mode));
}
void QAbstractItemView_SetIconSize(void* ptr, void* size)
{
static_cast<QAbstractItemView*>(ptr)->setIconSize(*static_cast<QSize*>(size));
}
void QAbstractItemView_SetIndexWidget(void* ptr, void* index, void* widget)
{
static_cast<QAbstractItemView*>(ptr)->setIndexWidget(*static_cast<QModelIndex*>(index), static_cast<QWidget*>(widget));
}
void QAbstractItemView_SetItemDelegate(void* ptr, void* delegate)
{
static_cast<QAbstractItemView*>(ptr)->setItemDelegate(static_cast<QAbstractItemDelegate*>(delegate));
}
void QAbstractItemView_SetItemDelegateForColumn(void* ptr, int column, void* delegate)
{
static_cast<QAbstractItemView*>(ptr)->setItemDelegateForColumn(column, static_cast<QAbstractItemDelegate*>(delegate));
}
void QAbstractItemView_SetItemDelegateForRow(void* ptr, int row, void* delegate)
{
static_cast<QAbstractItemView*>(ptr)->setItemDelegateForRow(row, static_cast<QAbstractItemDelegate*>(delegate));
}
void QAbstractItemView_SetModel(void* ptr, void* model)
{
static_cast<QAbstractItemView*>(ptr)->setModel(static_cast<QAbstractItemModel*>(model));
}
void QAbstractItemView_SetModelDefault(void* ptr, void* model)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::setModel(static_cast<QAbstractItemModel*>(model));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::setModel(static_cast<QAbstractItemModel*>(model));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setModel(static_cast<QAbstractItemModel*>(model));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::setModel(static_cast<QAbstractItemModel*>(model));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::setModel(static_cast<QAbstractItemModel*>(model));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::setModel(static_cast<QAbstractItemModel*>(model));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::setModel(static_cast<QAbstractItemModel*>(model));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::setModel(static_cast<QAbstractItemModel*>(model));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::setModel(static_cast<QAbstractItemModel*>(model));
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::setModel(static_cast<QAbstractItemModel*>(model));
}
}
void QAbstractItemView_SetRootIndex(void* ptr, void* index)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "setRootIndex", Q_ARG(QModelIndex, *static_cast<QModelIndex*>(index)));
}
void QAbstractItemView_SetRootIndexDefault(void* ptr, void* index)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::setRootIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::setRootIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setRootIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::setRootIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::setRootIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::setRootIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::setRootIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::setRootIndex(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::setRootIndex(*static_cast<QModelIndex*>(index));
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::setRootIndex(*static_cast<QModelIndex*>(index));
}
}
void QAbstractItemView_SetSelection(void* ptr, void* rect, long long flags)
{
static_cast<QAbstractItemView*>(ptr)->setSelection(*static_cast<QRect*>(rect), static_cast<QItemSelectionModel::SelectionFlag>(flags));
}
void QAbstractItemView_SetSelectionBehavior(void* ptr, long long behavior)
{
static_cast<QAbstractItemView*>(ptr)->setSelectionBehavior(static_cast<QAbstractItemView::SelectionBehavior>(behavior));
}
void QAbstractItemView_SetSelectionMode(void* ptr, long long mode)
{
static_cast<QAbstractItemView*>(ptr)->setSelectionMode(static_cast<QAbstractItemView::SelectionMode>(mode));
}
void QAbstractItemView_SetSelectionModel(void* ptr, void* selectionModel)
{
static_cast<QAbstractItemView*>(ptr)->setSelectionModel(static_cast<QItemSelectionModel*>(selectionModel));
}
void QAbstractItemView_SetSelectionModelDefault(void* ptr, void* selectionModel)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::setSelectionModel(static_cast<QItemSelectionModel*>(selectionModel));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::setSelectionModel(static_cast<QItemSelectionModel*>(selectionModel));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setSelectionModel(static_cast<QItemSelectionModel*>(selectionModel));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::setSelectionModel(static_cast<QItemSelectionModel*>(selectionModel));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::setSelectionModel(static_cast<QItemSelectionModel*>(selectionModel));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::setSelectionModel(static_cast<QItemSelectionModel*>(selectionModel));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::setSelectionModel(static_cast<QItemSelectionModel*>(selectionModel));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::setSelectionModel(static_cast<QItemSelectionModel*>(selectionModel));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::setSelectionModel(static_cast<QItemSelectionModel*>(selectionModel));
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::setSelectionModel(static_cast<QItemSelectionModel*>(selectionModel));
}
}
void QAbstractItemView_SetState(void* ptr, long long state)
{
static_cast<QAbstractItemView*>(ptr)->setState(static_cast<QAbstractItemView::State>(state));
}
void QAbstractItemView_SetTabKeyNavigation(void* ptr, char enable)
{
static_cast<QAbstractItemView*>(ptr)->setTabKeyNavigation(enable != 0);
}
void QAbstractItemView_SetTextElideMode(void* ptr, long long mode)
{
static_cast<QAbstractItemView*>(ptr)->setTextElideMode(static_cast<Qt::TextElideMode>(mode));
}
void QAbstractItemView_SetVerticalScrollMode(void* ptr, long long mode)
{
static_cast<QAbstractItemView*>(ptr)->setVerticalScrollMode(static_cast<QAbstractItemView::ScrollMode>(mode));
}
void QAbstractItemView_StartDrag(void* ptr, long long supportedActions)
{
static_cast<QAbstractItemView*>(ptr)->startDrag(static_cast<Qt::DropAction>(supportedActions));
}
void QAbstractItemView_StartDragDefault(void* ptr, long long supportedActions)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::startDrag(static_cast<Qt::DropAction>(supportedActions));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::startDrag(static_cast<Qt::DropAction>(supportedActions));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::startDrag(static_cast<Qt::DropAction>(supportedActions));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::startDrag(static_cast<Qt::DropAction>(supportedActions));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::startDrag(static_cast<Qt::DropAction>(supportedActions));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::startDrag(static_cast<Qt::DropAction>(supportedActions));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::startDrag(static_cast<Qt::DropAction>(supportedActions));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::startDrag(static_cast<Qt::DropAction>(supportedActions));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::startDrag(static_cast<Qt::DropAction>(supportedActions));
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::startDrag(static_cast<Qt::DropAction>(supportedActions));
}
}
void QAbstractItemView_Update(void* ptr, void* index)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "update", Q_ARG(QModelIndex, *static_cast<QModelIndex*>(index)));
}
void QAbstractItemView_UpdateDefault(void* ptr, void* index)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::update(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::update(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::update(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::update(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::update(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::update(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::update(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::update(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::update(*static_cast<QModelIndex*>(index));
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::update(*static_cast<QModelIndex*>(index));
}
}
void QAbstractItemView_UpdateGeometries(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QAbstractItemView*>(ptr), "updateGeometries");
}
void QAbstractItemView_UpdateGeometriesDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::updateGeometries();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::updateGeometries();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::updateGeometries();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::updateGeometries();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::updateGeometries();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::updateGeometries();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::updateGeometries();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::updateGeometries();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::updateGeometries();
} else {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::updateGeometries();
}
}
void QAbstractItemView_ConnectViewportEntered(void* ptr)
{
QObject::connect(static_cast<QAbstractItemView*>(ptr), static_cast<void (QAbstractItemView::*)()>(&QAbstractItemView::viewportEntered), static_cast<MyQAbstractItemView*>(ptr), static_cast<void (MyQAbstractItemView::*)()>(&MyQAbstractItemView::Signal_ViewportEntered));
}
void QAbstractItemView_DisconnectViewportEntered(void* ptr)
{
QObject::disconnect(static_cast<QAbstractItemView*>(ptr), static_cast<void (QAbstractItemView::*)()>(&QAbstractItemView::viewportEntered), static_cast<MyQAbstractItemView*>(ptr), static_cast<void (MyQAbstractItemView::*)()>(&MyQAbstractItemView::Signal_ViewportEntered));
}
void QAbstractItemView_ViewportEntered(void* ptr)
{
static_cast<QAbstractItemView*>(ptr)->viewportEntered();
}
void QAbstractItemView_DestroyQAbstractItemView(void* ptr)
{
static_cast<QAbstractItemView*>(ptr)->~QAbstractItemView();
}
long long QAbstractItemView_DragDropMode(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->dragDropMode();
}
long long QAbstractItemView_DropIndicatorPosition(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->dropIndicatorPosition();
}
long long QAbstractItemView_EditTriggers(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->editTriggers();
}
void* QAbstractItemView_ItemDelegate(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->itemDelegate();
}
void* QAbstractItemView_ItemDelegate2(void* ptr, void* index)
{
return static_cast<QAbstractItemView*>(ptr)->itemDelegate(*static_cast<QModelIndex*>(index));
}
void* QAbstractItemView_ItemDelegateForColumn(void* ptr, int column)
{
return static_cast<QAbstractItemView*>(ptr)->itemDelegateForColumn(column);
}
void* QAbstractItemView_ItemDelegateForRow(void* ptr, int row)
{
return static_cast<QAbstractItemView*>(ptr)->itemDelegateForRow(row);
}
void* QAbstractItemView_Model(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->model();
}
long long QAbstractItemView_SelectionBehavior(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->selectionBehavior();
}
long long QAbstractItemView_SelectionMode(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->selectionMode();
}
void* QAbstractItemView_SelectionModel(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->selectionModel();
}
long long QAbstractItemView_SelectionCommand(void* ptr, void* index, void* event)
{
return static_cast<QAbstractItemView*>(ptr)->selectionCommand(*static_cast<QModelIndex*>(index), static_cast<QEvent*>(event));
}
long long QAbstractItemView_SelectionCommandDefault(void* ptr, void* index, void* event)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::selectionCommand(*static_cast<QModelIndex*>(index), static_cast<QEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeView*>(ptr)->QTreeView::selectionCommand(*static_cast<QModelIndex*>(index), static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::selectionCommand(*static_cast<QModelIndex*>(index), static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableView*>(ptr)->QTableView::selectionCommand(*static_cast<QModelIndex*>(index), static_cast<QEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::selectionCommand(*static_cast<QModelIndex*>(index), static_cast<QEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::selectionCommand(*static_cast<QModelIndex*>(index), static_cast<QEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return static_cast<QListView*>(ptr)->QListView::selectionCommand(*static_cast<QModelIndex*>(index), static_cast<QEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::selectionCommand(*static_cast<QModelIndex*>(index), static_cast<QEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return static_cast<QColumnView*>(ptr)->QColumnView::selectionCommand(*static_cast<QModelIndex*>(index), static_cast<QEvent*>(event));
} else {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::selectionCommand(*static_cast<QModelIndex*>(index), static_cast<QEvent*>(event));
}
}
void* QAbstractItemView_CurrentIndex(void* ptr)
{
return new QModelIndex(static_cast<QAbstractItemView*>(ptr)->currentIndex());
}
void* QAbstractItemView_IndexAt(void* ptr, void* point)
{
return new QModelIndex(static_cast<QAbstractItemView*>(ptr)->indexAt(*static_cast<QPoint*>(point)));
}
void* QAbstractItemView_RootIndex(void* ptr)
{
return new QModelIndex(static_cast<QAbstractItemView*>(ptr)->rootIndex());
}
struct QtWidgets_PackedList QAbstractItemView_SelectedIndexes(void* ptr)
{
return ({ QList<QModelIndex>* tmpValue = new QList<QModelIndex>(static_cast<QAbstractItemView*>(ptr)->selectedIndexes()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QAbstractItemView_SelectedIndexesDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return ({ QList<QModelIndex>* tmpValue = new QList<QModelIndex>(static_cast<QTreeWidget*>(ptr)->QTreeWidget::selectedIndexes()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return ({ QList<QModelIndex>* tmpValue = new QList<QModelIndex>(static_cast<QTreeView*>(ptr)->QTreeView::selectedIndexes()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return ({ QList<QModelIndex>* tmpValue = new QList<QModelIndex>(static_cast<QTableWidget*>(ptr)->QTableWidget::selectedIndexes()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return ({ QList<QModelIndex>* tmpValue = new QList<QModelIndex>(static_cast<QTableView*>(ptr)->QTableView::selectedIndexes()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return ({ QList<QModelIndex>* tmpValue = new QList<QModelIndex>(static_cast<QUndoView*>(ptr)->QUndoView::selectedIndexes()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return ({ QList<QModelIndex>* tmpValue = new QList<QModelIndex>(static_cast<QListWidget*>(ptr)->QListWidget::selectedIndexes()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return ({ QList<QModelIndex>* tmpValue = new QList<QModelIndex>(static_cast<QListView*>(ptr)->QListView::selectedIndexes()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return ({ QList<QModelIndex>* tmpValue = new QList<QModelIndex>(static_cast<QHeaderView*>(ptr)->QHeaderView::selectedIndexes()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return ({ QList<QModelIndex>* tmpValue = new QList<QModelIndex>(static_cast<QColumnView*>(ptr)->QColumnView::selectedIndexes()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else {
return ({ QList<QModelIndex>* tmpValue = new QList<QModelIndex>(static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::selectedIndexes()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
}
void* QAbstractItemView_DirtyRegionOffset(void* ptr)
{
return ({ QPoint tmpValue = static_cast<QAbstractItemView*>(ptr)->dirtyRegionOffset(); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QAbstractItemView_VisualRect(void* ptr, void* index)
{
return ({ QRect tmpValue = static_cast<QAbstractItemView*>(ptr)->visualRect(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QAbstractItemView_VisualRegionForSelection(void* ptr, void* selection)
{
return new QRegion(static_cast<QAbstractItemView*>(ptr)->visualRegionForSelection(*static_cast<QItemSelection*>(selection)));
}
void* QAbstractItemView_IconSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QAbstractItemView*>(ptr)->iconSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QAbstractItemView_SizeHintForIndex(void* ptr, void* index)
{
return ({ QSize tmpValue = static_cast<QAbstractItemView*>(ptr)->sizeHintForIndex(*static_cast<QModelIndex*>(index)); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QAbstractItemView_ViewOptions(void* ptr)
{
return new QStyleOptionViewItem(static_cast<QAbstractItemView*>(ptr)->viewOptions());
}
void* QAbstractItemView_ViewOptionsDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return new QStyleOptionViewItem(static_cast<QTreeWidget*>(ptr)->QTreeWidget::viewOptions());
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return new QStyleOptionViewItem(static_cast<QTreeView*>(ptr)->QTreeView::viewOptions());
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return new QStyleOptionViewItem(static_cast<QTableWidget*>(ptr)->QTableWidget::viewOptions());
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return new QStyleOptionViewItem(static_cast<QTableView*>(ptr)->QTableView::viewOptions());
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return new QStyleOptionViewItem(static_cast<QUndoView*>(ptr)->QUndoView::viewOptions());
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return new QStyleOptionViewItem(static_cast<QListWidget*>(ptr)->QListWidget::viewOptions());
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return new QStyleOptionViewItem(static_cast<QListView*>(ptr)->QListView::viewOptions());
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return new QStyleOptionViewItem(static_cast<QHeaderView*>(ptr)->QHeaderView::viewOptions());
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return new QStyleOptionViewItem(static_cast<QColumnView*>(ptr)->QColumnView::viewOptions());
} else {
return new QStyleOptionViewItem(static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::viewOptions());
}
}
void* QAbstractItemView_IndexWidget(void* ptr, void* index)
{
return static_cast<QAbstractItemView*>(ptr)->indexWidget(*static_cast<QModelIndex*>(index));
}
long long QAbstractItemView_DefaultDropAction(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->defaultDropAction();
}
long long QAbstractItemView_TextElideMode(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->textElideMode();
}
long long QAbstractItemView_HorizontalScrollMode(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->horizontalScrollMode();
}
long long QAbstractItemView_VerticalScrollMode(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->verticalScrollMode();
}
long long QAbstractItemView_State(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->state();
}
char QAbstractItemView_AlternatingRowColors(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->alternatingRowColors();
}
char QAbstractItemView_DragDropOverwriteMode(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->dragDropOverwriteMode();
}
char QAbstractItemView_DragEnabled(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->dragEnabled();
}
char QAbstractItemView_HasAutoScroll(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->hasAutoScroll();
}
char QAbstractItemView_IsIndexHidden(void* ptr, void* index)
{
return static_cast<QAbstractItemView*>(ptr)->isIndexHidden(*static_cast<QModelIndex*>(index));
}
char QAbstractItemView_ShowDropIndicator(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->showDropIndicator();
}
char QAbstractItemView_TabKeyNavigation(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->tabKeyNavigation();
}
int QAbstractItemView_AutoScrollMargin(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->autoScrollMargin();
}
int QAbstractItemView_HorizontalOffset(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->horizontalOffset();
}
int QAbstractItemView_SizeHintForColumn(void* ptr, int column)
{
return static_cast<QAbstractItemView*>(ptr)->sizeHintForColumn(column);
}
int QAbstractItemView_SizeHintForColumnDefault(void* ptr, int column)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::sizeHintForColumn(column);
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeView*>(ptr)->QTreeView::sizeHintForColumn(column);
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::sizeHintForColumn(column);
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableView*>(ptr)->QTableView::sizeHintForColumn(column);
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::sizeHintForColumn(column);
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::sizeHintForColumn(column);
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return static_cast<QListView*>(ptr)->QListView::sizeHintForColumn(column);
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::sizeHintForColumn(column);
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return static_cast<QColumnView*>(ptr)->QColumnView::sizeHintForColumn(column);
} else {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::sizeHintForColumn(column);
}
}
int QAbstractItemView_SizeHintForRow(void* ptr, int row)
{
return static_cast<QAbstractItemView*>(ptr)->sizeHintForRow(row);
}
int QAbstractItemView_SizeHintForRowDefault(void* ptr, int row)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::sizeHintForRow(row);
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeView*>(ptr)->QTreeView::sizeHintForRow(row);
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::sizeHintForRow(row);
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableView*>(ptr)->QTableView::sizeHintForRow(row);
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::sizeHintForRow(row);
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::sizeHintForRow(row);
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return static_cast<QListView*>(ptr)->QListView::sizeHintForRow(row);
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::sizeHintForRow(row);
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return static_cast<QColumnView*>(ptr)->QColumnView::sizeHintForRow(row);
} else {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::sizeHintForRow(row);
}
}
int QAbstractItemView_VerticalOffset(void* ptr)
{
return static_cast<QAbstractItemView*>(ptr)->verticalOffset();
}
int QAbstractItemView___dataChanged_roles_atList(void* ptr, int i)
{
return static_cast<QVector<int>*>(ptr)->at(i);
}
void QAbstractItemView___dataChanged_roles_setList(void* ptr, int i)
{
static_cast<QVector<int>*>(ptr)->append(i);
}
void* QAbstractItemView___dataChanged_roles_newList(void* ptr)
{
return new QVector<int>;
}
void* QAbstractItemView___selectedIndexes_atList(void* ptr, int i)
{
return new QModelIndex(static_cast<QList<QModelIndex>*>(ptr)->at(i));
}
void QAbstractItemView___selectedIndexes_setList(void* ptr, void* i)
{
static_cast<QList<QModelIndex>*>(ptr)->append(*static_cast<QModelIndex*>(i));
}
void* QAbstractItemView___selectedIndexes_newList(void* ptr)
{
return new QList<QModelIndex>;
}
class MyQAbstractScrollArea: public QAbstractScrollArea
{
public:
MyQAbstractScrollArea(QWidget *parent) : QAbstractScrollArea(parent) {};
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QAbstractScrollArea_NewQAbstractScrollArea(void* parent)
{
return new MyQAbstractScrollArea(static_cast<QWidget*>(parent));
}
struct QtWidgets_PackedList QAbstractScrollArea_ScrollBarWidgets(void* ptr, long long alignment)
{
return ({ QList<QWidget *>* tmpValue = new QList<QWidget *>(static_cast<QAbstractScrollArea*>(ptr)->scrollBarWidgets(static_cast<Qt::AlignmentFlag>(alignment))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
char QAbstractScrollArea_ViewportEvent(void* ptr, void* event)
{
return static_cast<QAbstractScrollArea*>(ptr)->viewportEvent(static_cast<QEvent*>(event));
}
char QAbstractScrollArea_ViewportEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::viewportEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextEdit*>(ptr)->QTextEdit::viewportEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollArea*>(ptr)->QScrollArea::viewportEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::viewportEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiArea*>(ptr)->QMdiArea::viewportEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::viewportEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeView*>(ptr)->QTreeView::viewportEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::viewportEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableView*>(ptr)->QTableView::viewportEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::viewportEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::viewportEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return static_cast<QListView*>(ptr)->QListView::viewportEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::viewportEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return static_cast<QColumnView*>(ptr)->QColumnView::viewportEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::viewportEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsView*>(ptr)->QGraphicsView::viewportEvent(static_cast<QEvent*>(event));
} else {
return static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::viewportEvent(static_cast<QEvent*>(event));
}
}
void QAbstractScrollArea_AddScrollBarWidget(void* ptr, void* widget, long long alignment)
{
static_cast<QAbstractScrollArea*>(ptr)->addScrollBarWidget(static_cast<QWidget*>(widget), static_cast<Qt::AlignmentFlag>(alignment));
}
void QAbstractScrollArea_ScrollContentsBy(void* ptr, int dx, int dy)
{
static_cast<QAbstractScrollArea*>(ptr)->scrollContentsBy(dx, dy);
}
void QAbstractScrollArea_ScrollContentsByDefault(void* ptr, int dx, int dy)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::scrollContentsBy(dx, dy);
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::scrollContentsBy(dx, dy);
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::scrollContentsBy(dx, dy);
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::scrollContentsBy(dx, dy);
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::scrollContentsBy(dx, dy);
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::scrollContentsBy(dx, dy);
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::scrollContentsBy(dx, dy);
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::scrollContentsBy(dx, dy);
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::scrollContentsBy(dx, dy);
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::scrollContentsBy(dx, dy);
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::scrollContentsBy(dx, dy);
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::scrollContentsBy(dx, dy);
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::scrollContentsBy(dx, dy);
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::scrollContentsBy(dx, dy);
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::scrollContentsBy(dx, dy);
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::scrollContentsBy(dx, dy);
} else {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::scrollContentsBy(dx, dy);
}
}
void QAbstractScrollArea_SetCornerWidget(void* ptr, void* widget)
{
static_cast<QAbstractScrollArea*>(ptr)->setCornerWidget(static_cast<QWidget*>(widget));
}
void QAbstractScrollArea_SetHorizontalScrollBar(void* ptr, void* scrollBar)
{
static_cast<QAbstractScrollArea*>(ptr)->setHorizontalScrollBar(static_cast<QScrollBar*>(scrollBar));
}
void QAbstractScrollArea_SetHorizontalScrollBarPolicy(void* ptr, long long vqt)
{
static_cast<QAbstractScrollArea*>(ptr)->setHorizontalScrollBarPolicy(static_cast<Qt::ScrollBarPolicy>(vqt));
}
void QAbstractScrollArea_SetSizeAdjustPolicy(void* ptr, long long policy)
{
static_cast<QAbstractScrollArea*>(ptr)->setSizeAdjustPolicy(static_cast<QAbstractScrollArea::SizeAdjustPolicy>(policy));
}
void QAbstractScrollArea_SetVerticalScrollBar(void* ptr, void* scrollBar)
{
static_cast<QAbstractScrollArea*>(ptr)->setVerticalScrollBar(static_cast<QScrollBar*>(scrollBar));
}
void QAbstractScrollArea_SetVerticalScrollBarPolicy(void* ptr, long long vqt)
{
static_cast<QAbstractScrollArea*>(ptr)->setVerticalScrollBarPolicy(static_cast<Qt::ScrollBarPolicy>(vqt));
}
void QAbstractScrollArea_SetViewport(void* ptr, void* widget)
{
static_cast<QAbstractScrollArea*>(ptr)->setViewport(static_cast<QWidget*>(widget));
}
void QAbstractScrollArea_SetViewportMargins2(void* ptr, void* margins)
{
static_cast<QAbstractScrollArea*>(ptr)->setViewportMargins(*static_cast<QMargins*>(margins));
}
void QAbstractScrollArea_SetViewportMargins(void* ptr, int left, int top, int right, int bottom)
{
static_cast<QAbstractScrollArea*>(ptr)->setViewportMargins(left, top, right, bottom);
}
void QAbstractScrollArea_SetupViewport(void* ptr, void* viewport)
{
static_cast<QAbstractScrollArea*>(ptr)->setupViewport(static_cast<QWidget*>(viewport));
}
void QAbstractScrollArea_SetupViewportDefault(void* ptr, void* viewport)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setupViewport(static_cast<QWidget*>(viewport));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::setupViewport(static_cast<QWidget*>(viewport));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::setupViewport(static_cast<QWidget*>(viewport));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::setupViewport(static_cast<QWidget*>(viewport));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::setupViewport(static_cast<QWidget*>(viewport));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::setupViewport(static_cast<QWidget*>(viewport));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::setupViewport(static_cast<QWidget*>(viewport));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setupViewport(static_cast<QWidget*>(viewport));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::setupViewport(static_cast<QWidget*>(viewport));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::setupViewport(static_cast<QWidget*>(viewport));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::setupViewport(static_cast<QWidget*>(viewport));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::setupViewport(static_cast<QWidget*>(viewport));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::setupViewport(static_cast<QWidget*>(viewport));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::setupViewport(static_cast<QWidget*>(viewport));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::setupViewport(static_cast<QWidget*>(viewport));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::setupViewport(static_cast<QWidget*>(viewport));
} else {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::setupViewport(static_cast<QWidget*>(viewport));
}
}
void QAbstractScrollArea_DestroyQAbstractScrollArea(void* ptr)
{
static_cast<QAbstractScrollArea*>(ptr)->~QAbstractScrollArea();
}
void* QAbstractScrollArea_ViewportMargins(void* ptr)
{
return ({ QMargins tmpValue = static_cast<QAbstractScrollArea*>(ptr)->viewportMargins(); new QMargins(tmpValue.left(), tmpValue.top(), tmpValue.right(), tmpValue.bottom()); });
}
void* QAbstractScrollArea_HorizontalScrollBar(void* ptr)
{
return static_cast<QAbstractScrollArea*>(ptr)->horizontalScrollBar();
}
void* QAbstractScrollArea_VerticalScrollBar(void* ptr)
{
return static_cast<QAbstractScrollArea*>(ptr)->verticalScrollBar();
}
void* QAbstractScrollArea_MaximumViewportSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QAbstractScrollArea*>(ptr)->maximumViewportSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QAbstractScrollArea_ViewportSizeHint(void* ptr)
{
return ({ QSize tmpValue = static_cast<QAbstractScrollArea*>(ptr)->viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QAbstractScrollArea_ViewportSizeHintDefault(void* ptr)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTextBrowser*>(ptr)->QTextBrowser::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTextEdit*>(ptr)->QTextEdit::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QScrollArea*>(ptr)->QScrollArea::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QMdiArea*>(ptr)->QMdiArea::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTreeWidget*>(ptr)->QTreeWidget::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTreeView*>(ptr)->QTreeView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTableWidget*>(ptr)->QTableWidget::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTableView*>(ptr)->QTableView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QUndoView*>(ptr)->QUndoView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QListWidget*>(ptr)->QListWidget::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QListView*>(ptr)->QListView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QHeaderView*>(ptr)->QHeaderView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QColumnView*>(ptr)->QColumnView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QGraphicsView*>(ptr)->QGraphicsView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSize tmpValue = static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
}
void* QAbstractScrollArea_CornerWidget(void* ptr)
{
return static_cast<QAbstractScrollArea*>(ptr)->cornerWidget();
}
void* QAbstractScrollArea_Viewport(void* ptr)
{
return static_cast<QAbstractScrollArea*>(ptr)->viewport();
}
long long QAbstractScrollArea_HorizontalScrollBarPolicy(void* ptr)
{
return static_cast<QAbstractScrollArea*>(ptr)->horizontalScrollBarPolicy();
}
long long QAbstractScrollArea_VerticalScrollBarPolicy(void* ptr)
{
return static_cast<QAbstractScrollArea*>(ptr)->verticalScrollBarPolicy();
}
long long QAbstractScrollArea_SizeAdjustPolicy(void* ptr)
{
return static_cast<QAbstractScrollArea*>(ptr)->sizeAdjustPolicy();
}
void* QAbstractScrollArea___scrollBarWidgets_atList(void* ptr, int i)
{
return const_cast<QWidget*>(static_cast<QList<QWidget *>*>(ptr)->at(i));
}
void QAbstractScrollArea___scrollBarWidgets_setList(void* ptr, void* i)
{
static_cast<QList<QWidget *>*>(ptr)->append(static_cast<QWidget*>(i));
}
void* QAbstractScrollArea___scrollBarWidgets_newList(void* ptr)
{
return new QList<QWidget *>;
}
class MyQAbstractSlider: public QAbstractSlider
{
public:
MyQAbstractSlider(QWidget *parent) : QAbstractSlider(parent) {};
void Signal_ActionTriggered(int action) { callbackQAbstractSlider_ActionTriggered(this, action); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
void keyPressEvent(QKeyEvent * ev) { callbackQWidget_KeyPressEvent(this, ev); };
void Signal_RangeChanged(int min, int max) { callbackQAbstractSlider_RangeChanged(this, min, max); };
void setOrientation(Qt::Orientation vqt) { callbackQAbstractSlider_SetOrientation(this, vqt); };
void setRange(int min, int max) { callbackQAbstractSlider_SetRange(this, min, max); };
void setValue(int vin) { callbackQAbstractSlider_SetValue(this, vin); };
void sliderChange(QAbstractSlider::SliderChange change) { callbackQAbstractSlider_SliderChange(this, change); };
void Signal_SliderMoved(int value) { callbackQAbstractSlider_SliderMoved(this, value); };
void Signal_SliderPressed() { callbackQAbstractSlider_SliderPressed(this); };
void Signal_SliderReleased() { callbackQAbstractSlider_SliderReleased(this); };
void Signal_ValueChanged(int value) { callbackQAbstractSlider_ValueChanged(this, value); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QAbstractSlider_NewQAbstractSlider(void* parent)
{
return new MyQAbstractSlider(static_cast<QWidget*>(parent));
}
void QAbstractSlider_ConnectActionTriggered(void* ptr)
{
QObject::connect(static_cast<QAbstractSlider*>(ptr), static_cast<void (QAbstractSlider::*)(int)>(&QAbstractSlider::actionTriggered), static_cast<MyQAbstractSlider*>(ptr), static_cast<void (MyQAbstractSlider::*)(int)>(&MyQAbstractSlider::Signal_ActionTriggered));
}
void QAbstractSlider_DisconnectActionTriggered(void* ptr)
{
QObject::disconnect(static_cast<QAbstractSlider*>(ptr), static_cast<void (QAbstractSlider::*)(int)>(&QAbstractSlider::actionTriggered), static_cast<MyQAbstractSlider*>(ptr), static_cast<void (MyQAbstractSlider::*)(int)>(&MyQAbstractSlider::Signal_ActionTriggered));
}
void QAbstractSlider_ActionTriggered(void* ptr, int action)
{
static_cast<QAbstractSlider*>(ptr)->actionTriggered(action);
}
void QAbstractSlider_ConnectRangeChanged(void* ptr)
{
QObject::connect(static_cast<QAbstractSlider*>(ptr), static_cast<void (QAbstractSlider::*)(int, int)>(&QAbstractSlider::rangeChanged), static_cast<MyQAbstractSlider*>(ptr), static_cast<void (MyQAbstractSlider::*)(int, int)>(&MyQAbstractSlider::Signal_RangeChanged));
}
void QAbstractSlider_DisconnectRangeChanged(void* ptr)
{
QObject::disconnect(static_cast<QAbstractSlider*>(ptr), static_cast<void (QAbstractSlider::*)(int, int)>(&QAbstractSlider::rangeChanged), static_cast<MyQAbstractSlider*>(ptr), static_cast<void (MyQAbstractSlider::*)(int, int)>(&MyQAbstractSlider::Signal_RangeChanged));
}
void QAbstractSlider_RangeChanged(void* ptr, int min, int max)
{
static_cast<QAbstractSlider*>(ptr)->rangeChanged(min, max);
}
void QAbstractSlider_SetInvertedAppearance(void* ptr, char vbo)
{
static_cast<QAbstractSlider*>(ptr)->setInvertedAppearance(vbo != 0);
}
void QAbstractSlider_SetInvertedControls(void* ptr, char vbo)
{
static_cast<QAbstractSlider*>(ptr)->setInvertedControls(vbo != 0);
}
void QAbstractSlider_SetMaximum(void* ptr, int vin)
{
static_cast<QAbstractSlider*>(ptr)->setMaximum(vin);
}
void QAbstractSlider_SetMinimum(void* ptr, int vin)
{
static_cast<QAbstractSlider*>(ptr)->setMinimum(vin);
}
void QAbstractSlider_SetOrientation(void* ptr, long long vqt)
{
QMetaObject::invokeMethod(static_cast<QAbstractSlider*>(ptr), "setOrientation", Q_ARG(Qt::Orientation, static_cast<Qt::Orientation>(vqt)));
}
void QAbstractSlider_SetOrientationDefault(void* ptr, long long vqt)
{
if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::setOrientation(static_cast<Qt::Orientation>(vqt));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::setOrientation(static_cast<Qt::Orientation>(vqt));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::setOrientation(static_cast<Qt::Orientation>(vqt));
} else {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::setOrientation(static_cast<Qt::Orientation>(vqt));
}
}
void QAbstractSlider_SetPageStep(void* ptr, int vin)
{
static_cast<QAbstractSlider*>(ptr)->setPageStep(vin);
}
void QAbstractSlider_SetRange(void* ptr, int min, int max)
{
QMetaObject::invokeMethod(static_cast<QAbstractSlider*>(ptr), "setRange", Q_ARG(int, min), Q_ARG(int, max));
}
void QAbstractSlider_SetRangeDefault(void* ptr, int min, int max)
{
if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::setRange(min, max);
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::setRange(min, max);
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::setRange(min, max);
} else {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::setRange(min, max);
}
}
void QAbstractSlider_SetRepeatAction(void* ptr, long long action, int thresholdTime, int repeatTime)
{
static_cast<QAbstractSlider*>(ptr)->setRepeatAction(static_cast<QAbstractSlider::SliderAction>(action), thresholdTime, repeatTime);
}
void QAbstractSlider_SetSingleStep(void* ptr, int vin)
{
static_cast<QAbstractSlider*>(ptr)->setSingleStep(vin);
}
void QAbstractSlider_SetSliderDown(void* ptr, char vbo)
{
static_cast<QAbstractSlider*>(ptr)->setSliderDown(vbo != 0);
}
void QAbstractSlider_SetSliderPosition(void* ptr, int vin)
{
static_cast<QAbstractSlider*>(ptr)->setSliderPosition(vin);
}
void QAbstractSlider_SetTracking(void* ptr, char enable)
{
static_cast<QAbstractSlider*>(ptr)->setTracking(enable != 0);
}
void QAbstractSlider_SetValue(void* ptr, int vin)
{
QMetaObject::invokeMethod(static_cast<QAbstractSlider*>(ptr), "setValue", Q_ARG(int, vin));
}
void QAbstractSlider_SetValueDefault(void* ptr, int vin)
{
if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::setValue(vin);
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::setValue(vin);
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::setValue(vin);
} else {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::setValue(vin);
}
}
void QAbstractSlider_SliderChange(void* ptr, long long change)
{
static_cast<QAbstractSlider*>(ptr)->sliderChange(static_cast<QAbstractSlider::SliderChange>(change));
}
void QAbstractSlider_SliderChangeDefault(void* ptr, long long change)
{
if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::sliderChange(static_cast<QAbstractSlider::SliderChange>(change));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::sliderChange(static_cast<QAbstractSlider::SliderChange>(change));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::sliderChange(static_cast<QAbstractSlider::SliderChange>(change));
} else {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::sliderChange(static_cast<QAbstractSlider::SliderChange>(change));
}
}
void QAbstractSlider_ConnectSliderMoved(void* ptr)
{
QObject::connect(static_cast<QAbstractSlider*>(ptr), static_cast<void (QAbstractSlider::*)(int)>(&QAbstractSlider::sliderMoved), static_cast<MyQAbstractSlider*>(ptr), static_cast<void (MyQAbstractSlider::*)(int)>(&MyQAbstractSlider::Signal_SliderMoved));
}
void QAbstractSlider_DisconnectSliderMoved(void* ptr)
{
QObject::disconnect(static_cast<QAbstractSlider*>(ptr), static_cast<void (QAbstractSlider::*)(int)>(&QAbstractSlider::sliderMoved), static_cast<MyQAbstractSlider*>(ptr), static_cast<void (MyQAbstractSlider::*)(int)>(&MyQAbstractSlider::Signal_SliderMoved));
}
void QAbstractSlider_SliderMoved(void* ptr, int value)
{
static_cast<QAbstractSlider*>(ptr)->sliderMoved(value);
}
void QAbstractSlider_ConnectSliderPressed(void* ptr)
{
QObject::connect(static_cast<QAbstractSlider*>(ptr), static_cast<void (QAbstractSlider::*)()>(&QAbstractSlider::sliderPressed), static_cast<MyQAbstractSlider*>(ptr), static_cast<void (MyQAbstractSlider::*)()>(&MyQAbstractSlider::Signal_SliderPressed));
}
void QAbstractSlider_DisconnectSliderPressed(void* ptr)
{
QObject::disconnect(static_cast<QAbstractSlider*>(ptr), static_cast<void (QAbstractSlider::*)()>(&QAbstractSlider::sliderPressed), static_cast<MyQAbstractSlider*>(ptr), static_cast<void (MyQAbstractSlider::*)()>(&MyQAbstractSlider::Signal_SliderPressed));
}
void QAbstractSlider_SliderPressed(void* ptr)
{
static_cast<QAbstractSlider*>(ptr)->sliderPressed();
}
void QAbstractSlider_ConnectSliderReleased(void* ptr)
{
QObject::connect(static_cast<QAbstractSlider*>(ptr), static_cast<void (QAbstractSlider::*)()>(&QAbstractSlider::sliderReleased), static_cast<MyQAbstractSlider*>(ptr), static_cast<void (MyQAbstractSlider::*)()>(&MyQAbstractSlider::Signal_SliderReleased));
}
void QAbstractSlider_DisconnectSliderReleased(void* ptr)
{
QObject::disconnect(static_cast<QAbstractSlider*>(ptr), static_cast<void (QAbstractSlider::*)()>(&QAbstractSlider::sliderReleased), static_cast<MyQAbstractSlider*>(ptr), static_cast<void (MyQAbstractSlider::*)()>(&MyQAbstractSlider::Signal_SliderReleased));
}
void QAbstractSlider_SliderReleased(void* ptr)
{
static_cast<QAbstractSlider*>(ptr)->sliderReleased();
}
void QAbstractSlider_TriggerAction(void* ptr, long long action)
{
static_cast<QAbstractSlider*>(ptr)->triggerAction(static_cast<QAbstractSlider::SliderAction>(action));
}
void QAbstractSlider_ConnectValueChanged(void* ptr)
{
QObject::connect(static_cast<QAbstractSlider*>(ptr), static_cast<void (QAbstractSlider::*)(int)>(&QAbstractSlider::valueChanged), static_cast<MyQAbstractSlider*>(ptr), static_cast<void (MyQAbstractSlider::*)(int)>(&MyQAbstractSlider::Signal_ValueChanged));
}
void QAbstractSlider_DisconnectValueChanged(void* ptr)
{
QObject::disconnect(static_cast<QAbstractSlider*>(ptr), static_cast<void (QAbstractSlider::*)(int)>(&QAbstractSlider::valueChanged), static_cast<MyQAbstractSlider*>(ptr), static_cast<void (MyQAbstractSlider::*)(int)>(&MyQAbstractSlider::Signal_ValueChanged));
}
void QAbstractSlider_ValueChanged(void* ptr, int value)
{
static_cast<QAbstractSlider*>(ptr)->valueChanged(value);
}
void QAbstractSlider_DestroyQAbstractSlider(void* ptr)
{
static_cast<QAbstractSlider*>(ptr)->~QAbstractSlider();
}
long long QAbstractSlider_Orientation(void* ptr)
{
return static_cast<QAbstractSlider*>(ptr)->orientation();
}
long long QAbstractSlider_RepeatAction(void* ptr)
{
return static_cast<QAbstractSlider*>(ptr)->repeatAction();
}
char QAbstractSlider_HasTracking(void* ptr)
{
return static_cast<QAbstractSlider*>(ptr)->hasTracking();
}
char QAbstractSlider_InvertedAppearance(void* ptr)
{
return static_cast<QAbstractSlider*>(ptr)->invertedAppearance();
}
char QAbstractSlider_InvertedControls(void* ptr)
{
return static_cast<QAbstractSlider*>(ptr)->invertedControls();
}
char QAbstractSlider_IsSliderDown(void* ptr)
{
return static_cast<QAbstractSlider*>(ptr)->isSliderDown();
}
int QAbstractSlider_Maximum(void* ptr)
{
return static_cast<QAbstractSlider*>(ptr)->maximum();
}
int QAbstractSlider_Minimum(void* ptr)
{
return static_cast<QAbstractSlider*>(ptr)->minimum();
}
int QAbstractSlider_PageStep(void* ptr)
{
return static_cast<QAbstractSlider*>(ptr)->pageStep();
}
int QAbstractSlider_SingleStep(void* ptr)
{
return static_cast<QAbstractSlider*>(ptr)->singleStep();
}
int QAbstractSlider_SliderPosition(void* ptr)
{
return static_cast<QAbstractSlider*>(ptr)->sliderPosition();
}
int QAbstractSlider_Value(void* ptr)
{
return static_cast<QAbstractSlider*>(ptr)->value();
}
class MyQAbstractSpinBox: public QAbstractSpinBox
{
public:
MyQAbstractSpinBox(QWidget *parent) : QAbstractSpinBox(parent) {};
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void clear() { callbackQAbstractSpinBox_Clear(this); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_EditingFinished() { callbackQAbstractSpinBox_EditingFinished(this); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void selectAll() { callbackQAbstractSpinBox_SelectAll(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void stepBy(int steps) { callbackQAbstractSpinBox_StepBy(this, steps); };
void stepDown() { callbackQAbstractSpinBox_StepDown(this); };
void stepUp() { callbackQAbstractSpinBox_StepUp(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QValidator::State validate(QString & input, int & pos) const { QByteArray t140f86 = input.toUtf8(); QtWidgets_PackedString inputPacked = { const_cast<char*>(t140f86.prepend("WHITESPACE").constData()+10), t140f86.size()-10 };return static_cast<QValidator::State>(callbackQAbstractSpinBox_Validate(const_cast<void*>(static_cast<const void*>(this)), inputPacked, pos)); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
StepEnabled stepEnabled() const { return static_cast<QAbstractSpinBox::StepEnabledFlag>(callbackQAbstractSpinBox_StepEnabled(const_cast<void*>(static_cast<const void*>(this)))); };
void fixup(QString & input) const { QByteArray t140f86 = input.toUtf8(); QtWidgets_PackedString inputPacked = { const_cast<char*>(t140f86.prepend("WHITESPACE").constData()+10), t140f86.size()-10 };callbackQAbstractSpinBox_Fixup(const_cast<void*>(static_cast<const void*>(this)), inputPacked); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QAbstractSpinBox_NewQAbstractSpinBox(void* parent)
{
return new MyQAbstractSpinBox(static_cast<QWidget*>(parent));
}
void QAbstractSpinBox_Clear(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QAbstractSpinBox*>(ptr), "clear");
}
void QAbstractSpinBox_ClearDefault(void* ptr)
{
if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::clear();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::clear();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::clear();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::clear();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::clear();
} else {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::clear();
}
}
void QAbstractSpinBox_ConnectEditingFinished(void* ptr)
{
QObject::connect(static_cast<QAbstractSpinBox*>(ptr), static_cast<void (QAbstractSpinBox::*)()>(&QAbstractSpinBox::editingFinished), static_cast<MyQAbstractSpinBox*>(ptr), static_cast<void (MyQAbstractSpinBox::*)()>(&MyQAbstractSpinBox::Signal_EditingFinished));
}
void QAbstractSpinBox_DisconnectEditingFinished(void* ptr)
{
QObject::disconnect(static_cast<QAbstractSpinBox*>(ptr), static_cast<void (QAbstractSpinBox::*)()>(&QAbstractSpinBox::editingFinished), static_cast<MyQAbstractSpinBox*>(ptr), static_cast<void (MyQAbstractSpinBox::*)()>(&MyQAbstractSpinBox::Signal_EditingFinished));
}
void QAbstractSpinBox_EditingFinished(void* ptr)
{
static_cast<QAbstractSpinBox*>(ptr)->editingFinished();
}
void QAbstractSpinBox_InterpretText(void* ptr)
{
static_cast<QAbstractSpinBox*>(ptr)->interpretText();
}
void QAbstractSpinBox_SelectAll(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QAbstractSpinBox*>(ptr), "selectAll");
}
void QAbstractSpinBox_SelectAllDefault(void* ptr)
{
if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::selectAll();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::selectAll();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::selectAll();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::selectAll();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::selectAll();
} else {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::selectAll();
}
}
void QAbstractSpinBox_SetAccelerated(void* ptr, char on)
{
static_cast<QAbstractSpinBox*>(ptr)->setAccelerated(on != 0);
}
void QAbstractSpinBox_SetAlignment(void* ptr, long long flag)
{
static_cast<QAbstractSpinBox*>(ptr)->setAlignment(static_cast<Qt::AlignmentFlag>(flag));
}
void QAbstractSpinBox_SetButtonSymbols(void* ptr, long long bs)
{
static_cast<QAbstractSpinBox*>(ptr)->setButtonSymbols(static_cast<QAbstractSpinBox::ButtonSymbols>(bs));
}
void QAbstractSpinBox_SetCorrectionMode(void* ptr, long long cm)
{
static_cast<QAbstractSpinBox*>(ptr)->setCorrectionMode(static_cast<QAbstractSpinBox::CorrectionMode>(cm));
}
void QAbstractSpinBox_SetFrame(void* ptr, char vbo)
{
static_cast<QAbstractSpinBox*>(ptr)->setFrame(vbo != 0);
}
void QAbstractSpinBox_SetGroupSeparatorShown(void* ptr, char shown)
{
static_cast<QAbstractSpinBox*>(ptr)->setGroupSeparatorShown(shown != 0);
}
void QAbstractSpinBox_SetKeyboardTracking(void* ptr, char kt)
{
static_cast<QAbstractSpinBox*>(ptr)->setKeyboardTracking(kt != 0);
}
void QAbstractSpinBox_SetLineEdit(void* ptr, void* lineEdit)
{
static_cast<QAbstractSpinBox*>(ptr)->setLineEdit(static_cast<QLineEdit*>(lineEdit));
}
void QAbstractSpinBox_SetReadOnly(void* ptr, char r)
{
static_cast<QAbstractSpinBox*>(ptr)->setReadOnly(r != 0);
}
void QAbstractSpinBox_SetSpecialValueText(void* ptr, char* txt)
{
static_cast<QAbstractSpinBox*>(ptr)->setSpecialValueText(QString(txt));
}
void QAbstractSpinBox_SetWrapping(void* ptr, char w)
{
static_cast<QAbstractSpinBox*>(ptr)->setWrapping(w != 0);
}
void QAbstractSpinBox_StepBy(void* ptr, int steps)
{
static_cast<QAbstractSpinBox*>(ptr)->stepBy(steps);
}
void QAbstractSpinBox_StepByDefault(void* ptr, int steps)
{
if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::stepBy(steps);
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::stepBy(steps);
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::stepBy(steps);
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::stepBy(steps);
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::stepBy(steps);
} else {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::stepBy(steps);
}
}
void QAbstractSpinBox_StepDown(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QAbstractSpinBox*>(ptr), "stepDown");
}
void QAbstractSpinBox_StepDownDefault(void* ptr)
{
if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::stepDown();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::stepDown();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::stepDown();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::stepDown();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::stepDown();
} else {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::stepDown();
}
}
void QAbstractSpinBox_StepUp(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QAbstractSpinBox*>(ptr), "stepUp");
}
void QAbstractSpinBox_StepUpDefault(void* ptr)
{
if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::stepUp();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::stepUp();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::stepUp();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::stepUp();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::stepUp();
} else {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::stepUp();
}
}
void QAbstractSpinBox_DestroyQAbstractSpinBox(void* ptr)
{
static_cast<QAbstractSpinBox*>(ptr)->~QAbstractSpinBox();
}
long long QAbstractSpinBox_ButtonSymbols(void* ptr)
{
return static_cast<QAbstractSpinBox*>(ptr)->buttonSymbols();
}
long long QAbstractSpinBox_CorrectionMode(void* ptr)
{
return static_cast<QAbstractSpinBox*>(ptr)->correctionMode();
}
void* QAbstractSpinBox_LineEdit(void* ptr)
{
return static_cast<QAbstractSpinBox*>(ptr)->lineEdit();
}
struct QtWidgets_PackedString QAbstractSpinBox_SpecialValueText(void* ptr)
{
return ({ QByteArray t81b86a = static_cast<QAbstractSpinBox*>(ptr)->specialValueText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t81b86a.prepend("WHITESPACE").constData()+10), t81b86a.size()-10 }; });
}
struct QtWidgets_PackedString QAbstractSpinBox_Text(void* ptr)
{
return ({ QByteArray t58fa9c = static_cast<QAbstractSpinBox*>(ptr)->text().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t58fa9c.prepend("WHITESPACE").constData()+10), t58fa9c.size()-10 }; });
}
long long QAbstractSpinBox_Validate(void* ptr, char* input, int pos)
{
return static_cast<QAbstractSpinBox*>(ptr)->validate(*(new QString(input)), pos);
}
long long QAbstractSpinBox_ValidateDefault(void* ptr, char* input, int pos)
{
if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpinBox*>(ptr)->QSpinBox::validate(*(new QString(input)), pos);
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::validate(*(new QString(input)), pos);
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTimeEdit*>(ptr)->QTimeEdit::validate(*(new QString(input)), pos);
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateEdit*>(ptr)->QDateEdit::validate(*(new QString(input)), pos);
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::validate(*(new QString(input)), pos);
} else {
return static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::validate(*(new QString(input)), pos);
}
}
long long QAbstractSpinBox_Alignment(void* ptr)
{
return static_cast<QAbstractSpinBox*>(ptr)->alignment();
}
long long QAbstractSpinBox_StepEnabled(void* ptr)
{
return static_cast<QAbstractSpinBox*>(ptr)->stepEnabled();
}
long long QAbstractSpinBox_StepEnabledDefault(void* ptr)
{
if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpinBox*>(ptr)->QSpinBox::stepEnabled();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::stepEnabled();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTimeEdit*>(ptr)->QTimeEdit::stepEnabled();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateEdit*>(ptr)->QDateEdit::stepEnabled();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::stepEnabled();
} else {
return static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::stepEnabled();
}
}
char QAbstractSpinBox_HasAcceptableInput(void* ptr)
{
return static_cast<QAbstractSpinBox*>(ptr)->hasAcceptableInput();
}
char QAbstractSpinBox_HasFrame(void* ptr)
{
return static_cast<QAbstractSpinBox*>(ptr)->hasFrame();
}
char QAbstractSpinBox_IsAccelerated(void* ptr)
{
return static_cast<QAbstractSpinBox*>(ptr)->isAccelerated();
}
char QAbstractSpinBox_IsGroupSeparatorShown(void* ptr)
{
return static_cast<QAbstractSpinBox*>(ptr)->isGroupSeparatorShown();
}
char QAbstractSpinBox_IsReadOnly(void* ptr)
{
return static_cast<QAbstractSpinBox*>(ptr)->isReadOnly();
}
char QAbstractSpinBox_KeyboardTracking(void* ptr)
{
return static_cast<QAbstractSpinBox*>(ptr)->keyboardTracking();
}
char QAbstractSpinBox_Wrapping(void* ptr)
{
return static_cast<QAbstractSpinBox*>(ptr)->wrapping();
}
void QAbstractSpinBox_Fixup(void* ptr, char* input)
{
static_cast<QAbstractSpinBox*>(ptr)->fixup(*(new QString(input)));
}
void QAbstractSpinBox_FixupDefault(void* ptr, char* input)
{
if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::fixup(*(new QString(input)));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::fixup(*(new QString(input)));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::fixup(*(new QString(input)));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::fixup(*(new QString(input)));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::fixup(*(new QString(input)));
} else {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::fixup(*(new QString(input)));
}
}
void QAbstractSpinBox_InitStyleOption(void* ptr, void* option)
{
static_cast<QAbstractSpinBox*>(ptr)->initStyleOption(static_cast<QStyleOptionSpinBox*>(option));
}
class MyQAccessibleWidget: public QAccessibleWidget
{
public:
void * interface_cast(QAccessible::InterfaceType t) { return callbackQAccessibleWidget_Interface_cast(this, t); };
void doAction(const QString & actionName) { QByteArray tcd1a8c = actionName.toUtf8(); QtWidgets_PackedString actionNamePacked = { const_cast<char*>(tcd1a8c.prepend("WHITESPACE").constData()+10), tcd1a8c.size()-10 };callbackQAccessibleWidget_DoAction(this, actionNamePacked); };
QAccessible::Role role() const { return static_cast<QAccessible::Role>(callbackQAccessibleWidget_Role(const_cast<void*>(static_cast<const void*>(this)))); };
QAccessibleInterface * child(int index) const { return static_cast<QAccessibleInterface*>(callbackQAccessibleWidget_Child(const_cast<void*>(static_cast<const void*>(this)), index)); };
QAccessibleInterface * focusChild() const { return static_cast<QAccessibleInterface*>(callbackQAccessibleWidget_FocusChild(const_cast<void*>(static_cast<const void*>(this)))); };
QAccessibleInterface * parent() const { return static_cast<QAccessibleInterface*>(callbackQAccessibleWidget_Parent(const_cast<void*>(static_cast<const void*>(this)))); };
QColor backgroundColor() const { return *static_cast<QColor*>(callbackQAccessibleWidget_BackgroundColor(const_cast<void*>(static_cast<const void*>(this)))); };
QColor foregroundColor() const { return *static_cast<QColor*>(callbackQAccessibleWidget_ForegroundColor(const_cast<void*>(static_cast<const void*>(this)))); };
QRect rect() const { return *static_cast<QRect*>(callbackQAccessibleWidget_Rect(const_cast<void*>(static_cast<const void*>(this)))); };
QString text(QAccessible::Text t) const { return QString(callbackQAccessibleWidget_Text(const_cast<void*>(static_cast<const void*>(this)), t)); };
QStringList actionNames() const { return QString(callbackQAccessibleWidget_ActionNames(const_cast<void*>(static_cast<const void*>(this)))).split("|", QString::SkipEmptyParts); };
QStringList keyBindingsForAction(const QString & actionName) const { QByteArray tcd1a8c = actionName.toUtf8(); QtWidgets_PackedString actionNamePacked = { const_cast<char*>(tcd1a8c.prepend("WHITESPACE").constData()+10), tcd1a8c.size()-10 };return QString(callbackQAccessibleWidget_KeyBindingsForAction(const_cast<void*>(static_cast<const void*>(this)), actionNamePacked)).split("|", QString::SkipEmptyParts); };
QWindow * window() const { return static_cast<QWindow*>(callbackQAccessibleWidget_Window(const_cast<void*>(static_cast<const void*>(this)))); };
bool isValid() const { return callbackQAccessibleWidget_IsValid(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int childCount() const { return callbackQAccessibleWidget_ChildCount(const_cast<void*>(static_cast<const void*>(this))); };
int indexOfChild(const QAccessibleInterface * child) const { return callbackQAccessibleWidget_IndexOfChild(const_cast<void*>(static_cast<const void*>(this)), const_cast<QAccessibleInterface*>(child)); };
void setText(QAccessible::Text t, const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQAccessibleWidget_SetText(this, t, textPacked); };
QAccessibleInterface * childAt(int x, int y) const { return static_cast<QAccessibleInterface*>(callbackQAccessibleWidget_ChildAt(const_cast<void*>(static_cast<const void*>(this)), x, y)); };
QObject * object() const { return static_cast<QObject*>(callbackQAccessibleWidget_Object(const_cast<void*>(static_cast<const void*>(this)))); };
QString localizedActionDescription(const QString & actionName) const { QByteArray tcd1a8c = actionName.toUtf8(); QtWidgets_PackedString actionNamePacked = { const_cast<char*>(tcd1a8c.prepend("WHITESPACE").constData()+10), tcd1a8c.size()-10 };return QString(callbackQAccessibleWidget_LocalizedActionDescription(const_cast<void*>(static_cast<const void*>(this)), actionNamePacked)); };
QString localizedActionName(const QString & actionName) const { QByteArray tcd1a8c = actionName.toUtf8(); QtWidgets_PackedString actionNamePacked = { const_cast<char*>(tcd1a8c.prepend("WHITESPACE").constData()+10), tcd1a8c.size()-10 };return QString(callbackQAccessibleWidget_LocalizedActionName(const_cast<void*>(static_cast<const void*>(this)), actionNamePacked)); };
};
void* QAccessibleWidget_Interface_cast(void* ptr, long long t)
{
return static_cast<QAccessibleWidget*>(ptr)->interface_cast(static_cast<QAccessible::InterfaceType>(t));
}
void* QAccessibleWidget_Interface_castDefault(void* ptr, long long t)
{
return static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::interface_cast(static_cast<QAccessible::InterfaceType>(t));
}
void QAccessibleWidget_AddControllingSignal(void* ptr, char* sign)
{
static_cast<QAccessibleWidget*>(ptr)->addControllingSignal(QString(sign));
}
void QAccessibleWidget_DoAction(void* ptr, char* actionName)
{
static_cast<QAccessibleWidget*>(ptr)->doAction(QString(actionName));
}
void QAccessibleWidget_DoActionDefault(void* ptr, char* actionName)
{
static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::doAction(QString(actionName));
}
void QAccessibleWidget_DestroyQAccessibleWidget(void* ptr)
{
static_cast<QAccessibleWidget*>(ptr)->~QAccessibleWidget();
}
long long QAccessibleWidget_Role(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->role();
}
long long QAccessibleWidget_RoleDefault(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::role();
}
void* QAccessibleWidget_Child(void* ptr, int index)
{
return static_cast<QAccessibleWidget*>(ptr)->child(index);
}
void* QAccessibleWidget_ChildDefault(void* ptr, int index)
{
return static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::child(index);
}
void* QAccessibleWidget_FocusChild(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->focusChild();
}
void* QAccessibleWidget_FocusChildDefault(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::focusChild();
}
void* QAccessibleWidget_Parent(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->parent();
}
void* QAccessibleWidget_ParentDefault(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::parent();
}
void* QAccessibleWidget_BackgroundColor(void* ptr)
{
return new QColor(static_cast<QAccessibleWidget*>(ptr)->backgroundColor());
}
void* QAccessibleWidget_BackgroundColorDefault(void* ptr)
{
return new QColor(static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::backgroundColor());
}
void* QAccessibleWidget_ForegroundColor(void* ptr)
{
return new QColor(static_cast<QAccessibleWidget*>(ptr)->foregroundColor());
}
void* QAccessibleWidget_ForegroundColorDefault(void* ptr)
{
return new QColor(static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::foregroundColor());
}
void* QAccessibleWidget_ParentObject(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->parentObject();
}
void* QAccessibleWidget_Rect(void* ptr)
{
return ({ QRect tmpValue = static_cast<QAccessibleWidget*>(ptr)->rect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QAccessibleWidget_RectDefault(void* ptr)
{
return ({ QRect tmpValue = static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::rect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QAccessibleWidget_Text(void* ptr, long long t)
{
return ({ QByteArray t7973e3 = static_cast<QAccessibleWidget*>(ptr)->text(static_cast<QAccessible::Text>(t)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t7973e3.prepend("WHITESPACE").constData()+10), t7973e3.size()-10 }; });
}
struct QtWidgets_PackedString QAccessibleWidget_TextDefault(void* ptr, long long t)
{
return ({ QByteArray tb2ef56 = static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::text(static_cast<QAccessible::Text>(t)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(tb2ef56.prepend("WHITESPACE").constData()+10), tb2ef56.size()-10 }; });
}
struct QtWidgets_PackedString QAccessibleWidget_ActionNames(void* ptr)
{
return ({ QByteArray t5da01f = static_cast<QAccessibleWidget*>(ptr)->actionNames().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t5da01f.prepend("WHITESPACE").constData()+10), t5da01f.size()-10 }; });
}
struct QtWidgets_PackedString QAccessibleWidget_ActionNamesDefault(void* ptr)
{
return ({ QByteArray t1fe7fc = static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::actionNames().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t1fe7fc.prepend("WHITESPACE").constData()+10), t1fe7fc.size()-10 }; });
}
struct QtWidgets_PackedString QAccessibleWidget_KeyBindingsForAction(void* ptr, char* actionName)
{
return ({ QByteArray t54230d = static_cast<QAccessibleWidget*>(ptr)->keyBindingsForAction(QString(actionName)).join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t54230d.prepend("WHITESPACE").constData()+10), t54230d.size()-10 }; });
}
struct QtWidgets_PackedString QAccessibleWidget_KeyBindingsForActionDefault(void* ptr, char* actionName)
{
return ({ QByteArray t259fe5 = static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::keyBindingsForAction(QString(actionName)).join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t259fe5.prepend("WHITESPACE").constData()+10), t259fe5.size()-10 }; });
}
void* QAccessibleWidget_Widget(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->widget();
}
void* QAccessibleWidget_Window(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->window();
}
void* QAccessibleWidget_WindowDefault(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::window();
}
char QAccessibleWidget_IsValid(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->isValid();
}
char QAccessibleWidget_IsValidDefault(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::isValid();
}
int QAccessibleWidget_ChildCount(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->childCount();
}
int QAccessibleWidget_ChildCountDefault(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::childCount();
}
int QAccessibleWidget_IndexOfChild(void* ptr, void* child)
{
if (dynamic_cast<QAccessibleWidget*>(static_cast<QObject*>(child))) {
return static_cast<QAccessibleWidget*>(ptr)->indexOfChild(static_cast<QAccessibleWidget*>(child));
} else {
return static_cast<QAccessibleWidget*>(ptr)->indexOfChild(static_cast<QAccessibleInterface*>(child));
}
}
int QAccessibleWidget_IndexOfChildDefault(void* ptr, void* child)
{
if (dynamic_cast<QAccessibleWidget*>(static_cast<QObject*>(child))) {
return static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::indexOfChild(static_cast<QAccessibleWidget*>(child));
} else {
return static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::indexOfChild(static_cast<QAccessibleInterface*>(child));
}
}
void QAccessibleWidget_SetText(void* ptr, long long t, char* text)
{
static_cast<QAccessibleWidget*>(ptr)->setText(static_cast<QAccessible::Text>(t), QString(text));
}
void QAccessibleWidget_SetTextDefault(void* ptr, long long t, char* text)
{
static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::setText(static_cast<QAccessible::Text>(t), QString(text));
}
void* QAccessibleWidget_ChildAt(void* ptr, int x, int y)
{
return static_cast<QAccessibleWidget*>(ptr)->childAt(x, y);
}
void* QAccessibleWidget_ChildAtDefault(void* ptr, int x, int y)
{
return static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::childAt(x, y);
}
void* QAccessibleWidget_Object(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->object();
}
void* QAccessibleWidget_ObjectDefault(void* ptr)
{
return static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::object();
}
struct QtWidgets_PackedString QAccessibleWidget_LocalizedActionDescription(void* ptr, char* actionName)
{
return ({ QByteArray te05878 = static_cast<QAccessibleWidget*>(ptr)->localizedActionDescription(QString(actionName)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(te05878.prepend("WHITESPACE").constData()+10), te05878.size()-10 }; });
}
struct QtWidgets_PackedString QAccessibleWidget_LocalizedActionDescriptionDefault(void* ptr, char* actionName)
{
return ({ QByteArray t4463d2 = static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::localizedActionDescription(QString(actionName)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t4463d2.prepend("WHITESPACE").constData()+10), t4463d2.size()-10 }; });
}
struct QtWidgets_PackedString QAccessibleWidget_LocalizedActionName(void* ptr, char* actionName)
{
return ({ QByteArray t14d6f3 = static_cast<QAccessibleWidget*>(ptr)->localizedActionName(QString(actionName)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t14d6f3.prepend("WHITESPACE").constData()+10), t14d6f3.size()-10 }; });
}
struct QtWidgets_PackedString QAccessibleWidget_LocalizedActionNameDefault(void* ptr, char* actionName)
{
return ({ QByteArray t6e929f = static_cast<QAccessibleWidget*>(ptr)->QAccessibleWidget::localizedActionName(QString(actionName)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t6e929f.prepend("WHITESPACE").constData()+10), t6e929f.size()-10 }; });
}
class MyQAction: public QAction
{
public:
MyQAction(QObject *parent) : QAction(parent) {};
MyQAction(const QIcon &icon, const QString &text, QObject *parent) : QAction(icon, text, parent) {};
MyQAction(const QString &text, QObject *parent) : QAction(text, parent) {};
bool event(QEvent * e) { return callbackQAction_Event(this, e) != 0; };
void Signal_Changed() { callbackQAction_Changed(this); };
void hover() { callbackQAction_Hover(this); };
void Signal_Hovered() { callbackQAction_Hovered(this); };
void setChecked(bool vbo) { callbackQAction_SetChecked(this, vbo); };
void setDisabled(bool b) { callbackQAction_SetDisabled(this, b); };
void setEnabled(bool vbo) { callbackQAction_SetEnabled(this, vbo); };
void setVisible(bool vbo) { callbackQAction_SetVisible(this, vbo); };
void toggle() { callbackQAction_Toggle(this); };
void Signal_Toggled(bool checked) { callbackQAction_Toggled(this, checked); };
void trigger() { callbackQAction_Trigger(this); };
void Signal_Triggered(bool checked) { callbackQAction_Triggered(this, checked); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQAction_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQAction_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQAction_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQAction_CustomEvent(this, event); };
void deleteLater() { callbackQAction_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQAction_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQAction_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQAction_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQAction_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQAction_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QAction_NewQAction(void* parent)
{
return new MyQAction(static_cast<QObject*>(parent));
}
void* QAction_NewQAction3(void* icon, char* text, void* parent)
{
return new MyQAction(*static_cast<QIcon*>(icon), QString(text), static_cast<QObject*>(parent));
}
void* QAction_NewQAction2(char* text, void* parent)
{
return new MyQAction(QString(text), static_cast<QObject*>(parent));
}
char QAction_EventDefault(void* ptr, void* e)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
return static_cast<QWidgetAction*>(ptr)->QWidgetAction::event(static_cast<QEvent*>(e));
} else {
return static_cast<QAction*>(ptr)->QAction::event(static_cast<QEvent*>(e));
}
}
char QAction_ShowStatusText(void* ptr, void* widget)
{
return static_cast<QAction*>(ptr)->showStatusText(static_cast<QWidget*>(widget));
}
void QAction_Activate(void* ptr, long long event)
{
static_cast<QAction*>(ptr)->activate(static_cast<QAction::ActionEvent>(event));
}
void QAction_ConnectChanged(void* ptr)
{
QObject::connect(static_cast<QAction*>(ptr), static_cast<void (QAction::*)()>(&QAction::changed), static_cast<MyQAction*>(ptr), static_cast<void (MyQAction::*)()>(&MyQAction::Signal_Changed));
}
void QAction_DisconnectChanged(void* ptr)
{
QObject::disconnect(static_cast<QAction*>(ptr), static_cast<void (QAction::*)()>(&QAction::changed), static_cast<MyQAction*>(ptr), static_cast<void (MyQAction::*)()>(&MyQAction::Signal_Changed));
}
void QAction_Changed(void* ptr)
{
static_cast<QAction*>(ptr)->changed();
}
void QAction_Hover(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QAction*>(ptr), "hover");
}
void QAction_HoverDefault(void* ptr)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
static_cast<QWidgetAction*>(ptr)->QWidgetAction::hover();
} else {
static_cast<QAction*>(ptr)->QAction::hover();
}
}
void QAction_ConnectHovered(void* ptr)
{
QObject::connect(static_cast<QAction*>(ptr), static_cast<void (QAction::*)()>(&QAction::hovered), static_cast<MyQAction*>(ptr), static_cast<void (MyQAction::*)()>(&MyQAction::Signal_Hovered));
}
void QAction_DisconnectHovered(void* ptr)
{
QObject::disconnect(static_cast<QAction*>(ptr), static_cast<void (QAction::*)()>(&QAction::hovered), static_cast<MyQAction*>(ptr), static_cast<void (MyQAction::*)()>(&MyQAction::Signal_Hovered));
}
void QAction_Hovered(void* ptr)
{
static_cast<QAction*>(ptr)->hovered();
}
void QAction_SetActionGroup(void* ptr, void* group)
{
static_cast<QAction*>(ptr)->setActionGroup(static_cast<QActionGroup*>(group));
}
void QAction_SetAutoRepeat(void* ptr, char vbo)
{
static_cast<QAction*>(ptr)->setAutoRepeat(vbo != 0);
}
void QAction_SetCheckable(void* ptr, char vbo)
{
static_cast<QAction*>(ptr)->setCheckable(vbo != 0);
}
void QAction_SetChecked(void* ptr, char vbo)
{
QMetaObject::invokeMethod(static_cast<QAction*>(ptr), "setChecked", Q_ARG(bool, vbo != 0));
}
void QAction_SetCheckedDefault(void* ptr, char vbo)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
static_cast<QWidgetAction*>(ptr)->QWidgetAction::setChecked(vbo != 0);
} else {
static_cast<QAction*>(ptr)->QAction::setChecked(vbo != 0);
}
}
void QAction_SetData(void* ptr, void* userData)
{
static_cast<QAction*>(ptr)->setData(*static_cast<QVariant*>(userData));
}
void QAction_SetDisabled(void* ptr, char b)
{
QMetaObject::invokeMethod(static_cast<QAction*>(ptr), "setDisabled", Q_ARG(bool, b != 0));
}
void QAction_SetDisabledDefault(void* ptr, char b)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
static_cast<QWidgetAction*>(ptr)->QWidgetAction::setDisabled(b != 0);
} else {
static_cast<QAction*>(ptr)->QAction::setDisabled(b != 0);
}
}
void QAction_SetEnabled(void* ptr, char vbo)
{
QMetaObject::invokeMethod(static_cast<QAction*>(ptr), "setEnabled", Q_ARG(bool, vbo != 0));
}
void QAction_SetEnabledDefault(void* ptr, char vbo)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
static_cast<QWidgetAction*>(ptr)->QWidgetAction::setEnabled(vbo != 0);
} else {
static_cast<QAction*>(ptr)->QAction::setEnabled(vbo != 0);
}
}
void QAction_SetFont(void* ptr, void* font)
{
static_cast<QAction*>(ptr)->setFont(*static_cast<QFont*>(font));
}
void QAction_SetIcon(void* ptr, void* icon)
{
static_cast<QAction*>(ptr)->setIcon(*static_cast<QIcon*>(icon));
}
void QAction_SetIconText(void* ptr, char* text)
{
static_cast<QAction*>(ptr)->setIconText(QString(text));
}
void QAction_SetIconVisibleInMenu(void* ptr, char visible)
{
static_cast<QAction*>(ptr)->setIconVisibleInMenu(visible != 0);
}
void QAction_SetMenu(void* ptr, void* menu)
{
static_cast<QAction*>(ptr)->setMenu(static_cast<QMenu*>(menu));
}
void QAction_SetMenuRole(void* ptr, long long menuRole)
{
static_cast<QAction*>(ptr)->setMenuRole(static_cast<QAction::MenuRole>(menuRole));
}
void QAction_SetPriority(void* ptr, long long priority)
{
static_cast<QAction*>(ptr)->setPriority(static_cast<QAction::Priority>(priority));
}
void QAction_SetSeparator(void* ptr, char b)
{
static_cast<QAction*>(ptr)->setSeparator(b != 0);
}
void QAction_SetShortcut(void* ptr, void* shortcut)
{
static_cast<QAction*>(ptr)->setShortcut(*static_cast<QKeySequence*>(shortcut));
}
void QAction_SetShortcutContext(void* ptr, long long context)
{
static_cast<QAction*>(ptr)->setShortcutContext(static_cast<Qt::ShortcutContext>(context));
}
void QAction_SetShortcuts2(void* ptr, long long key)
{
static_cast<QAction*>(ptr)->setShortcuts(static_cast<QKeySequence::StandardKey>(key));
}
void QAction_SetShortcuts(void* ptr, void* shortcuts)
{
static_cast<QAction*>(ptr)->setShortcuts(*static_cast<QList<QKeySequence>*>(shortcuts));
}
void QAction_SetStatusTip(void* ptr, char* statusTip)
{
static_cast<QAction*>(ptr)->setStatusTip(QString(statusTip));
}
void QAction_SetText(void* ptr, char* text)
{
static_cast<QAction*>(ptr)->setText(QString(text));
}
void QAction_SetToolTip(void* ptr, char* tip)
{
static_cast<QAction*>(ptr)->setToolTip(QString(tip));
}
void QAction_SetVisible(void* ptr, char vbo)
{
QMetaObject::invokeMethod(static_cast<QAction*>(ptr), "setVisible", Q_ARG(bool, vbo != 0));
}
void QAction_SetVisibleDefault(void* ptr, char vbo)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
static_cast<QWidgetAction*>(ptr)->QWidgetAction::setVisible(vbo != 0);
} else {
static_cast<QAction*>(ptr)->QAction::setVisible(vbo != 0);
}
}
void QAction_SetWhatsThis(void* ptr, char* what)
{
static_cast<QAction*>(ptr)->setWhatsThis(QString(what));
}
void QAction_Toggle(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QAction*>(ptr), "toggle");
}
void QAction_ToggleDefault(void* ptr)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
static_cast<QWidgetAction*>(ptr)->QWidgetAction::toggle();
} else {
static_cast<QAction*>(ptr)->QAction::toggle();
}
}
void QAction_ConnectToggled(void* ptr)
{
QObject::connect(static_cast<QAction*>(ptr), static_cast<void (QAction::*)(bool)>(&QAction::toggled), static_cast<MyQAction*>(ptr), static_cast<void (MyQAction::*)(bool)>(&MyQAction::Signal_Toggled));
}
void QAction_DisconnectToggled(void* ptr)
{
QObject::disconnect(static_cast<QAction*>(ptr), static_cast<void (QAction::*)(bool)>(&QAction::toggled), static_cast<MyQAction*>(ptr), static_cast<void (MyQAction::*)(bool)>(&MyQAction::Signal_Toggled));
}
void QAction_Toggled(void* ptr, char checked)
{
static_cast<QAction*>(ptr)->toggled(checked != 0);
}
void QAction_Trigger(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QAction*>(ptr), "trigger");
}
void QAction_TriggerDefault(void* ptr)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
static_cast<QWidgetAction*>(ptr)->QWidgetAction::trigger();
} else {
static_cast<QAction*>(ptr)->QAction::trigger();
}
}
void QAction_ConnectTriggered(void* ptr)
{
QObject::connect(static_cast<QAction*>(ptr), static_cast<void (QAction::*)(bool)>(&QAction::triggered), static_cast<MyQAction*>(ptr), static_cast<void (MyQAction::*)(bool)>(&MyQAction::Signal_Triggered));
}
void QAction_DisconnectTriggered(void* ptr)
{
QObject::disconnect(static_cast<QAction*>(ptr), static_cast<void (QAction::*)(bool)>(&QAction::triggered), static_cast<MyQAction*>(ptr), static_cast<void (MyQAction::*)(bool)>(&MyQAction::Signal_Triggered));
}
void QAction_Triggered(void* ptr, char checked)
{
static_cast<QAction*>(ptr)->triggered(checked != 0);
}
void QAction_DestroyQAction(void* ptr)
{
static_cast<QAction*>(ptr)->~QAction();
}
long long QAction_MenuRole(void* ptr)
{
return static_cast<QAction*>(ptr)->menuRole();
}
long long QAction_Priority(void* ptr)
{
return static_cast<QAction*>(ptr)->priority();
}
void* QAction_ActionGroup(void* ptr)
{
return static_cast<QAction*>(ptr)->actionGroup();
}
void* QAction_Font(void* ptr)
{
return new QFont(static_cast<QAction*>(ptr)->font());
}
void* QAction_Icon(void* ptr)
{
return new QIcon(static_cast<QAction*>(ptr)->icon());
}
void* QAction_Shortcut(void* ptr)
{
return new QKeySequence(static_cast<QAction*>(ptr)->shortcut());
}
struct QtWidgets_PackedList QAction_AssociatedGraphicsWidgets(void* ptr)
{
return ({ QList<QGraphicsWidget *>* tmpValue = new QList<QGraphicsWidget *>(static_cast<QAction*>(ptr)->associatedGraphicsWidgets()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QAction_Shortcuts(void* ptr)
{
return ({ QList<QKeySequence>* tmpValue = new QList<QKeySequence>(static_cast<QAction*>(ptr)->shortcuts()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QAction_AssociatedWidgets(void* ptr)
{
return ({ QList<QWidget *>* tmpValue = new QList<QWidget *>(static_cast<QAction*>(ptr)->associatedWidgets()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QAction_Menu(void* ptr)
{
return static_cast<QAction*>(ptr)->menu();
}
struct QtWidgets_PackedString QAction_IconText(void* ptr)
{
return ({ QByteArray t6729e1 = static_cast<QAction*>(ptr)->iconText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t6729e1.prepend("WHITESPACE").constData()+10), t6729e1.size()-10 }; });
}
struct QtWidgets_PackedString QAction_StatusTip(void* ptr)
{
return ({ QByteArray t5e64a4 = static_cast<QAction*>(ptr)->statusTip().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t5e64a4.prepend("WHITESPACE").constData()+10), t5e64a4.size()-10 }; });
}
struct QtWidgets_PackedString QAction_Text(void* ptr)
{
return ({ QByteArray t0f57fa = static_cast<QAction*>(ptr)->text().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t0f57fa.prepend("WHITESPACE").constData()+10), t0f57fa.size()-10 }; });
}
struct QtWidgets_PackedString QAction_ToolTip(void* ptr)
{
return ({ QByteArray td308d4 = static_cast<QAction*>(ptr)->toolTip().toUtf8(); QtWidgets_PackedString { const_cast<char*>(td308d4.prepend("WHITESPACE").constData()+10), td308d4.size()-10 }; });
}
struct QtWidgets_PackedString QAction_WhatsThis(void* ptr)
{
return ({ QByteArray tba6af8 = static_cast<QAction*>(ptr)->whatsThis().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tba6af8.prepend("WHITESPACE").constData()+10), tba6af8.size()-10 }; });
}
void* QAction_Data(void* ptr)
{
return new QVariant(static_cast<QAction*>(ptr)->data());
}
void* QAction_ParentWidget(void* ptr)
{
return static_cast<QAction*>(ptr)->parentWidget();
}
long long QAction_ShortcutContext(void* ptr)
{
return static_cast<QAction*>(ptr)->shortcutContext();
}
char QAction_AutoRepeat(void* ptr)
{
return static_cast<QAction*>(ptr)->autoRepeat();
}
char QAction_IsCheckable(void* ptr)
{
return static_cast<QAction*>(ptr)->isCheckable();
}
char QAction_IsChecked(void* ptr)
{
return static_cast<QAction*>(ptr)->isChecked();
}
char QAction_IsEnabled(void* ptr)
{
return static_cast<QAction*>(ptr)->isEnabled();
}
char QAction_IsIconVisibleInMenu(void* ptr)
{
return static_cast<QAction*>(ptr)->isIconVisibleInMenu();
}
char QAction_IsSeparator(void* ptr)
{
return static_cast<QAction*>(ptr)->isSeparator();
}
char QAction_IsVisible(void* ptr)
{
return static_cast<QAction*>(ptr)->isVisible();
}
void* QAction___setShortcuts_shortcuts_atList(void* ptr, int i)
{
return new QKeySequence(static_cast<QList<QKeySequence>*>(ptr)->at(i));
}
void QAction___setShortcuts_shortcuts_setList(void* ptr, void* i)
{
static_cast<QList<QKeySequence>*>(ptr)->append(*static_cast<QKeySequence*>(i));
}
void* QAction___setShortcuts_shortcuts_newList(void* ptr)
{
return new QList<QKeySequence>;
}
void* QAction___associatedGraphicsWidgets_atList(void* ptr, int i)
{
return const_cast<QGraphicsWidget*>(static_cast<QList<QGraphicsWidget *>*>(ptr)->at(i));
}
void QAction___associatedGraphicsWidgets_setList(void* ptr, void* i)
{
static_cast<QList<QGraphicsWidget *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
}
void* QAction___associatedGraphicsWidgets_newList(void* ptr)
{
return new QList<QGraphicsWidget *>;
}
void* QAction___shortcuts_atList(void* ptr, int i)
{
return new QKeySequence(static_cast<QList<QKeySequence>*>(ptr)->at(i));
}
void QAction___shortcuts_setList(void* ptr, void* i)
{
static_cast<QList<QKeySequence>*>(ptr)->append(*static_cast<QKeySequence*>(i));
}
void* QAction___shortcuts_newList(void* ptr)
{
return new QList<QKeySequence>;
}
void* QAction___associatedWidgets_atList(void* ptr, int i)
{
return const_cast<QWidget*>(static_cast<QList<QWidget *>*>(ptr)->at(i));
}
void QAction___associatedWidgets_setList(void* ptr, void* i)
{
static_cast<QList<QWidget *>*>(ptr)->append(static_cast<QWidget*>(i));
}
void* QAction___associatedWidgets_newList(void* ptr)
{
return new QList<QWidget *>;
}
void* QAction___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QAction___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QAction___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QAction___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QAction___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QAction___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QAction___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QAction___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QAction___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QAction___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QAction___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QAction___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QAction___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QAction___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QAction___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QAction_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QWidgetAction*>(ptr)->QWidgetAction::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QWidgetAction*>(ptr)->QWidgetAction::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QWidgetAction*>(ptr)->QWidgetAction::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QWidgetAction*>(ptr)->QWidgetAction::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QWidgetAction*>(ptr)->QWidgetAction::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QAction*>(ptr)->QAction::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QAction*>(ptr)->QAction::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QAction*>(ptr)->QAction::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QAction*>(ptr)->QAction::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QAction*>(ptr)->QAction::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
}
void QAction_ChildEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
static_cast<QWidgetAction*>(ptr)->QWidgetAction::childEvent(static_cast<QChildEvent*>(event));
} else {
static_cast<QAction*>(ptr)->QAction::childEvent(static_cast<QChildEvent*>(event));
}
}
void QAction_ConnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
static_cast<QWidgetAction*>(ptr)->QWidgetAction::connectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QAction*>(ptr)->QAction::connectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QAction_CustomEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
static_cast<QWidgetAction*>(ptr)->QWidgetAction::customEvent(static_cast<QEvent*>(event));
} else {
static_cast<QAction*>(ptr)->QAction::customEvent(static_cast<QEvent*>(event));
}
}
void QAction_DeleteLaterDefault(void* ptr)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
static_cast<QWidgetAction*>(ptr)->QWidgetAction::deleteLater();
} else {
static_cast<QAction*>(ptr)->QAction::deleteLater();
}
}
void QAction_DisconnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
static_cast<QWidgetAction*>(ptr)->QWidgetAction::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QAction*>(ptr)->QAction::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QAction_TimerEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
static_cast<QWidgetAction*>(ptr)->QWidgetAction::timerEvent(static_cast<QTimerEvent*>(event));
} else {
static_cast<QAction*>(ptr)->QAction::timerEvent(static_cast<QTimerEvent*>(event));
}
}
void* QAction_MetaObjectDefault(void* ptr)
{
if (dynamic_cast<QWidgetAction*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QWidgetAction*>(ptr)->QWidgetAction::metaObject());
} else {
return const_cast<QMetaObject*>(static_cast<QAction*>(ptr)->QAction::metaObject());
}
}
class MyQActionGroup: public QActionGroup
{
public:
MyQActionGroup(QObject *parent) : QActionGroup(parent) {};
void Signal_Hovered(QAction * action) { callbackQActionGroup_Hovered(this, action); };
void setDisabled(bool b) { callbackQActionGroup_SetDisabled(this, b); };
void setEnabled(bool vbo) { callbackQActionGroup_SetEnabled(this, vbo); };
void setExclusive(bool vbo) { callbackQActionGroup_SetExclusive(this, vbo); };
void setVisible(bool vbo) { callbackQActionGroup_SetVisible(this, vbo); };
void Signal_Triggered(QAction * action) { callbackQActionGroup_Triggered(this, action); };
bool event(QEvent * e) { return callbackQActionGroup_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQActionGroup_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQActionGroup_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQActionGroup_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQActionGroup_CustomEvent(this, event); };
void deleteLater() { callbackQActionGroup_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQActionGroup_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQActionGroup_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQActionGroup_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQActionGroup_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQActionGroup_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QActionGroup_AddAction(void* ptr, void* action)
{
return static_cast<QActionGroup*>(ptr)->addAction(static_cast<QAction*>(action));
}
void* QActionGroup_AddAction3(void* ptr, void* icon, char* text)
{
return static_cast<QActionGroup*>(ptr)->addAction(*static_cast<QIcon*>(icon), QString(text));
}
void* QActionGroup_AddAction2(void* ptr, char* text)
{
return static_cast<QActionGroup*>(ptr)->addAction(QString(text));
}
void* QActionGroup_NewQActionGroup(void* parent)
{
return new MyQActionGroup(static_cast<QObject*>(parent));
}
void QActionGroup_ConnectHovered(void* ptr)
{
QObject::connect(static_cast<QActionGroup*>(ptr), static_cast<void (QActionGroup::*)(QAction *)>(&QActionGroup::hovered), static_cast<MyQActionGroup*>(ptr), static_cast<void (MyQActionGroup::*)(QAction *)>(&MyQActionGroup::Signal_Hovered));
}
void QActionGroup_DisconnectHovered(void* ptr)
{
QObject::disconnect(static_cast<QActionGroup*>(ptr), static_cast<void (QActionGroup::*)(QAction *)>(&QActionGroup::hovered), static_cast<MyQActionGroup*>(ptr), static_cast<void (MyQActionGroup::*)(QAction *)>(&MyQActionGroup::Signal_Hovered));
}
void QActionGroup_Hovered(void* ptr, void* action)
{
static_cast<QActionGroup*>(ptr)->hovered(static_cast<QAction*>(action));
}
void QActionGroup_RemoveAction(void* ptr, void* action)
{
static_cast<QActionGroup*>(ptr)->removeAction(static_cast<QAction*>(action));
}
void QActionGroup_SetDisabled(void* ptr, char b)
{
QMetaObject::invokeMethod(static_cast<QActionGroup*>(ptr), "setDisabled", Q_ARG(bool, b != 0));
}
void QActionGroup_SetDisabledDefault(void* ptr, char b)
{
static_cast<QActionGroup*>(ptr)->QActionGroup::setDisabled(b != 0);
}
void QActionGroup_SetEnabled(void* ptr, char vbo)
{
QMetaObject::invokeMethod(static_cast<QActionGroup*>(ptr), "setEnabled", Q_ARG(bool, vbo != 0));
}
void QActionGroup_SetEnabledDefault(void* ptr, char vbo)
{
static_cast<QActionGroup*>(ptr)->QActionGroup::setEnabled(vbo != 0);
}
void QActionGroup_SetExclusive(void* ptr, char vbo)
{
QMetaObject::invokeMethod(static_cast<QActionGroup*>(ptr), "setExclusive", Q_ARG(bool, vbo != 0));
}
void QActionGroup_SetExclusiveDefault(void* ptr, char vbo)
{
static_cast<QActionGroup*>(ptr)->QActionGroup::setExclusive(vbo != 0);
}
void QActionGroup_SetVisible(void* ptr, char vbo)
{
QMetaObject::invokeMethod(static_cast<QActionGroup*>(ptr), "setVisible", Q_ARG(bool, vbo != 0));
}
void QActionGroup_SetVisibleDefault(void* ptr, char vbo)
{
static_cast<QActionGroup*>(ptr)->QActionGroup::setVisible(vbo != 0);
}
void QActionGroup_ConnectTriggered(void* ptr)
{
QObject::connect(static_cast<QActionGroup*>(ptr), static_cast<void (QActionGroup::*)(QAction *)>(&QActionGroup::triggered), static_cast<MyQActionGroup*>(ptr), static_cast<void (MyQActionGroup::*)(QAction *)>(&MyQActionGroup::Signal_Triggered));
}
void QActionGroup_DisconnectTriggered(void* ptr)
{
QObject::disconnect(static_cast<QActionGroup*>(ptr), static_cast<void (QActionGroup::*)(QAction *)>(&QActionGroup::triggered), static_cast<MyQActionGroup*>(ptr), static_cast<void (MyQActionGroup::*)(QAction *)>(&MyQActionGroup::Signal_Triggered));
}
void QActionGroup_Triggered(void* ptr, void* action)
{
static_cast<QActionGroup*>(ptr)->triggered(static_cast<QAction*>(action));
}
void QActionGroup_DestroyQActionGroup(void* ptr)
{
static_cast<QActionGroup*>(ptr)->~QActionGroup();
}
void* QActionGroup_CheckedAction(void* ptr)
{
return static_cast<QActionGroup*>(ptr)->checkedAction();
}
struct QtWidgets_PackedList QActionGroup_Actions(void* ptr)
{
return ({ QList<QAction *>* tmpValue = new QList<QAction *>(static_cast<QActionGroup*>(ptr)->actions()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
char QActionGroup_IsEnabled(void* ptr)
{
return static_cast<QActionGroup*>(ptr)->isEnabled();
}
char QActionGroup_IsExclusive(void* ptr)
{
return static_cast<QActionGroup*>(ptr)->isExclusive();
}
char QActionGroup_IsVisible(void* ptr)
{
return static_cast<QActionGroup*>(ptr)->isVisible();
}
void* QActionGroup___actions_atList(void* ptr, int i)
{
return const_cast<QAction*>(static_cast<QList<QAction *>*>(ptr)->at(i));
}
void QActionGroup___actions_setList(void* ptr, void* i)
{
static_cast<QList<QAction *>*>(ptr)->append(static_cast<QAction*>(i));
}
void* QActionGroup___actions_newList(void* ptr)
{
return new QList<QAction *>;
}
void* QActionGroup___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QActionGroup___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QActionGroup___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QActionGroup___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QActionGroup___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QActionGroup___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QActionGroup___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QActionGroup___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QActionGroup___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QActionGroup___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QActionGroup___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QActionGroup___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QActionGroup___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QActionGroup___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QActionGroup___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QActionGroup_EventDefault(void* ptr, void* e)
{
return static_cast<QActionGroup*>(ptr)->QActionGroup::event(static_cast<QEvent*>(e));
}
char QActionGroup_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QActionGroup*>(ptr)->QActionGroup::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QActionGroup*>(ptr)->QActionGroup::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QActionGroup*>(ptr)->QActionGroup::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QActionGroup*>(ptr)->QActionGroup::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QActionGroup*>(ptr)->QActionGroup::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QActionGroup_ChildEventDefault(void* ptr, void* event)
{
static_cast<QActionGroup*>(ptr)->QActionGroup::childEvent(static_cast<QChildEvent*>(event));
}
void QActionGroup_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QActionGroup*>(ptr)->QActionGroup::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QActionGroup_CustomEventDefault(void* ptr, void* event)
{
static_cast<QActionGroup*>(ptr)->QActionGroup::customEvent(static_cast<QEvent*>(event));
}
void QActionGroup_DeleteLaterDefault(void* ptr)
{
static_cast<QActionGroup*>(ptr)->QActionGroup::deleteLater();
}
void QActionGroup_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QActionGroup*>(ptr)->QActionGroup::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QActionGroup_TimerEventDefault(void* ptr, void* event)
{
static_cast<QActionGroup*>(ptr)->QActionGroup::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QActionGroup_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QActionGroup*>(ptr)->QActionGroup::metaObject());
}
class MyQApplication: public QApplication
{
public:
MyQApplication(int &argc, char **argv) : QApplication(argc, argv) {};
bool event(QEvent * e) { return callbackQApplication_Event(this, e) != 0; };
void aboutQt() { callbackQApplication_AboutQt(this); };
void closeAllWindows() { callbackQApplication_CloseAllWindows(this); };
void Signal_FocusChanged(QWidget * old, QWidget * now) { callbackQApplication_FocusChanged(this, old, now); };
void setAutoSipEnabled(const bool enabled) { callbackQApplication_SetAutoSipEnabled(this, enabled); };
void setStyleSheet(const QString & sheet) { QByteArray t542ebc = sheet.toUtf8(); QtWidgets_PackedString sheetPacked = { const_cast<char*>(t542ebc.prepend("WHITESPACE").constData()+10), t542ebc.size()-10 };callbackQApplication_SetStyleSheet(this, sheetPacked); };
~MyQApplication() { callbackQApplication_DestroyQApplication(this); };
bool autoSipEnabled() const { return callbackQApplication_AutoSipEnabled(const_cast<void*>(static_cast<const void*>(this))) != 0; };
void Signal_ApplicationDisplayNameChanged() { callbackQApplication_ApplicationDisplayNameChanged(this); };
void Signal_ApplicationStateChanged(Qt::ApplicationState state) { callbackQApplication_ApplicationStateChanged(this, state); };
void Signal_CommitDataRequest(QSessionManager & manager) { callbackQApplication_CommitDataRequest(this, static_cast<QSessionManager*>(&manager)); };
void Signal_FocusObjectChanged(QObject * focusObject) { callbackQApplication_FocusObjectChanged(this, focusObject); };
void Signal_FocusWindowChanged(QWindow * focusWindow) { callbackQApplication_FocusWindowChanged(this, focusWindow); };
void Signal_FontDatabaseChanged() { callbackQApplication_FontDatabaseChanged(this); };
void Signal_LastWindowClosed() { callbackQApplication_LastWindowClosed(this); };
void Signal_LayoutDirectionChanged(Qt::LayoutDirection direction) { callbackQApplication_LayoutDirectionChanged(this, direction); };
void Signal_PaletteChanged(const QPalette & palette) { callbackQApplication_PaletteChanged(this, const_cast<QPalette*>(&palette)); };
void Signal_PrimaryScreenChanged(QScreen * screen) { callbackQApplication_PrimaryScreenChanged(this, screen); };
void Signal_SaveStateRequest(QSessionManager & manager) { callbackQApplication_SaveStateRequest(this, static_cast<QSessionManager*>(&manager)); };
void Signal_ScreenAdded(QScreen * screen) { callbackQApplication_ScreenAdded(this, screen); };
void Signal_ScreenRemoved(QScreen * screen) { callbackQApplication_ScreenRemoved(this, screen); };
void Signal_AboutToQuit() { callbackQApplication_AboutToQuit(this); };
void quit() { callbackQApplication_Quit(this); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQApplication_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQApplication_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQApplication_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQApplication_CustomEvent(this, event); };
void deleteLater() { callbackQApplication_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQApplication_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQApplication_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQApplication_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQApplication_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQApplication_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QApplication_NewQApplication(int argc, char* argv)
{
static int argcs = argc;
static char** argvs = static_cast<char**>(malloc(argcs * sizeof(char*)));
QList<QByteArray> aList = QByteArray(argv).split('|');
for (int i = 0; i < argcs; i++)
argvs[i] = (new QByteArray(aList.at(i)))->data();
return new MyQApplication(argcs, argvs);
}
void* QApplication_QApplication_Desktop()
{
return QApplication::desktop();
}
void* QApplication_QApplication_Font()
{
return new QFont(QApplication::font());
}
void* QApplication_QApplication_Font2(void* widget)
{
return new QFont(QApplication::font(static_cast<QWidget*>(widget)));
}
void* QApplication_QApplication_Font3(char* className)
{
return new QFont(QApplication::font(const_cast<const char*>(className)));
}
void* QApplication_QApplication_FontMetrics()
{
return new QFontMetrics(QApplication::fontMetrics());
}
void* QApplication_QApplication_WindowIcon()
{
return new QIcon(QApplication::windowIcon());
}
void* QApplication_QApplication_Palette(void* widget)
{
return new QPalette(QApplication::palette(static_cast<QWidget*>(widget)));
}
void* QApplication_QApplication_Palette2(char* className)
{
return new QPalette(QApplication::palette(const_cast<const char*>(className)));
}
void* QApplication_QApplication_GlobalStrut()
{
return ({ QSize tmpValue = QApplication::globalStrut(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QApplication_QApplication_SetStyle2(char* style)
{
return QApplication::setStyle(QString(style));
}
void* QApplication_QApplication_Style()
{
return QApplication::style();
}
void* QApplication_QApplication_ActiveModalWidget()
{
return QApplication::activeModalWidget();
}
void* QApplication_QApplication_ActivePopupWidget()
{
return QApplication::activePopupWidget();
}
void* QApplication_QApplication_ActiveWindow()
{
return QApplication::activeWindow();
}
void* QApplication_QApplication_FocusWidget()
{
return QApplication::focusWidget();
}
void* QApplication_QApplication_TopLevelAt(void* point)
{
return QApplication::topLevelAt(*static_cast<QPoint*>(point));
}
void* QApplication_QApplication_TopLevelAt2(int x, int y)
{
return QApplication::topLevelAt(x, y);
}
void* QApplication_QApplication_WidgetAt(void* point)
{
return QApplication::widgetAt(*static_cast<QPoint*>(point));
}
void* QApplication_QApplication_WidgetAt2(int x, int y)
{
return QApplication::widgetAt(x, y);
}
struct QtWidgets_PackedList QApplication_QApplication_AllWidgets()
{
return ({ QList<QWidget *>* tmpValue = new QList<QWidget *>(QApplication::allWidgets()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QApplication_QApplication_TopLevelWidgets()
{
return ({ QList<QWidget *>* tmpValue = new QList<QWidget *>(QApplication::topLevelWidgets()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
long long QApplication_QApplication_NavigationMode()
{
#ifdef QT_KEYPAD_NAVIGATION
return QApplication::navigationMode();
#else
return 0;
#endif
}
char QApplication_EventDefault(void* ptr, void* e)
{
return static_cast<QApplication*>(ptr)->QApplication::event(static_cast<QEvent*>(e));
}
char QApplication_QApplication_IsEffectEnabled(long long effect)
{
return QApplication::isEffectEnabled(static_cast<Qt::UIEffect>(effect));
}
int QApplication_QApplication_CursorFlashTime()
{
return QApplication::cursorFlashTime();
}
int QApplication_QApplication_DoubleClickInterval()
{
return QApplication::doubleClickInterval();
}
int QApplication_QApplication_Exec()
{
return QApplication::exec();
}
int QApplication_QApplication_KeyboardInputInterval()
{
return QApplication::keyboardInputInterval();
}
int QApplication_QApplication_StartDragDistance()
{
return QApplication::startDragDistance();
}
int QApplication_QApplication_StartDragTime()
{
return QApplication::startDragTime();
}
int QApplication_QApplication_WheelScrollLines()
{
return QApplication::wheelScrollLines();
}
void QApplication_AboutQt(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QApplication*>(ptr), "aboutQt");
}
void QApplication_AboutQtDefault(void* ptr)
{
static_cast<QApplication*>(ptr)->QApplication::aboutQt();
}
void QApplication_QApplication_Alert(void* widget, int msec)
{
QApplication::alert(static_cast<QWidget*>(widget), msec);
}
void QApplication_QApplication_Beep()
{
QApplication::beep();
}
void QApplication_CloseAllWindows(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QApplication*>(ptr), "closeAllWindows");
}
void QApplication_CloseAllWindowsDefault(void* ptr)
{
static_cast<QApplication*>(ptr)->QApplication::closeAllWindows();
}
void QApplication_ConnectFocusChanged(void* ptr)
{
QObject::connect(static_cast<QApplication*>(ptr), static_cast<void (QApplication::*)(QWidget *, QWidget *)>(&QApplication::focusChanged), static_cast<MyQApplication*>(ptr), static_cast<void (MyQApplication::*)(QWidget *, QWidget *)>(&MyQApplication::Signal_FocusChanged));
}
void QApplication_DisconnectFocusChanged(void* ptr)
{
QObject::disconnect(static_cast<QApplication*>(ptr), static_cast<void (QApplication::*)(QWidget *, QWidget *)>(&QApplication::focusChanged), static_cast<MyQApplication*>(ptr), static_cast<void (MyQApplication::*)(QWidget *, QWidget *)>(&MyQApplication::Signal_FocusChanged));
}
void QApplication_FocusChanged(void* ptr, void* old, void* now)
{
static_cast<QApplication*>(ptr)->focusChanged(static_cast<QWidget*>(old), static_cast<QWidget*>(now));
}
void QApplication_QApplication_SetActiveWindow(void* active)
{
QApplication::setActiveWindow(static_cast<QWidget*>(active));
}
void QApplication_SetAutoSipEnabled(void* ptr, char enabled)
{
QMetaObject::invokeMethod(static_cast<QApplication*>(ptr), "setAutoSipEnabled", Q_ARG(bool, enabled != 0));
}
void QApplication_SetAutoSipEnabledDefault(void* ptr, char enabled)
{
static_cast<QApplication*>(ptr)->QApplication::setAutoSipEnabled(enabled != 0);
}
void QApplication_QApplication_SetCursorFlashTime(int vin)
{
QApplication::setCursorFlashTime(vin);
}
void QApplication_QApplication_SetDoubleClickInterval(int vin)
{
QApplication::setDoubleClickInterval(vin);
}
void QApplication_QApplication_SetEffectEnabled(long long effect, char enable)
{
QApplication::setEffectEnabled(static_cast<Qt::UIEffect>(effect), enable != 0);
}
void QApplication_QApplication_SetFont(void* font, char* className)
{
QApplication::setFont(*static_cast<QFont*>(font), const_cast<const char*>(className));
}
void QApplication_QApplication_SetGlobalStrut(void* vqs)
{
QApplication::setGlobalStrut(*static_cast<QSize*>(vqs));
}
void QApplication_QApplication_SetKeyboardInputInterval(int vin)
{
QApplication::setKeyboardInputInterval(vin);
}
void QApplication_QApplication_SetNavigationMode(long long mode)
{
#ifdef QT_KEYPAD_NAVIGATION
QApplication::setNavigationMode(static_cast<Qt::NavigationMode>(mode));
#endif
}
void QApplication_QApplication_SetPalette(void* palette, char* className)
{
QApplication::setPalette(*static_cast<QPalette*>(palette), const_cast<const char*>(className));
}
void QApplication_QApplication_SetStartDragDistance(int l)
{
QApplication::setStartDragDistance(l);
}
void QApplication_QApplication_SetStartDragTime(int ms)
{
QApplication::setStartDragTime(ms);
}
void QApplication_QApplication_SetStyle(void* style)
{
QApplication::setStyle(static_cast<QStyle*>(style));
}
void QApplication_SetStyleSheet(void* ptr, char* sheet)
{
QMetaObject::invokeMethod(static_cast<QApplication*>(ptr), "setStyleSheet", Q_ARG(QString, QString(sheet)));
}
void QApplication_SetStyleSheetDefault(void* ptr, char* sheet)
{
static_cast<QApplication*>(ptr)->QApplication::setStyleSheet(QString(sheet));
}
void QApplication_QApplication_SetWheelScrollLines(int vin)
{
QApplication::setWheelScrollLines(vin);
}
void QApplication_QApplication_SetWindowIcon(void* icon)
{
QApplication::setWindowIcon(*static_cast<QIcon*>(icon));
}
void QApplication_DestroyQApplication(void* ptr)
{
static_cast<QApplication*>(ptr)->~QApplication();
}
void QApplication_DestroyQApplicationDefault(void* ptr)
{
}
struct QtWidgets_PackedString QApplication_StyleSheet(void* ptr)
{
return ({ QByteArray ta53b66 = static_cast<QApplication*>(ptr)->styleSheet().toUtf8(); QtWidgets_PackedString { const_cast<char*>(ta53b66.prepend("WHITESPACE").constData()+10), ta53b66.size()-10 }; });
}
char QApplication_AutoSipEnabled(void* ptr)
{
bool returnArg;
QMetaObject::invokeMethod(static_cast<QApplication*>(ptr), "autoSipEnabled", Q_RETURN_ARG(bool, returnArg));
return returnArg;
}
char QApplication_AutoSipEnabledDefault(void* ptr)
{
return static_cast<QApplication*>(ptr)->QApplication::autoSipEnabled();
}
void* QApplication___allWidgets_atList(void* ptr, int i)
{
return const_cast<QWidget*>(static_cast<QList<QWidget *>*>(ptr)->at(i));
}
void QApplication___allWidgets_setList(void* ptr, void* i)
{
static_cast<QList<QWidget *>*>(ptr)->append(static_cast<QWidget*>(i));
}
void* QApplication___allWidgets_newList(void* ptr)
{
return new QList<QWidget *>;
}
void* QApplication___topLevelWidgets_atList(void* ptr, int i)
{
return const_cast<QWidget*>(static_cast<QList<QWidget *>*>(ptr)->at(i));
}
void QApplication___topLevelWidgets_setList(void* ptr, void* i)
{
static_cast<QList<QWidget *>*>(ptr)->append(static_cast<QWidget*>(i));
}
void* QApplication___topLevelWidgets_newList(void* ptr)
{
return new QList<QWidget *>;
}
void* QApplication___screens_atList(void* ptr, int i)
{
return const_cast<QScreen*>(static_cast<QList<QScreen *>*>(ptr)->at(i));
}
void QApplication___screens_setList(void* ptr, void* i)
{
static_cast<QList<QScreen *>*>(ptr)->append(static_cast<QScreen*>(i));
}
void* QApplication___screens_newList(void* ptr)
{
return new QList<QScreen *>;
}
void* QApplication___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QApplication___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QApplication___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QApplication___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QApplication___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QApplication___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QApplication___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QApplication___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QApplication___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QApplication___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QApplication___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QApplication___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QApplication___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QApplication___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QApplication___children_newList(void* ptr)
{
return new QList<QObject *>;
}
void QApplication_QuitDefault(void* ptr)
{
static_cast<QApplication*>(ptr)->QApplication::quit();
}
char QApplication_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QApplication*>(ptr)->QApplication::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QApplication*>(ptr)->QApplication::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QApplication*>(ptr)->QApplication::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QApplication*>(ptr)->QApplication::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QApplication*>(ptr)->QApplication::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QApplication_ChildEventDefault(void* ptr, void* event)
{
static_cast<QApplication*>(ptr)->QApplication::childEvent(static_cast<QChildEvent*>(event));
}
void QApplication_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QApplication*>(ptr)->QApplication::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QApplication_CustomEventDefault(void* ptr, void* event)
{
static_cast<QApplication*>(ptr)->QApplication::customEvent(static_cast<QEvent*>(event));
}
void QApplication_DeleteLaterDefault(void* ptr)
{
static_cast<QApplication*>(ptr)->QApplication::deleteLater();
}
void QApplication_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QApplication*>(ptr)->QApplication::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QApplication_TimerEventDefault(void* ptr, void* event)
{
static_cast<QApplication*>(ptr)->QApplication::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QApplication_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QApplication*>(ptr)->QApplication::metaObject());
}
class MyQBoxLayout: public QBoxLayout
{
public:
MyQBoxLayout(Direction dir, QWidget *parent) : QBoxLayout(dir, parent) {};
QLayoutItem * takeAt(int index) { return static_cast<QLayoutItem*>(callbackQBoxLayout_TakeAt(this, index)); };
void addItem(QLayoutItem * item) { callbackQBoxLayout_AddItem(this, item); };
void invalidate() { callbackQLayoutItem_Invalidate(this); };
void setGeometry(const QRect & r) { callbackQLayout_SetGeometry(this, const_cast<QRect*>(&r)); };
QLayoutItem * itemAt(int index) const { return static_cast<QLayoutItem*>(callbackQBoxLayout_ItemAt(const_cast<void*>(static_cast<const void*>(this)), index)); };
QSize maximumSize() const { return *static_cast<QSize*>(callbackQLayout_MaximumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSize() const { return *static_cast<QSize*>(callbackQLayout_MinimumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQBoxLayout_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
Qt::Orientations expandingDirections() const { return static_cast<Qt::Orientation>(callbackQLayout_ExpandingDirections(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int count() const { return callbackQBoxLayout_Count(const_cast<void*>(static_cast<const void*>(this))); };
int heightForWidth(int w) const { return callbackQLayoutItem_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
QLayout * layout() { return static_cast<QLayout*>(callbackQLayoutItem_Layout(this)); };
void childEvent(QChildEvent * e) { callbackQLayout_ChildEvent(this, e); };
QRect geometry() const { return *static_cast<QRect*>(callbackQLayout_Geometry(const_cast<void*>(static_cast<const void*>(this)))); };
QSizePolicy::ControlTypes controlTypes() const { return static_cast<QSizePolicy::ControlType>(callbackQLayoutItem_ControlTypes(const_cast<void*>(static_cast<const void*>(this)))); };
bool isEmpty() const { return callbackQLayout_IsEmpty(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int indexOf(QWidget * widget) const { return callbackQLayout_IndexOf(const_cast<void*>(static_cast<const void*>(this)), widget); };
bool event(QEvent * e) { return callbackQLayout_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQLayout_EventFilter(this, watched, event) != 0; };
void connectNotify(const QMetaMethod & sign) { callbackQLayout_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQLayout_CustomEvent(this, event); };
void deleteLater() { callbackQLayout_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQLayout_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQLayout_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQLayout_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQLayout_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQLayout_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
QSpacerItem * spacerItem() { return static_cast<QSpacerItem*>(callbackQLayoutItem_SpacerItem(this)); };
QWidget * widget() { return static_cast<QWidget*>(callbackQLayoutItem_Widget(this)); };
};
void* QBoxLayout_NewQBoxLayout(long long dir, void* parent)
{
return new MyQBoxLayout(static_cast<QBoxLayout::Direction>(dir), static_cast<QWidget*>(parent));
}
void* QBoxLayout_TakeAt(void* ptr, int index)
{
return static_cast<QBoxLayout*>(ptr)->takeAt(index);
}
void* QBoxLayout_TakeAtDefault(void* ptr, int index)
{
if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::takeAt(index);
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::takeAt(index);
} else {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::takeAt(index);
}
}
char QBoxLayout_SetStretchFactor2(void* ptr, void* layout, int stretch)
{
return static_cast<QBoxLayout*>(ptr)->setStretchFactor(static_cast<QLayout*>(layout), stretch);
}
char QBoxLayout_SetStretchFactor(void* ptr, void* widget, int stretch)
{
return static_cast<QBoxLayout*>(ptr)->setStretchFactor(static_cast<QWidget*>(widget), stretch);
}
void QBoxLayout_AddItem(void* ptr, void* item)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(item))) {
static_cast<QBoxLayout*>(ptr)->addItem(static_cast<QLayout*>(item));
} else {
static_cast<QBoxLayout*>(ptr)->addItem(static_cast<QLayoutItem*>(item));
}
}
void QBoxLayout_AddItemDefault(void* ptr, void* item)
{
if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QLayout*>(static_cast<QObject*>(item))) {
static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::addItem(static_cast<QLayout*>(item));
} else {
static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::addItem(static_cast<QLayoutItem*>(item));
}
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QLayout*>(static_cast<QObject*>(item))) {
static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::addItem(static_cast<QLayout*>(item));
} else {
static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::addItem(static_cast<QLayoutItem*>(item));
}
} else {
if (dynamic_cast<QLayout*>(static_cast<QObject*>(item))) {
static_cast<QBoxLayout*>(ptr)->QBoxLayout::addItem(static_cast<QLayout*>(item));
} else {
static_cast<QBoxLayout*>(ptr)->QBoxLayout::addItem(static_cast<QLayoutItem*>(item));
}
}
}
void QBoxLayout_AddLayout(void* ptr, void* layout, int stretch)
{
static_cast<QBoxLayout*>(ptr)->addLayout(static_cast<QLayout*>(layout), stretch);
}
void QBoxLayout_AddSpacerItem(void* ptr, void* spacerItem)
{
static_cast<QBoxLayout*>(ptr)->addSpacerItem(static_cast<QSpacerItem*>(spacerItem));
}
void QBoxLayout_AddSpacing(void* ptr, int size)
{
static_cast<QBoxLayout*>(ptr)->addSpacing(size);
}
void QBoxLayout_AddStretch(void* ptr, int stretch)
{
static_cast<QBoxLayout*>(ptr)->addStretch(stretch);
}
void QBoxLayout_AddStrut(void* ptr, int size)
{
static_cast<QBoxLayout*>(ptr)->addStrut(size);
}
void QBoxLayout_AddWidget(void* ptr, void* widget, int stretch, long long alignment)
{
static_cast<QBoxLayout*>(ptr)->addWidget(static_cast<QWidget*>(widget), stretch, static_cast<Qt::AlignmentFlag>(alignment));
}
void QBoxLayout_InsertItem(void* ptr, int index, void* item)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(item))) {
static_cast<QBoxLayout*>(ptr)->insertItem(index, static_cast<QLayout*>(item));
} else {
static_cast<QBoxLayout*>(ptr)->insertItem(index, static_cast<QLayoutItem*>(item));
}
}
void QBoxLayout_InsertLayout(void* ptr, int index, void* layout, int stretch)
{
static_cast<QBoxLayout*>(ptr)->insertLayout(index, static_cast<QLayout*>(layout), stretch);
}
void QBoxLayout_InsertSpacerItem(void* ptr, int index, void* spacerItem)
{
static_cast<QBoxLayout*>(ptr)->insertSpacerItem(index, static_cast<QSpacerItem*>(spacerItem));
}
void QBoxLayout_InsertSpacing(void* ptr, int index, int size)
{
static_cast<QBoxLayout*>(ptr)->insertSpacing(index, size);
}
void QBoxLayout_InsertStretch(void* ptr, int index, int stretch)
{
static_cast<QBoxLayout*>(ptr)->insertStretch(index, stretch);
}
void QBoxLayout_InsertWidget(void* ptr, int index, void* widget, int stretch, long long alignment)
{
static_cast<QBoxLayout*>(ptr)->insertWidget(index, static_cast<QWidget*>(widget), stretch, static_cast<Qt::AlignmentFlag>(alignment));
}
void QBoxLayout_SetDirection(void* ptr, long long direction)
{
static_cast<QBoxLayout*>(ptr)->setDirection(static_cast<QBoxLayout::Direction>(direction));
}
void QBoxLayout_SetStretch(void* ptr, int index, int stretch)
{
static_cast<QBoxLayout*>(ptr)->setStretch(index, stretch);
}
void QBoxLayout_DestroyQBoxLayout(void* ptr)
{
static_cast<QBoxLayout*>(ptr)->~QBoxLayout();
}
long long QBoxLayout_Direction(void* ptr)
{
return static_cast<QBoxLayout*>(ptr)->direction();
}
void* QBoxLayout_ItemAt(void* ptr, int index)
{
return static_cast<QBoxLayout*>(ptr)->itemAt(index);
}
void* QBoxLayout_ItemAtDefault(void* ptr, int index)
{
if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::itemAt(index);
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::itemAt(index);
} else {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::itemAt(index);
}
}
void* QBoxLayout_SizeHint(void* ptr)
{
return ({ QSize tmpValue = static_cast<QBoxLayout*>(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QBoxLayout_SizeHintDefault(void* ptr)
{
if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSize tmpValue = static_cast<QBoxLayout*>(ptr)->QBoxLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
}
int QBoxLayout_Count(void* ptr)
{
return static_cast<QBoxLayout*>(ptr)->count();
}
int QBoxLayout_CountDefault(void* ptr)
{
if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::count();
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::count();
} else {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::count();
}
}
int QBoxLayout_Stretch(void* ptr, int index)
{
return static_cast<QBoxLayout*>(ptr)->stretch(index);
}
class MyQButtonGroup: public QButtonGroup
{
public:
MyQButtonGroup(QObject *parent) : QButtonGroup(parent) {};
void Signal_ButtonClicked(QAbstractButton * button) { callbackQButtonGroup_ButtonClicked(this, button); };
void Signal_ButtonClicked2(int id) { callbackQButtonGroup_ButtonClicked2(this, id); };
void Signal_ButtonPressed(QAbstractButton * button) { callbackQButtonGroup_ButtonPressed(this, button); };
void Signal_ButtonPressed2(int id) { callbackQButtonGroup_ButtonPressed2(this, id); };
void Signal_ButtonReleased(QAbstractButton * button) { callbackQButtonGroup_ButtonReleased(this, button); };
void Signal_ButtonReleased2(int id) { callbackQButtonGroup_ButtonReleased2(this, id); };
void Signal_ButtonToggled(QAbstractButton * button, bool checked) { callbackQButtonGroup_ButtonToggled(this, button, checked); };
void Signal_ButtonToggled2(int id, bool checked) { callbackQButtonGroup_ButtonToggled2(this, id, checked); };
bool event(QEvent * e) { return callbackQButtonGroup_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQButtonGroup_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQButtonGroup_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQButtonGroup_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQButtonGroup_CustomEvent(this, event); };
void deleteLater() { callbackQButtonGroup_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQButtonGroup_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQButtonGroup_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQButtonGroup_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQButtonGroup_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQButtonGroup_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QButtonGroup_NewQButtonGroup(void* parent)
{
return new MyQButtonGroup(static_cast<QObject*>(parent));
}
void QButtonGroup_AddButton(void* ptr, void* button, int id)
{
static_cast<QButtonGroup*>(ptr)->addButton(static_cast<QAbstractButton*>(button), id);
}
void QButtonGroup_ConnectButtonClicked(void* ptr)
{
QObject::connect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonClicked), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(QAbstractButton *)>(&MyQButtonGroup::Signal_ButtonClicked));
}
void QButtonGroup_DisconnectButtonClicked(void* ptr)
{
QObject::disconnect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonClicked), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(QAbstractButton *)>(&MyQButtonGroup::Signal_ButtonClicked));
}
void QButtonGroup_ButtonClicked(void* ptr, void* button)
{
static_cast<QButtonGroup*>(ptr)->buttonClicked(static_cast<QAbstractButton*>(button));
}
void QButtonGroup_ConnectButtonClicked2(void* ptr)
{
QObject::connect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(int)>(&QButtonGroup::buttonClicked), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(int)>(&MyQButtonGroup::Signal_ButtonClicked2));
}
void QButtonGroup_DisconnectButtonClicked2(void* ptr)
{
QObject::disconnect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(int)>(&QButtonGroup::buttonClicked), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(int)>(&MyQButtonGroup::Signal_ButtonClicked2));
}
void QButtonGroup_ButtonClicked2(void* ptr, int id)
{
static_cast<QButtonGroup*>(ptr)->buttonClicked(id);
}
void QButtonGroup_ConnectButtonPressed(void* ptr)
{
QObject::connect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonPressed), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(QAbstractButton *)>(&MyQButtonGroup::Signal_ButtonPressed));
}
void QButtonGroup_DisconnectButtonPressed(void* ptr)
{
QObject::disconnect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonPressed), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(QAbstractButton *)>(&MyQButtonGroup::Signal_ButtonPressed));
}
void QButtonGroup_ButtonPressed(void* ptr, void* button)
{
static_cast<QButtonGroup*>(ptr)->buttonPressed(static_cast<QAbstractButton*>(button));
}
void QButtonGroup_ConnectButtonPressed2(void* ptr)
{
QObject::connect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(int)>(&QButtonGroup::buttonPressed), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(int)>(&MyQButtonGroup::Signal_ButtonPressed2));
}
void QButtonGroup_DisconnectButtonPressed2(void* ptr)
{
QObject::disconnect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(int)>(&QButtonGroup::buttonPressed), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(int)>(&MyQButtonGroup::Signal_ButtonPressed2));
}
void QButtonGroup_ButtonPressed2(void* ptr, int id)
{
static_cast<QButtonGroup*>(ptr)->buttonPressed(id);
}
void QButtonGroup_ConnectButtonReleased(void* ptr)
{
QObject::connect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonReleased), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(QAbstractButton *)>(&MyQButtonGroup::Signal_ButtonReleased));
}
void QButtonGroup_DisconnectButtonReleased(void* ptr)
{
QObject::disconnect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonReleased), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(QAbstractButton *)>(&MyQButtonGroup::Signal_ButtonReleased));
}
void QButtonGroup_ButtonReleased(void* ptr, void* button)
{
static_cast<QButtonGroup*>(ptr)->buttonReleased(static_cast<QAbstractButton*>(button));
}
void QButtonGroup_ConnectButtonReleased2(void* ptr)
{
QObject::connect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(int)>(&QButtonGroup::buttonReleased), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(int)>(&MyQButtonGroup::Signal_ButtonReleased2));
}
void QButtonGroup_DisconnectButtonReleased2(void* ptr)
{
QObject::disconnect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(int)>(&QButtonGroup::buttonReleased), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(int)>(&MyQButtonGroup::Signal_ButtonReleased2));
}
void QButtonGroup_ButtonReleased2(void* ptr, int id)
{
static_cast<QButtonGroup*>(ptr)->buttonReleased(id);
}
void QButtonGroup_ConnectButtonToggled(void* ptr)
{
QObject::connect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(QAbstractButton *, bool)>(&QButtonGroup::buttonToggled), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(QAbstractButton *, bool)>(&MyQButtonGroup::Signal_ButtonToggled));
}
void QButtonGroup_DisconnectButtonToggled(void* ptr)
{
QObject::disconnect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(QAbstractButton *, bool)>(&QButtonGroup::buttonToggled), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(QAbstractButton *, bool)>(&MyQButtonGroup::Signal_ButtonToggled));
}
void QButtonGroup_ButtonToggled(void* ptr, void* button, char checked)
{
static_cast<QButtonGroup*>(ptr)->buttonToggled(static_cast<QAbstractButton*>(button), checked != 0);
}
void QButtonGroup_ConnectButtonToggled2(void* ptr)
{
QObject::connect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(int, bool)>(&QButtonGroup::buttonToggled), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(int, bool)>(&MyQButtonGroup::Signal_ButtonToggled2));
}
void QButtonGroup_DisconnectButtonToggled2(void* ptr)
{
QObject::disconnect(static_cast<QButtonGroup*>(ptr), static_cast<void (QButtonGroup::*)(int, bool)>(&QButtonGroup::buttonToggled), static_cast<MyQButtonGroup*>(ptr), static_cast<void (MyQButtonGroup::*)(int, bool)>(&MyQButtonGroup::Signal_ButtonToggled2));
}
void QButtonGroup_ButtonToggled2(void* ptr, int id, char checked)
{
static_cast<QButtonGroup*>(ptr)->buttonToggled(id, checked != 0);
}
void QButtonGroup_RemoveButton(void* ptr, void* button)
{
static_cast<QButtonGroup*>(ptr)->removeButton(static_cast<QAbstractButton*>(button));
}
void QButtonGroup_SetExclusive(void* ptr, char vbo)
{
static_cast<QButtonGroup*>(ptr)->setExclusive(vbo != 0);
}
void QButtonGroup_SetId(void* ptr, void* button, int id)
{
static_cast<QButtonGroup*>(ptr)->setId(static_cast<QAbstractButton*>(button), id);
}
void QButtonGroup_DestroyQButtonGroup(void* ptr)
{
static_cast<QButtonGroup*>(ptr)->~QButtonGroup();
}
void* QButtonGroup_Button(void* ptr, int id)
{
return static_cast<QButtonGroup*>(ptr)->button(id);
}
void* QButtonGroup_CheckedButton(void* ptr)
{
return static_cast<QButtonGroup*>(ptr)->checkedButton();
}
struct QtWidgets_PackedList QButtonGroup_Buttons(void* ptr)
{
return ({ QList<QAbstractButton *>* tmpValue = new QList<QAbstractButton *>(static_cast<QButtonGroup*>(ptr)->buttons()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
char QButtonGroup_Exclusive(void* ptr)
{
return static_cast<QButtonGroup*>(ptr)->exclusive();
}
int QButtonGroup_CheckedId(void* ptr)
{
return static_cast<QButtonGroup*>(ptr)->checkedId();
}
int QButtonGroup_Id(void* ptr, void* button)
{
return static_cast<QButtonGroup*>(ptr)->id(static_cast<QAbstractButton*>(button));
}
void* QButtonGroup___buttons_atList(void* ptr, int i)
{
return const_cast<QAbstractButton*>(static_cast<QList<QAbstractButton *>*>(ptr)->at(i));
}
void QButtonGroup___buttons_setList(void* ptr, void* i)
{
static_cast<QList<QAbstractButton *>*>(ptr)->append(static_cast<QAbstractButton*>(i));
}
void* QButtonGroup___buttons_newList(void* ptr)
{
return new QList<QAbstractButton *>;
}
void* QButtonGroup___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QButtonGroup___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QButtonGroup___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QButtonGroup___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QButtonGroup___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QButtonGroup___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QButtonGroup___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QButtonGroup___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QButtonGroup___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QButtonGroup___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QButtonGroup___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QButtonGroup___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QButtonGroup___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QButtonGroup___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QButtonGroup___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QButtonGroup_EventDefault(void* ptr, void* e)
{
return static_cast<QButtonGroup*>(ptr)->QButtonGroup::event(static_cast<QEvent*>(e));
}
char QButtonGroup_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QButtonGroup*>(ptr)->QButtonGroup::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QButtonGroup*>(ptr)->QButtonGroup::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QButtonGroup*>(ptr)->QButtonGroup::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QButtonGroup*>(ptr)->QButtonGroup::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QButtonGroup*>(ptr)->QButtonGroup::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QButtonGroup_ChildEventDefault(void* ptr, void* event)
{
static_cast<QButtonGroup*>(ptr)->QButtonGroup::childEvent(static_cast<QChildEvent*>(event));
}
void QButtonGroup_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QButtonGroup*>(ptr)->QButtonGroup::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QButtonGroup_CustomEventDefault(void* ptr, void* event)
{
static_cast<QButtonGroup*>(ptr)->QButtonGroup::customEvent(static_cast<QEvent*>(event));
}
void QButtonGroup_DeleteLaterDefault(void* ptr)
{
static_cast<QButtonGroup*>(ptr)->QButtonGroup::deleteLater();
}
void QButtonGroup_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QButtonGroup*>(ptr)->QButtonGroup::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QButtonGroup_TimerEventDefault(void* ptr, void* event)
{
static_cast<QButtonGroup*>(ptr)->QButtonGroup::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QButtonGroup_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QButtonGroup*>(ptr)->QButtonGroup::metaObject());
}
class MyQCalendarWidget: public QCalendarWidget
{
public:
MyQCalendarWidget(QWidget *parent) : QCalendarWidget(parent) {};
void Signal_Activated(const QDate & date) { callbackQCalendarWidget_Activated(this, const_cast<QDate*>(&date)); };
void Signal_Clicked(const QDate & date) { callbackQCalendarWidget_Clicked(this, const_cast<QDate*>(&date)); };
void Signal_CurrentPageChanged(int year, int month) { callbackQCalendarWidget_CurrentPageChanged(this, year, month); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void Signal_SelectionChanged() { callbackQCalendarWidget_SelectionChanged(this); };
void setCurrentPage(int year, int month) { callbackQCalendarWidget_SetCurrentPage(this, year, month); };
void setDateRange(const QDate & min, const QDate & max) { callbackQCalendarWidget_SetDateRange(this, const_cast<QDate*>(&min), const_cast<QDate*>(&max)); };
void setGridVisible(bool show) { callbackQCalendarWidget_SetGridVisible(this, show); };
void setNavigationBarVisible(bool visible) { callbackQCalendarWidget_SetNavigationBarVisible(this, visible); };
void setSelectedDate(const QDate & date) { callbackQCalendarWidget_SetSelectedDate(this, const_cast<QDate*>(&date)); };
void showNextMonth() { callbackQCalendarWidget_ShowNextMonth(this); };
void showNextYear() { callbackQCalendarWidget_ShowNextYear(this); };
void showPreviousMonth() { callbackQCalendarWidget_ShowPreviousMonth(this); };
void showPreviousYear() { callbackQCalendarWidget_ShowPreviousYear(this); };
void showSelectedDate() { callbackQCalendarWidget_ShowSelectedDate(this); };
void showToday() { callbackQCalendarWidget_ShowToday(this); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void paintCell(QPainter * painter, const QRect & rect, const QDate & date) const { callbackQCalendarWidget_PaintCell(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QRect*>(&rect), const_cast<QDate*>(&date)); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QCalendarWidget_NewQCalendarWidget(void* parent)
{
return new MyQCalendarWidget(static_cast<QWidget*>(parent));
}
void QCalendarWidget_ConnectActivated(void* ptr)
{
QObject::connect(static_cast<QCalendarWidget*>(ptr), static_cast<void (QCalendarWidget::*)(const QDate &)>(&QCalendarWidget::activated), static_cast<MyQCalendarWidget*>(ptr), static_cast<void (MyQCalendarWidget::*)(const QDate &)>(&MyQCalendarWidget::Signal_Activated));
}
void QCalendarWidget_DisconnectActivated(void* ptr)
{
QObject::disconnect(static_cast<QCalendarWidget*>(ptr), static_cast<void (QCalendarWidget::*)(const QDate &)>(&QCalendarWidget::activated), static_cast<MyQCalendarWidget*>(ptr), static_cast<void (MyQCalendarWidget::*)(const QDate &)>(&MyQCalendarWidget::Signal_Activated));
}
void QCalendarWidget_Activated(void* ptr, void* date)
{
static_cast<QCalendarWidget*>(ptr)->activated(*static_cast<QDate*>(date));
}
void QCalendarWidget_ConnectClicked(void* ptr)
{
QObject::connect(static_cast<QCalendarWidget*>(ptr), static_cast<void (QCalendarWidget::*)(const QDate &)>(&QCalendarWidget::clicked), static_cast<MyQCalendarWidget*>(ptr), static_cast<void (MyQCalendarWidget::*)(const QDate &)>(&MyQCalendarWidget::Signal_Clicked));
}
void QCalendarWidget_DisconnectClicked(void* ptr)
{
QObject::disconnect(static_cast<QCalendarWidget*>(ptr), static_cast<void (QCalendarWidget::*)(const QDate &)>(&QCalendarWidget::clicked), static_cast<MyQCalendarWidget*>(ptr), static_cast<void (MyQCalendarWidget::*)(const QDate &)>(&MyQCalendarWidget::Signal_Clicked));
}
void QCalendarWidget_Clicked(void* ptr, void* date)
{
static_cast<QCalendarWidget*>(ptr)->clicked(*static_cast<QDate*>(date));
}
void QCalendarWidget_ConnectCurrentPageChanged(void* ptr)
{
QObject::connect(static_cast<QCalendarWidget*>(ptr), static_cast<void (QCalendarWidget::*)(int, int)>(&QCalendarWidget::currentPageChanged), static_cast<MyQCalendarWidget*>(ptr), static_cast<void (MyQCalendarWidget::*)(int, int)>(&MyQCalendarWidget::Signal_CurrentPageChanged));
}
void QCalendarWidget_DisconnectCurrentPageChanged(void* ptr)
{
QObject::disconnect(static_cast<QCalendarWidget*>(ptr), static_cast<void (QCalendarWidget::*)(int, int)>(&QCalendarWidget::currentPageChanged), static_cast<MyQCalendarWidget*>(ptr), static_cast<void (MyQCalendarWidget::*)(int, int)>(&MyQCalendarWidget::Signal_CurrentPageChanged));
}
void QCalendarWidget_CurrentPageChanged(void* ptr, int year, int month)
{
static_cast<QCalendarWidget*>(ptr)->currentPageChanged(year, month);
}
void QCalendarWidget_ConnectSelectionChanged(void* ptr)
{
QObject::connect(static_cast<QCalendarWidget*>(ptr), static_cast<void (QCalendarWidget::*)()>(&QCalendarWidget::selectionChanged), static_cast<MyQCalendarWidget*>(ptr), static_cast<void (MyQCalendarWidget::*)()>(&MyQCalendarWidget::Signal_SelectionChanged));
}
void QCalendarWidget_DisconnectSelectionChanged(void* ptr)
{
QObject::disconnect(static_cast<QCalendarWidget*>(ptr), static_cast<void (QCalendarWidget::*)()>(&QCalendarWidget::selectionChanged), static_cast<MyQCalendarWidget*>(ptr), static_cast<void (MyQCalendarWidget::*)()>(&MyQCalendarWidget::Signal_SelectionChanged));
}
void QCalendarWidget_SelectionChanged(void* ptr)
{
static_cast<QCalendarWidget*>(ptr)->selectionChanged();
}
void QCalendarWidget_SetCurrentPage(void* ptr, int year, int month)
{
QMetaObject::invokeMethod(static_cast<QCalendarWidget*>(ptr), "setCurrentPage", Q_ARG(int, year), Q_ARG(int, month));
}
void QCalendarWidget_SetCurrentPageDefault(void* ptr, int year, int month)
{
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::setCurrentPage(year, month);
}
void QCalendarWidget_SetDateEditAcceptDelay(void* ptr, int delay)
{
static_cast<QCalendarWidget*>(ptr)->setDateEditAcceptDelay(delay);
}
void QCalendarWidget_SetDateEditEnabled(void* ptr, char enable)
{
static_cast<QCalendarWidget*>(ptr)->setDateEditEnabled(enable != 0);
}
void QCalendarWidget_SetDateRange(void* ptr, void* min, void* max)
{
QMetaObject::invokeMethod(static_cast<QCalendarWidget*>(ptr), "setDateRange", Q_ARG(QDate, *static_cast<QDate*>(min)), Q_ARG(QDate, *static_cast<QDate*>(max)));
}
void QCalendarWidget_SetDateRangeDefault(void* ptr, void* min, void* max)
{
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::setDateRange(*static_cast<QDate*>(min), *static_cast<QDate*>(max));
}
void QCalendarWidget_SetDateTextFormat(void* ptr, void* date, void* format)
{
static_cast<QCalendarWidget*>(ptr)->setDateTextFormat(*static_cast<QDate*>(date), *static_cast<QTextCharFormat*>(format));
}
void QCalendarWidget_SetFirstDayOfWeek(void* ptr, long long dayOfWeek)
{
static_cast<QCalendarWidget*>(ptr)->setFirstDayOfWeek(static_cast<Qt::DayOfWeek>(dayOfWeek));
}
void QCalendarWidget_SetGridVisible(void* ptr, char show)
{
QMetaObject::invokeMethod(static_cast<QCalendarWidget*>(ptr), "setGridVisible", Q_ARG(bool, show != 0));
}
void QCalendarWidget_SetGridVisibleDefault(void* ptr, char show)
{
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::setGridVisible(show != 0);
}
void QCalendarWidget_SetHeaderTextFormat(void* ptr, void* format)
{
static_cast<QCalendarWidget*>(ptr)->setHeaderTextFormat(*static_cast<QTextCharFormat*>(format));
}
void QCalendarWidget_SetHorizontalHeaderFormat(void* ptr, long long format)
{
static_cast<QCalendarWidget*>(ptr)->setHorizontalHeaderFormat(static_cast<QCalendarWidget::HorizontalHeaderFormat>(format));
}
void QCalendarWidget_SetMaximumDate(void* ptr, void* date)
{
static_cast<QCalendarWidget*>(ptr)->setMaximumDate(*static_cast<QDate*>(date));
}
void QCalendarWidget_SetMinimumDate(void* ptr, void* date)
{
static_cast<QCalendarWidget*>(ptr)->setMinimumDate(*static_cast<QDate*>(date));
}
void QCalendarWidget_SetNavigationBarVisible(void* ptr, char visible)
{
QMetaObject::invokeMethod(static_cast<QCalendarWidget*>(ptr), "setNavigationBarVisible", Q_ARG(bool, visible != 0));
}
void QCalendarWidget_SetNavigationBarVisibleDefault(void* ptr, char visible)
{
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::setNavigationBarVisible(visible != 0);
}
void QCalendarWidget_SetSelectedDate(void* ptr, void* date)
{
QMetaObject::invokeMethod(static_cast<QCalendarWidget*>(ptr), "setSelectedDate", Q_ARG(QDate, *static_cast<QDate*>(date)));
}
void QCalendarWidget_SetSelectedDateDefault(void* ptr, void* date)
{
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::setSelectedDate(*static_cast<QDate*>(date));
}
void QCalendarWidget_SetSelectionMode(void* ptr, long long mode)
{
static_cast<QCalendarWidget*>(ptr)->setSelectionMode(static_cast<QCalendarWidget::SelectionMode>(mode));
}
void QCalendarWidget_SetVerticalHeaderFormat(void* ptr, long long format)
{
static_cast<QCalendarWidget*>(ptr)->setVerticalHeaderFormat(static_cast<QCalendarWidget::VerticalHeaderFormat>(format));
}
long long QCalendarWidget_HorizontalHeaderFormat(void* ptr)
{
return static_cast<QCalendarWidget*>(ptr)->horizontalHeaderFormat();
}
void* QCalendarWidget_MaximumDate(void* ptr)
{
return new QDate(static_cast<QCalendarWidget*>(ptr)->maximumDate());
}
void* QCalendarWidget_MinimumDate(void* ptr)
{
return new QDate(static_cast<QCalendarWidget*>(ptr)->minimumDate());
}
void* QCalendarWidget_SelectedDate(void* ptr)
{
return new QDate(static_cast<QCalendarWidget*>(ptr)->selectedDate());
}
long long QCalendarWidget_FirstDayOfWeek(void* ptr)
{
return static_cast<QCalendarWidget*>(ptr)->firstDayOfWeek();
}
long long QCalendarWidget_SelectionMode(void* ptr)
{
return static_cast<QCalendarWidget*>(ptr)->selectionMode();
}
long long QCalendarWidget_VerticalHeaderFormat(void* ptr)
{
return static_cast<QCalendarWidget*>(ptr)->verticalHeaderFormat();
}
char QCalendarWidget_IsDateEditEnabled(void* ptr)
{
return static_cast<QCalendarWidget*>(ptr)->isDateEditEnabled();
}
char QCalendarWidget_IsGridVisible(void* ptr)
{
return static_cast<QCalendarWidget*>(ptr)->isGridVisible();
}
char QCalendarWidget_IsNavigationBarVisible(void* ptr)
{
return static_cast<QCalendarWidget*>(ptr)->isNavigationBarVisible();
}
int QCalendarWidget_DateEditAcceptDelay(void* ptr)
{
return static_cast<QCalendarWidget*>(ptr)->dateEditAcceptDelay();
}
void QCalendarWidget_SetWeekdayTextFormat(void* ptr, long long dayOfWeek, void* format)
{
static_cast<QCalendarWidget*>(ptr)->setWeekdayTextFormat(static_cast<Qt::DayOfWeek>(dayOfWeek), *static_cast<QTextCharFormat*>(format));
}
void QCalendarWidget_ShowNextMonth(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QCalendarWidget*>(ptr), "showNextMonth");
}
void QCalendarWidget_ShowNextMonthDefault(void* ptr)
{
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::showNextMonth();
}
void QCalendarWidget_ShowNextYear(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QCalendarWidget*>(ptr), "showNextYear");
}
void QCalendarWidget_ShowNextYearDefault(void* ptr)
{
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::showNextYear();
}
void QCalendarWidget_ShowPreviousMonth(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QCalendarWidget*>(ptr), "showPreviousMonth");
}
void QCalendarWidget_ShowPreviousMonthDefault(void* ptr)
{
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::showPreviousMonth();
}
void QCalendarWidget_ShowPreviousYear(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QCalendarWidget*>(ptr), "showPreviousYear");
}
void QCalendarWidget_ShowPreviousYearDefault(void* ptr)
{
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::showPreviousYear();
}
void QCalendarWidget_ShowSelectedDate(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QCalendarWidget*>(ptr), "showSelectedDate");
}
void QCalendarWidget_ShowSelectedDateDefault(void* ptr)
{
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::showSelectedDate();
}
void QCalendarWidget_ShowToday(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QCalendarWidget*>(ptr), "showToday");
}
void QCalendarWidget_ShowTodayDefault(void* ptr)
{
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::showToday();
}
void QCalendarWidget_UpdateCell(void* ptr, void* date)
{
static_cast<QCalendarWidget*>(ptr)->updateCell(*static_cast<QDate*>(date));
}
void QCalendarWidget_UpdateCells(void* ptr)
{
static_cast<QCalendarWidget*>(ptr)->updateCells();
}
void QCalendarWidget_DestroyQCalendarWidget(void* ptr)
{
static_cast<QCalendarWidget*>(ptr)->~QCalendarWidget();
}
struct QtWidgets_PackedList QCalendarWidget_DateTextFormat(void* ptr)
{
return ({ QMap<QDate, QTextCharFormat>* tmpValue = new QMap<QDate, QTextCharFormat>(static_cast<QCalendarWidget*>(ptr)->dateTextFormat()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QCalendarWidget_DateTextFormat2(void* ptr, void* date)
{
return new QTextCharFormat(static_cast<QCalendarWidget*>(ptr)->dateTextFormat(*static_cast<QDate*>(date)));
}
void* QCalendarWidget_HeaderTextFormat(void* ptr)
{
return new QTextCharFormat(static_cast<QCalendarWidget*>(ptr)->headerTextFormat());
}
void* QCalendarWidget_WeekdayTextFormat(void* ptr, long long dayOfWeek)
{
return new QTextCharFormat(static_cast<QCalendarWidget*>(ptr)->weekdayTextFormat(static_cast<Qt::DayOfWeek>(dayOfWeek)));
}
int QCalendarWidget_MonthShown(void* ptr)
{
return static_cast<QCalendarWidget*>(ptr)->monthShown();
}
int QCalendarWidget_YearShown(void* ptr)
{
return static_cast<QCalendarWidget*>(ptr)->yearShown();
}
void QCalendarWidget_PaintCell(void* ptr, void* painter, void* rect, void* date)
{
static_cast<QCalendarWidget*>(ptr)->paintCell(static_cast<QPainter*>(painter), *static_cast<QRect*>(rect), *static_cast<QDate*>(date));
}
void QCalendarWidget_PaintCellDefault(void* ptr, void* painter, void* rect, void* date)
{
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::paintCell(static_cast<QPainter*>(painter), *static_cast<QRect*>(rect), *static_cast<QDate*>(date));
}
void* QCalendarWidget___dateTextFormat_atList(void* ptr, void* i)
{
return new QTextCharFormat(static_cast<QMap<QDate, QTextCharFormat>*>(ptr)->value(*static_cast<QDate*>(i)));
}
void QCalendarWidget___dateTextFormat_setList(void* ptr, void* key, void* i)
{
static_cast<QMap<QDate, QTextCharFormat>*>(ptr)->insert(*static_cast<QDate*>(key), *static_cast<QTextCharFormat*>(i));
}
void* QCalendarWidget___dateTextFormat_newList(void* ptr)
{
return new QMap<QDate, QTextCharFormat>;
}
struct QtWidgets_PackedList QCalendarWidget___dateTextFormat_keyList(void* ptr)
{
return ({ QList<QDate>* tmpValue = new QList<QDate>(static_cast<QMap<QDate, QTextCharFormat>*>(ptr)->keys()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QCalendarWidget_____dateTextFormat_keyList_atList(void* ptr, int i)
{
return new QDate(static_cast<QList<QDate>*>(ptr)->at(i));
}
void QCalendarWidget_____dateTextFormat_keyList_setList(void* ptr, void* i)
{
static_cast<QList<QDate>*>(ptr)->append(*static_cast<QDate*>(i));
}
void* QCalendarWidget_____dateTextFormat_keyList_newList(void* ptr)
{
return new QList<QDate>;
}
class MyQCheckBox: public QCheckBox
{
public:
MyQCheckBox(QWidget *parent) : QCheckBox(parent) {};
MyQCheckBox(const QString &text, QWidget *parent) : QCheckBox(text, parent) {};
void checkStateSet() { callbackQAbstractButton_CheckStateSet(this); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void nextCheckState() { callbackQAbstractButton_NextCheckState(this); };
void paintEvent(QPaintEvent * vqp) { callbackQCheckBox_PaintEvent(this, vqp); };
void Signal_StateChanged(int state) { callbackQCheckBox_StateChanged(this, state); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool hitButton(const QPoint & pos) const { return callbackQAbstractButton_HitButton(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&pos)) != 0; };
void animateClick(int msec) { callbackQAbstractButton_AnimateClick(this, msec); };
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void click() { callbackQAbstractButton_Click(this); };
void Signal_Clicked(bool checked) { callbackQAbstractButton_Clicked(this, checked); };
void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); };
void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void Signal_Pressed() { callbackQAbstractButton_Pressed(this); };
void Signal_Released() { callbackQAbstractButton_Released(this); };
void setChecked(bool vbo) { callbackQAbstractButton_SetChecked(this, vbo); };
void setIconSize(const QSize & size) { callbackQAbstractButton_SetIconSize(this, const_cast<QSize*>(&size)); };
void toggle() { callbackQAbstractButton_Toggle(this); };
void Signal_Toggled(bool checked) { callbackQAbstractButton_Toggled(this, checked); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QCheckBox_NewQCheckBox(void* parent)
{
return new MyQCheckBox(static_cast<QWidget*>(parent));
}
void* QCheckBox_NewQCheckBox2(char* text, void* parent)
{
return new MyQCheckBox(QString(text), static_cast<QWidget*>(parent));
}
void QCheckBox_PaintEvent(void* ptr, void* vqp)
{
static_cast<QCheckBox*>(ptr)->paintEvent(static_cast<QPaintEvent*>(vqp));
}
void QCheckBox_PaintEventDefault(void* ptr, void* vqp)
{
static_cast<QCheckBox*>(ptr)->QCheckBox::paintEvent(static_cast<QPaintEvent*>(vqp));
}
void QCheckBox_SetCheckState(void* ptr, long long state)
{
static_cast<QCheckBox*>(ptr)->setCheckState(static_cast<Qt::CheckState>(state));
}
void QCheckBox_SetTristate(void* ptr, char y)
{
static_cast<QCheckBox*>(ptr)->setTristate(y != 0);
}
void QCheckBox_ConnectStateChanged(void* ptr)
{
QObject::connect(static_cast<QCheckBox*>(ptr), static_cast<void (QCheckBox::*)(int)>(&QCheckBox::stateChanged), static_cast<MyQCheckBox*>(ptr), static_cast<void (MyQCheckBox::*)(int)>(&MyQCheckBox::Signal_StateChanged));
}
void QCheckBox_DisconnectStateChanged(void* ptr)
{
QObject::disconnect(static_cast<QCheckBox*>(ptr), static_cast<void (QCheckBox::*)(int)>(&QCheckBox::stateChanged), static_cast<MyQCheckBox*>(ptr), static_cast<void (MyQCheckBox::*)(int)>(&MyQCheckBox::Signal_StateChanged));
}
void QCheckBox_StateChanged(void* ptr, int state)
{
static_cast<QCheckBox*>(ptr)->stateChanged(state);
}
void QCheckBox_DestroyQCheckBox(void* ptr)
{
static_cast<QCheckBox*>(ptr)->~QCheckBox();
}
long long QCheckBox_CheckState(void* ptr)
{
return static_cast<QCheckBox*>(ptr)->checkState();
}
char QCheckBox_IsTristate(void* ptr)
{
return static_cast<QCheckBox*>(ptr)->isTristate();
}
void QCheckBox_InitStyleOption(void* ptr, void* option)
{
static_cast<QCheckBox*>(ptr)->initStyleOption(static_cast<QStyleOptionButton*>(option));
}
class MyQColorDialog: public QColorDialog
{
public:
MyQColorDialog(QWidget *parent) : QColorDialog(parent) {};
MyQColorDialog(const QColor &initial, QWidget *parent) : QColorDialog(initial, parent) {};
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void Signal_ColorSelected(const QColor & color) { callbackQColorDialog_ColorSelected(this, const_cast<QColor*>(&color)); };
void Signal_CurrentColorChanged(const QColor & color) { callbackQColorDialog_CurrentColorChanged(this, const_cast<QColor*>(&color)); };
void done(int result) { callbackQColorDialog_Done(this, result); };
void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); };
int exec() { return callbackQDialog_Exec(this); };
void accept() { callbackQDialog_Accept(this); };
void Signal_Accepted() { callbackQDialog_Accepted(this); };
void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void Signal_Finished(int result) { callbackQDialog_Finished(this, result); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void open() { callbackQDialog_Open(this); };
void reject() { callbackQDialog_Reject(this); };
void Signal_Rejected() { callbackQDialog_Rejected(this); };
void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QColorDialog_QColorDialog_CustomColor(int index)
{
return new QColor(QColorDialog::customColor(index));
}
void* QColorDialog_QColorDialog_GetColor(void* initial, void* parent, char* title, long long options)
{
return new QColor(QColorDialog::getColor(*static_cast<QColor*>(initial), static_cast<QWidget*>(parent), QString(title), static_cast<QColorDialog::ColorDialogOption>(options)));
}
void* QColorDialog_QColorDialog_StandardColor(int index)
{
return new QColor(QColorDialog::standardColor(index));
}
void* QColorDialog_NewQColorDialog(void* parent)
{
return new MyQColorDialog(static_cast<QWidget*>(parent));
}
void* QColorDialog_NewQColorDialog2(void* initial, void* parent)
{
return new MyQColorDialog(*static_cast<QColor*>(initial), static_cast<QWidget*>(parent));
}
int QColorDialog_QColorDialog_CustomCount()
{
return QColorDialog::customCount();
}
void QColorDialog_ConnectColorSelected(void* ptr)
{
QObject::connect(static_cast<QColorDialog*>(ptr), static_cast<void (QColorDialog::*)(const QColor &)>(&QColorDialog::colorSelected), static_cast<MyQColorDialog*>(ptr), static_cast<void (MyQColorDialog::*)(const QColor &)>(&MyQColorDialog::Signal_ColorSelected));
}
void QColorDialog_DisconnectColorSelected(void* ptr)
{
QObject::disconnect(static_cast<QColorDialog*>(ptr), static_cast<void (QColorDialog::*)(const QColor &)>(&QColorDialog::colorSelected), static_cast<MyQColorDialog*>(ptr), static_cast<void (MyQColorDialog::*)(const QColor &)>(&MyQColorDialog::Signal_ColorSelected));
}
void QColorDialog_ColorSelected(void* ptr, void* color)
{
static_cast<QColorDialog*>(ptr)->colorSelected(*static_cast<QColor*>(color));
}
void QColorDialog_ConnectCurrentColorChanged(void* ptr)
{
QObject::connect(static_cast<QColorDialog*>(ptr), static_cast<void (QColorDialog::*)(const QColor &)>(&QColorDialog::currentColorChanged), static_cast<MyQColorDialog*>(ptr), static_cast<void (MyQColorDialog::*)(const QColor &)>(&MyQColorDialog::Signal_CurrentColorChanged));
}
void QColorDialog_DisconnectCurrentColorChanged(void* ptr)
{
QObject::disconnect(static_cast<QColorDialog*>(ptr), static_cast<void (QColorDialog::*)(const QColor &)>(&QColorDialog::currentColorChanged), static_cast<MyQColorDialog*>(ptr), static_cast<void (MyQColorDialog::*)(const QColor &)>(&MyQColorDialog::Signal_CurrentColorChanged));
}
void QColorDialog_CurrentColorChanged(void* ptr, void* color)
{
static_cast<QColorDialog*>(ptr)->currentColorChanged(*static_cast<QColor*>(color));
}
void QColorDialog_Done(void* ptr, int result)
{
static_cast<QColorDialog*>(ptr)->done(result);
}
void QColorDialog_DoneDefault(void* ptr, int result)
{
static_cast<QColorDialog*>(ptr)->QColorDialog::done(result);
}
void QColorDialog_Open(void* ptr, void* receiver, char* member)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(receiver))) {
static_cast<QColorDialog*>(ptr)->open(static_cast<QGraphicsObject*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(receiver))) {
static_cast<QColorDialog*>(ptr)->open(static_cast<QGraphicsWidget*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(receiver))) {
static_cast<QColorDialog*>(ptr)->open(static_cast<QLayout*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(receiver))) {
static_cast<QColorDialog*>(ptr)->open(static_cast<QWidget*>(receiver), const_cast<const char*>(member));
} else {
static_cast<QColorDialog*>(ptr)->open(static_cast<QObject*>(receiver), const_cast<const char*>(member));
}
}
void QColorDialog_SetCurrentColor(void* ptr, void* color)
{
static_cast<QColorDialog*>(ptr)->setCurrentColor(*static_cast<QColor*>(color));
}
void QColorDialog_QColorDialog_SetCustomColor(int index, void* color)
{
QColorDialog::setCustomColor(index, *static_cast<QColor*>(color));
}
void QColorDialog_SetOption(void* ptr, long long option, char on)
{
static_cast<QColorDialog*>(ptr)->setOption(static_cast<QColorDialog::ColorDialogOption>(option), on != 0);
}
void QColorDialog_SetOptions(void* ptr, long long options)
{
static_cast<QColorDialog*>(ptr)->setOptions(static_cast<QColorDialog::ColorDialogOption>(options));
}
void QColorDialog_QColorDialog_SetStandardColor(int index, void* color)
{
QColorDialog::setStandardColor(index, *static_cast<QColor*>(color));
}
void QColorDialog_DestroyQColorDialog(void* ptr)
{
static_cast<QColorDialog*>(ptr)->~QColorDialog();
}
long long QColorDialog_Options(void* ptr)
{
return static_cast<QColorDialog*>(ptr)->options();
}
void* QColorDialog_CurrentColor(void* ptr)
{
return new QColor(static_cast<QColorDialog*>(ptr)->currentColor());
}
void* QColorDialog_SelectedColor(void* ptr)
{
return new QColor(static_cast<QColorDialog*>(ptr)->selectedColor());
}
char QColorDialog_TestOption(void* ptr, long long option)
{
return static_cast<QColorDialog*>(ptr)->testOption(static_cast<QColorDialog::ColorDialogOption>(option));
}
void* QColormap_QColormap_Instance(int screen)
{
return new QColormap(QColormap::instance(screen));
}
void* QColormap_NewQColormap(void* colormap)
{
return new QColormap(*static_cast<QColormap*>(colormap));
}
void QColormap_DestroyQColormap(void* ptr)
{
static_cast<QColormap*>(ptr)->~QColormap();
}
long long QColormap_Mode(void* ptr)
{
return static_cast<QColormap*>(ptr)->mode();
}
void* QColormap_ColorAt(void* ptr, unsigned int pixel)
{
return new QColor(static_cast<QColormap*>(ptr)->colorAt(pixel));
}
struct QtWidgets_PackedList QColormap_Colormap(void* ptr)
{
return ({ QVector<QColor>* tmpValue = new QVector<QColor>(static_cast<QColormap*>(ptr)->colormap()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
int QColormap_Depth(void* ptr)
{
return static_cast<QColormap*>(ptr)->depth();
}
int QColormap_Size(void* ptr)
{
return static_cast<QColormap*>(ptr)->size();
}
unsigned int QColormap_Pixel(void* ptr, void* color)
{
return static_cast<QColormap*>(ptr)->pixel(*static_cast<QColor*>(color));
}
void* QColormap___colormap_atList(void* ptr, int i)
{
return new QColor(static_cast<QVector<QColor>*>(ptr)->at(i));
}
void QColormap___colormap_setList(void* ptr, void* i)
{
static_cast<QVector<QColor>*>(ptr)->append(*static_cast<QColor*>(i));
}
void* QColormap___colormap_newList(void* ptr)
{
return new QVector<QColor>;
}
class MyQColumnView: public QColumnView
{
public:
MyQColumnView(QWidget *parent) : QColumnView(parent) {};
QAbstractItemView * createColumn(const QModelIndex & index) { return static_cast<QAbstractItemView*>(callbackQColumnView_CreateColumn(this, const_cast<QModelIndex*>(&index))); };
QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast<QModelIndex*>(callbackQColumnView_MoveCursor(this, cursorAction, modifiers)); };
void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQColumnView_CurrentChanged(this, const_cast<QModelIndex*>(&current), const_cast<QModelIndex*>(&previous)); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQColumnView_RowsInserted(this, const_cast<QModelIndex*>(&parent), start, end); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQColumnView_ScrollTo(this, const_cast<QModelIndex*>(&index), hint); };
void selectAll() { callbackQColumnView_SelectAll(this); };
void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); };
void setRootIndex(const QModelIndex & index) { callbackQColumnView_SetRootIndex(this, const_cast<QModelIndex*>(&index)); };
void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags command) { callbackQColumnView_SetSelection(this, const_cast<QRect*>(&rect), command); };
void setSelectionModel(QItemSelectionModel * newSelectionModel) { callbackQAbstractItemView_SetSelectionModel(this, newSelectionModel); };
void Signal_UpdatePreviewWidget(const QModelIndex & index) { callbackQColumnView_UpdatePreviewWidget(this, const_cast<QModelIndex*>(&index)); };
QModelIndex indexAt(const QPoint & point) const { return *static_cast<QModelIndex*>(callbackQColumnView_IndexAt(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&point))); };
QRect visualRect(const QModelIndex & index) const { return *static_cast<QRect*>(callbackQColumnView_VisualRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast<QRegion*>(callbackQColumnView_VisualRegionForSelection(const_cast<void*>(static_cast<const void*>(this)), const_cast<QItemSelection*>(&selection))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool isIndexHidden(const QModelIndex & index) const { return callbackQColumnView_IsIndexHidden(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index)) != 0; };
int horizontalOffset() const { return callbackQColumnView_HorizontalOffset(const_cast<void*>(static_cast<const void*>(this))); };
int verticalOffset() const { return callbackQColumnView_VerticalOffset(const_cast<void*>(static_cast<const void*>(this))); };
bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast<QModelIndex*>(&index), trigger, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast<QModelIndex*>(&index)); };
void clearSelection() { callbackQAbstractItemView_ClearSelection(this); };
void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast<QModelIndex*>(&index)); };
void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); };
void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); };
void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector<int> & roles) { callbackQAbstractItemView_DataChanged(this, const_cast<QModelIndex*>(&topLeft), const_cast<QModelIndex*>(&bottomRight), ({ QVector<int>* tmpValue = const_cast<QVector<int>*>(&roles); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })); };
void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast<QModelIndex*>(&index)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast<QModelIndex*>(&index)); };
void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); };
void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast<QModelIndex*>(&index)); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast<QSize*>(&size)); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyboardSearch(const QString & search) { QByteArray t3559d7 = search.toUtf8(); QtWidgets_PackedString searchPacked = { const_cast<char*>(t3559d7.prepend("WHITESPACE").constData()+10), t3559d7.size()-10 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast<QModelIndex*>(&index)); };
void reset() { callbackQAbstractItemView_Reset(this); };
void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsAboutToBeRemoved(this, const_cast<QModelIndex*>(&parent), start, end); };
void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); };
void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); };
void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQAbstractItemView_SelectionChanged(this, const_cast<QItemSelection*>(&selected), const_cast<QItemSelection*>(&deselected)); };
void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast<QModelIndex*>(&index)); };
void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); };
void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast<QModelIndex*>(&index)); };
void updateGeometries() { callbackQAbstractItemView_UpdateGeometries(this); };
void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); };
QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast<QItemSelectionModel::SelectionFlag>(callbackQAbstractItemView_SelectionCommand(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index), const_cast<QEvent*>(event))); };
QList<QModelIndex> selectedIndexes() const { return *static_cast<QList<QModelIndex>*>(callbackQAbstractItemView_SelectedIndexes(const_cast<void*>(static_cast<const void*>(this)))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QStyleOptionViewItem viewOptions() const { return *static_cast<QStyleOptionViewItem*>(callbackQAbstractItemView_ViewOptions(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast<void*>(static_cast<const void*>(this)), column); };
int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast<void*>(static_cast<const void*>(this)), row); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QColumnView_CreateColumn(void* ptr, void* index)
{
return static_cast<QColumnView*>(ptr)->createColumn(*static_cast<QModelIndex*>(index));
}
void* QColumnView_CreateColumnDefault(void* ptr, void* index)
{
return static_cast<QColumnView*>(ptr)->QColumnView::createColumn(*static_cast<QModelIndex*>(index));
}
void* QColumnView_NewQColumnView(void* parent)
{
return new MyQColumnView(static_cast<QWidget*>(parent));
}
void* QColumnView_MoveCursor(void* ptr, long long cursorAction, long long modifiers)
{
return new QModelIndex(static_cast<QColumnView*>(ptr)->moveCursor(static_cast<QAbstractItemView::CursorAction>(cursorAction), static_cast<Qt::KeyboardModifier>(modifiers)));
}
void* QColumnView_MoveCursorDefault(void* ptr, long long cursorAction, long long modifiers)
{
return new QModelIndex(static_cast<QColumnView*>(ptr)->QColumnView::moveCursor(static_cast<QAbstractItemView::CursorAction>(cursorAction), static_cast<Qt::KeyboardModifier>(modifiers)));
}
void QColumnView_CurrentChanged(void* ptr, void* current, void* previous)
{
static_cast<QColumnView*>(ptr)->currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
}
void QColumnView_CurrentChangedDefault(void* ptr, void* current, void* previous)
{
static_cast<QColumnView*>(ptr)->QColumnView::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
}
void QColumnView_RowsInserted(void* ptr, void* parent, int start, int end)
{
static_cast<QColumnView*>(ptr)->rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
}
void QColumnView_RowsInsertedDefault(void* ptr, void* parent, int start, int end)
{
static_cast<QColumnView*>(ptr)->QColumnView::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
}
void QColumnView_ScrollTo(void* ptr, void* index, long long hint)
{
static_cast<QColumnView*>(ptr)->scrollTo(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::ScrollHint>(hint));
}
void QColumnView_ScrollToDefault(void* ptr, void* index, long long hint)
{
static_cast<QColumnView*>(ptr)->QColumnView::scrollTo(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::ScrollHint>(hint));
}
void QColumnView_SelectAll(void* ptr)
{
static_cast<QColumnView*>(ptr)->selectAll();
}
void QColumnView_SelectAllDefault(void* ptr)
{
static_cast<QColumnView*>(ptr)->QColumnView::selectAll();
}
void QColumnView_SetColumnWidths(void* ptr, void* list)
{
static_cast<QColumnView*>(ptr)->setColumnWidths(*static_cast<QList<int>*>(list));
}
void QColumnView_SetPreviewWidget(void* ptr, void* widget)
{
static_cast<QColumnView*>(ptr)->setPreviewWidget(static_cast<QWidget*>(widget));
}
void QColumnView_SetResizeGripsVisible(void* ptr, char visible)
{
static_cast<QColumnView*>(ptr)->setResizeGripsVisible(visible != 0);
}
void QColumnView_SetRootIndex(void* ptr, void* index)
{
static_cast<QColumnView*>(ptr)->setRootIndex(*static_cast<QModelIndex*>(index));
}
void QColumnView_SetRootIndexDefault(void* ptr, void* index)
{
static_cast<QColumnView*>(ptr)->QColumnView::setRootIndex(*static_cast<QModelIndex*>(index));
}
void QColumnView_SetSelection(void* ptr, void* rect, long long command)
{
static_cast<QColumnView*>(ptr)->setSelection(*static_cast<QRect*>(rect), static_cast<QItemSelectionModel::SelectionFlag>(command));
}
void QColumnView_SetSelectionDefault(void* ptr, void* rect, long long command)
{
static_cast<QColumnView*>(ptr)->QColumnView::setSelection(*static_cast<QRect*>(rect), static_cast<QItemSelectionModel::SelectionFlag>(command));
}
void QColumnView_ConnectUpdatePreviewWidget(void* ptr)
{
QObject::connect(static_cast<QColumnView*>(ptr), static_cast<void (QColumnView::*)(const QModelIndex &)>(&QColumnView::updatePreviewWidget), static_cast<MyQColumnView*>(ptr), static_cast<void (MyQColumnView::*)(const QModelIndex &)>(&MyQColumnView::Signal_UpdatePreviewWidget));
}
void QColumnView_DisconnectUpdatePreviewWidget(void* ptr)
{
QObject::disconnect(static_cast<QColumnView*>(ptr), static_cast<void (QColumnView::*)(const QModelIndex &)>(&QColumnView::updatePreviewWidget), static_cast<MyQColumnView*>(ptr), static_cast<void (MyQColumnView::*)(const QModelIndex &)>(&MyQColumnView::Signal_UpdatePreviewWidget));
}
void QColumnView_UpdatePreviewWidget(void* ptr, void* index)
{
static_cast<QColumnView*>(ptr)->updatePreviewWidget(*static_cast<QModelIndex*>(index));
}
void QColumnView_DestroyQColumnView(void* ptr)
{
static_cast<QColumnView*>(ptr)->~QColumnView();
}
struct QtWidgets_PackedList QColumnView_ColumnWidths(void* ptr)
{
return ({ QList<int>* tmpValue = new QList<int>(static_cast<QColumnView*>(ptr)->columnWidths()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QColumnView_IndexAt(void* ptr, void* point)
{
return new QModelIndex(static_cast<QColumnView*>(ptr)->indexAt(*static_cast<QPoint*>(point)));
}
void* QColumnView_IndexAtDefault(void* ptr, void* point)
{
return new QModelIndex(static_cast<QColumnView*>(ptr)->QColumnView::indexAt(*static_cast<QPoint*>(point)));
}
void* QColumnView_VisualRect(void* ptr, void* index)
{
return ({ QRect tmpValue = static_cast<QColumnView*>(ptr)->visualRect(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QColumnView_VisualRectDefault(void* ptr, void* index)
{
return ({ QRect tmpValue = static_cast<QColumnView*>(ptr)->QColumnView::visualRect(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QColumnView_VisualRegionForSelection(void* ptr, void* selection)
{
return new QRegion(static_cast<QColumnView*>(ptr)->visualRegionForSelection(*static_cast<QItemSelection*>(selection)));
}
void* QColumnView_VisualRegionForSelectionDefault(void* ptr, void* selection)
{
return new QRegion(static_cast<QColumnView*>(ptr)->QColumnView::visualRegionForSelection(*static_cast<QItemSelection*>(selection)));
}
void* QColumnView_PreviewWidget(void* ptr)
{
return static_cast<QColumnView*>(ptr)->previewWidget();
}
char QColumnView_IsIndexHidden(void* ptr, void* index)
{
return static_cast<QColumnView*>(ptr)->isIndexHidden(*static_cast<QModelIndex*>(index));
}
char QColumnView_IsIndexHiddenDefault(void* ptr, void* index)
{
return static_cast<QColumnView*>(ptr)->QColumnView::isIndexHidden(*static_cast<QModelIndex*>(index));
}
char QColumnView_ResizeGripsVisible(void* ptr)
{
return static_cast<QColumnView*>(ptr)->resizeGripsVisible();
}
int QColumnView_HorizontalOffset(void* ptr)
{
return static_cast<QColumnView*>(ptr)->horizontalOffset();
}
int QColumnView_HorizontalOffsetDefault(void* ptr)
{
return static_cast<QColumnView*>(ptr)->QColumnView::horizontalOffset();
}
int QColumnView_VerticalOffset(void* ptr)
{
return static_cast<QColumnView*>(ptr)->verticalOffset();
}
int QColumnView_VerticalOffsetDefault(void* ptr)
{
return static_cast<QColumnView*>(ptr)->QColumnView::verticalOffset();
}
void QColumnView_InitializeColumn(void* ptr, void* column)
{
static_cast<QColumnView*>(ptr)->initializeColumn(static_cast<QAbstractItemView*>(column));
}
int QColumnView___setColumnWidths_list_atList(void* ptr, int i)
{
return static_cast<QList<int>*>(ptr)->at(i);
}
void QColumnView___setColumnWidths_list_setList(void* ptr, int i)
{
static_cast<QList<int>*>(ptr)->append(i);
}
void* QColumnView___setColumnWidths_list_newList(void* ptr)
{
return new QList<int>;
}
int QColumnView___columnWidths_atList(void* ptr, int i)
{
return static_cast<QList<int>*>(ptr)->at(i);
}
void QColumnView___columnWidths_setList(void* ptr, int i)
{
static_cast<QList<int>*>(ptr)->append(i);
}
void* QColumnView___columnWidths_newList(void* ptr)
{
return new QList<int>;
}
class MyQComboBox: public QComboBox
{
public:
MyQComboBox(QWidget *parent) : QComboBox(parent) {};
void Signal_Activated2(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQComboBox_Activated2(this, textPacked); };
void Signal_Activated(int index) { callbackQComboBox_Activated(this, index); };
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void clear() { callbackQComboBox_Clear(this); };
void clearEditText() { callbackQComboBox_ClearEditText(this); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void Signal_CurrentIndexChanged2(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQComboBox_CurrentIndexChanged2(this, textPacked); };
void Signal_CurrentIndexChanged(int index) { callbackQComboBox_CurrentIndexChanged(this, index); };
void Signal_CurrentTextChanged(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQComboBox_CurrentTextChanged(this, textPacked); };
void Signal_EditTextChanged(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQComboBox_EditTextChanged(this, textPacked); };
void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); };
void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); };
void hideEvent(QHideEvent * e) { callbackQWidget_HideEvent(this, e); };
void hidePopup() { callbackQComboBox_HidePopup(this); };
void Signal_Highlighted2(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQComboBox_Highlighted2(this, textPacked); };
void Signal_Highlighted(int index) { callbackQComboBox_Highlighted(this, index); };
void inputMethodEvent(QInputMethodEvent * e) { callbackQWidget_InputMethodEvent(this, e); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); };
void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); };
void setCurrentIndex(int index) { callbackQComboBox_SetCurrentIndex(this, index); };
void setCurrentText(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQComboBox_SetCurrentText(this, textPacked); };
void setEditText(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQComboBox_SetEditText(this, textPacked); };
void showEvent(QShowEvent * e) { callbackQWidget_ShowEvent(this, e); };
void showPopup() { callbackQComboBox_ShowPopup(this); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QComboBox_NewQComboBox(void* parent)
{
return new MyQComboBox(static_cast<QWidget*>(parent));
}
void QComboBox_ConnectActivated2(void* ptr)
{
QObject::connect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::activated), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(const QString &)>(&MyQComboBox::Signal_Activated2));
}
void QComboBox_DisconnectActivated2(void* ptr)
{
QObject::disconnect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::activated), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(const QString &)>(&MyQComboBox::Signal_Activated2));
}
void QComboBox_Activated2(void* ptr, char* text)
{
static_cast<QComboBox*>(ptr)->activated(QString(text));
}
void QComboBox_ConnectActivated(void* ptr)
{
QObject::connect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(int)>(&QComboBox::activated), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(int)>(&MyQComboBox::Signal_Activated));
}
void QComboBox_DisconnectActivated(void* ptr)
{
QObject::disconnect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(int)>(&QComboBox::activated), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(int)>(&MyQComboBox::Signal_Activated));
}
void QComboBox_Activated(void* ptr, int index)
{
static_cast<QComboBox*>(ptr)->activated(index);
}
void QComboBox_AddItem2(void* ptr, void* icon, char* text, void* userData)
{
static_cast<QComboBox*>(ptr)->addItem(*static_cast<QIcon*>(icon), QString(text), *static_cast<QVariant*>(userData));
}
void QComboBox_AddItem(void* ptr, char* text, void* userData)
{
static_cast<QComboBox*>(ptr)->addItem(QString(text), *static_cast<QVariant*>(userData));
}
void QComboBox_AddItems(void* ptr, char* texts)
{
static_cast<QComboBox*>(ptr)->addItems(QString(texts).split("|", QString::SkipEmptyParts));
}
void QComboBox_Clear(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QComboBox*>(ptr), "clear");
}
void QComboBox_ClearDefault(void* ptr)
{
if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::clear();
} else {
static_cast<QComboBox*>(ptr)->QComboBox::clear();
}
}
void QComboBox_ClearEditText(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QComboBox*>(ptr), "clearEditText");
}
void QComboBox_ClearEditTextDefault(void* ptr)
{
if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::clearEditText();
} else {
static_cast<QComboBox*>(ptr)->QComboBox::clearEditText();
}
}
void QComboBox_ConnectCurrentIndexChanged2(void* ptr)
{
QObject::connect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::currentIndexChanged), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(const QString &)>(&MyQComboBox::Signal_CurrentIndexChanged2));
}
void QComboBox_DisconnectCurrentIndexChanged2(void* ptr)
{
QObject::disconnect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::currentIndexChanged), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(const QString &)>(&MyQComboBox::Signal_CurrentIndexChanged2));
}
void QComboBox_CurrentIndexChanged2(void* ptr, char* text)
{
static_cast<QComboBox*>(ptr)->currentIndexChanged(QString(text));
}
void QComboBox_ConnectCurrentIndexChanged(void* ptr)
{
QObject::connect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(int)>(&MyQComboBox::Signal_CurrentIndexChanged));
}
void QComboBox_DisconnectCurrentIndexChanged(void* ptr)
{
QObject::disconnect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(int)>(&MyQComboBox::Signal_CurrentIndexChanged));
}
void QComboBox_CurrentIndexChanged(void* ptr, int index)
{
static_cast<QComboBox*>(ptr)->currentIndexChanged(index);
}
void QComboBox_ConnectCurrentTextChanged(void* ptr)
{
QObject::connect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::currentTextChanged), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(const QString &)>(&MyQComboBox::Signal_CurrentTextChanged));
}
void QComboBox_DisconnectCurrentTextChanged(void* ptr)
{
QObject::disconnect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::currentTextChanged), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(const QString &)>(&MyQComboBox::Signal_CurrentTextChanged));
}
void QComboBox_CurrentTextChanged(void* ptr, char* text)
{
static_cast<QComboBox*>(ptr)->currentTextChanged(QString(text));
}
void QComboBox_ConnectEditTextChanged(void* ptr)
{
QObject::connect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::editTextChanged), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(const QString &)>(&MyQComboBox::Signal_EditTextChanged));
}
void QComboBox_DisconnectEditTextChanged(void* ptr)
{
QObject::disconnect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::editTextChanged), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(const QString &)>(&MyQComboBox::Signal_EditTextChanged));
}
void QComboBox_EditTextChanged(void* ptr, char* text)
{
static_cast<QComboBox*>(ptr)->editTextChanged(QString(text));
}
void QComboBox_HidePopup(void* ptr)
{
static_cast<QComboBox*>(ptr)->hidePopup();
}
void QComboBox_HidePopupDefault(void* ptr)
{
if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::hidePopup();
} else {
static_cast<QComboBox*>(ptr)->QComboBox::hidePopup();
}
}
void QComboBox_ConnectHighlighted2(void* ptr)
{
QObject::connect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::highlighted), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(const QString &)>(&MyQComboBox::Signal_Highlighted2));
}
void QComboBox_DisconnectHighlighted2(void* ptr)
{
QObject::disconnect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(const QString &)>(&QComboBox::highlighted), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(const QString &)>(&MyQComboBox::Signal_Highlighted2));
}
void QComboBox_Highlighted2(void* ptr, char* text)
{
static_cast<QComboBox*>(ptr)->highlighted(QString(text));
}
void QComboBox_ConnectHighlighted(void* ptr)
{
QObject::connect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(int)>(&QComboBox::highlighted), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(int)>(&MyQComboBox::Signal_Highlighted));
}
void QComboBox_DisconnectHighlighted(void* ptr)
{
QObject::disconnect(static_cast<QComboBox*>(ptr), static_cast<void (QComboBox::*)(int)>(&QComboBox::highlighted), static_cast<MyQComboBox*>(ptr), static_cast<void (MyQComboBox::*)(int)>(&MyQComboBox::Signal_Highlighted));
}
void QComboBox_Highlighted(void* ptr, int index)
{
static_cast<QComboBox*>(ptr)->highlighted(index);
}
void QComboBox_InsertItem2(void* ptr, int index, void* icon, char* text, void* userData)
{
static_cast<QComboBox*>(ptr)->insertItem(index, *static_cast<QIcon*>(icon), QString(text), *static_cast<QVariant*>(userData));
}
void QComboBox_InsertItem(void* ptr, int index, char* text, void* userData)
{
static_cast<QComboBox*>(ptr)->insertItem(index, QString(text), *static_cast<QVariant*>(userData));
}
void QComboBox_InsertItems(void* ptr, int index, char* list)
{
static_cast<QComboBox*>(ptr)->insertItems(index, QString(list).split("|", QString::SkipEmptyParts));
}
void QComboBox_InsertSeparator(void* ptr, int index)
{
static_cast<QComboBox*>(ptr)->insertSeparator(index);
}
void QComboBox_RemoveItem(void* ptr, int index)
{
static_cast<QComboBox*>(ptr)->removeItem(index);
}
void QComboBox_SetCompleter(void* ptr, void* completer)
{
static_cast<QComboBox*>(ptr)->setCompleter(static_cast<QCompleter*>(completer));
}
void QComboBox_SetCurrentIndex(void* ptr, int index)
{
QMetaObject::invokeMethod(static_cast<QComboBox*>(ptr), "setCurrentIndex", Q_ARG(int, index));
}
void QComboBox_SetCurrentIndexDefault(void* ptr, int index)
{
if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::setCurrentIndex(index);
} else {
static_cast<QComboBox*>(ptr)->QComboBox::setCurrentIndex(index);
}
}
void QComboBox_SetCurrentText(void* ptr, char* text)
{
QMetaObject::invokeMethod(static_cast<QComboBox*>(ptr), "setCurrentText", Q_ARG(QString, QString(text)));
}
void QComboBox_SetCurrentTextDefault(void* ptr, char* text)
{
if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::setCurrentText(QString(text));
} else {
static_cast<QComboBox*>(ptr)->QComboBox::setCurrentText(QString(text));
}
}
void QComboBox_SetDuplicatesEnabled(void* ptr, char enable)
{
static_cast<QComboBox*>(ptr)->setDuplicatesEnabled(enable != 0);
}
void QComboBox_SetEditText(void* ptr, char* text)
{
QMetaObject::invokeMethod(static_cast<QComboBox*>(ptr), "setEditText", Q_ARG(QString, QString(text)));
}
void QComboBox_SetEditTextDefault(void* ptr, char* text)
{
if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::setEditText(QString(text));
} else {
static_cast<QComboBox*>(ptr)->QComboBox::setEditText(QString(text));
}
}
void QComboBox_SetEditable(void* ptr, char editable)
{
static_cast<QComboBox*>(ptr)->setEditable(editable != 0);
}
void QComboBox_SetFrame(void* ptr, char vbo)
{
static_cast<QComboBox*>(ptr)->setFrame(vbo != 0);
}
void QComboBox_SetIconSize(void* ptr, void* size)
{
static_cast<QComboBox*>(ptr)->setIconSize(*static_cast<QSize*>(size));
}
void QComboBox_SetInsertPolicy(void* ptr, long long policy)
{
static_cast<QComboBox*>(ptr)->setInsertPolicy(static_cast<QComboBox::InsertPolicy>(policy));
}
void QComboBox_SetItemData(void* ptr, int index, void* value, int role)
{
static_cast<QComboBox*>(ptr)->setItemData(index, *static_cast<QVariant*>(value), role);
}
void QComboBox_SetItemDelegate(void* ptr, void* delegate)
{
static_cast<QComboBox*>(ptr)->setItemDelegate(static_cast<QAbstractItemDelegate*>(delegate));
}
void QComboBox_SetItemIcon(void* ptr, int index, void* icon)
{
static_cast<QComboBox*>(ptr)->setItemIcon(index, *static_cast<QIcon*>(icon));
}
void QComboBox_SetItemText(void* ptr, int index, char* text)
{
static_cast<QComboBox*>(ptr)->setItemText(index, QString(text));
}
void QComboBox_SetLineEdit(void* ptr, void* edit)
{
static_cast<QComboBox*>(ptr)->setLineEdit(static_cast<QLineEdit*>(edit));
}
void QComboBox_SetMaxCount(void* ptr, int max)
{
static_cast<QComboBox*>(ptr)->setMaxCount(max);
}
void QComboBox_SetMaxVisibleItems(void* ptr, int maxItems)
{
static_cast<QComboBox*>(ptr)->setMaxVisibleItems(maxItems);
}
void QComboBox_SetMinimumContentsLength(void* ptr, int characters)
{
static_cast<QComboBox*>(ptr)->setMinimumContentsLength(characters);
}
void QComboBox_SetModel(void* ptr, void* model)
{
static_cast<QComboBox*>(ptr)->setModel(static_cast<QAbstractItemModel*>(model));
}
void QComboBox_SetModelColumn(void* ptr, int visibleColumn)
{
static_cast<QComboBox*>(ptr)->setModelColumn(visibleColumn);
}
void QComboBox_SetRootModelIndex(void* ptr, void* index)
{
static_cast<QComboBox*>(ptr)->setRootModelIndex(*static_cast<QModelIndex*>(index));
}
void QComboBox_SetSizeAdjustPolicy(void* ptr, long long policy)
{
static_cast<QComboBox*>(ptr)->setSizeAdjustPolicy(static_cast<QComboBox::SizeAdjustPolicy>(policy));
}
void QComboBox_SetValidator(void* ptr, void* validator)
{
static_cast<QComboBox*>(ptr)->setValidator(static_cast<QValidator*>(validator));
}
void QComboBox_SetView(void* ptr, void* itemView)
{
static_cast<QComboBox*>(ptr)->setView(static_cast<QAbstractItemView*>(itemView));
}
void QComboBox_ShowPopup(void* ptr)
{
static_cast<QComboBox*>(ptr)->showPopup();
}
void QComboBox_ShowPopupDefault(void* ptr)
{
if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::showPopup();
} else {
static_cast<QComboBox*>(ptr)->QComboBox::showPopup();
}
}
void QComboBox_DestroyQComboBox(void* ptr)
{
static_cast<QComboBox*>(ptr)->~QComboBox();
}
long long QComboBox_InsertPolicy(void* ptr)
{
return static_cast<QComboBox*>(ptr)->insertPolicy();
}
void* QComboBox_ItemDelegate(void* ptr)
{
return static_cast<QComboBox*>(ptr)->itemDelegate();
}
void* QComboBox_Model(void* ptr)
{
return static_cast<QComboBox*>(ptr)->model();
}
void* QComboBox_View(void* ptr)
{
return static_cast<QComboBox*>(ptr)->view();
}
void* QComboBox_Completer(void* ptr)
{
return static_cast<QComboBox*>(ptr)->completer();
}
void* QComboBox_ItemIcon(void* ptr, int index)
{
return new QIcon(static_cast<QComboBox*>(ptr)->itemIcon(index));
}
void* QComboBox_LineEdit(void* ptr)
{
return static_cast<QComboBox*>(ptr)->lineEdit();
}
void* QComboBox_RootModelIndex(void* ptr)
{
return new QModelIndex(static_cast<QComboBox*>(ptr)->rootModelIndex());
}
void* QComboBox_IconSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QComboBox*>(ptr)->iconSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QComboBox_CurrentText(void* ptr)
{
return ({ QByteArray t0977ce = static_cast<QComboBox*>(ptr)->currentText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t0977ce.prepend("WHITESPACE").constData()+10), t0977ce.size()-10 }; });
}
struct QtWidgets_PackedString QComboBox_ItemText(void* ptr, int index)
{
return ({ QByteArray tda5d0a = static_cast<QComboBox*>(ptr)->itemText(index).toUtf8(); QtWidgets_PackedString { const_cast<char*>(tda5d0a.prepend("WHITESPACE").constData()+10), tda5d0a.size()-10 }; });
}
void* QComboBox_CurrentData(void* ptr, int role)
{
return new QVariant(static_cast<QComboBox*>(ptr)->currentData(role));
}
void* QComboBox_ItemData(void* ptr, int index, int role)
{
return new QVariant(static_cast<QComboBox*>(ptr)->itemData(index, role));
}
long long QComboBox_SizeAdjustPolicy(void* ptr)
{
return static_cast<QComboBox*>(ptr)->sizeAdjustPolicy();
}
char QComboBox_DuplicatesEnabled(void* ptr)
{
return static_cast<QComboBox*>(ptr)->duplicatesEnabled();
}
char QComboBox_HasFrame(void* ptr)
{
return static_cast<QComboBox*>(ptr)->hasFrame();
}
char QComboBox_IsEditable(void* ptr)
{
return static_cast<QComboBox*>(ptr)->isEditable();
}
void* QComboBox_Validator(void* ptr)
{
return const_cast<QValidator*>(static_cast<QComboBox*>(ptr)->validator());
}
int QComboBox_Count(void* ptr)
{
return static_cast<QComboBox*>(ptr)->count();
}
int QComboBox_CurrentIndex(void* ptr)
{
return static_cast<QComboBox*>(ptr)->currentIndex();
}
int QComboBox_FindData(void* ptr, void* data, int role, long long flags)
{
return static_cast<QComboBox*>(ptr)->findData(*static_cast<QVariant*>(data), role, static_cast<Qt::MatchFlag>(flags));
}
int QComboBox_FindText(void* ptr, char* text, long long flags)
{
return static_cast<QComboBox*>(ptr)->findText(QString(text), static_cast<Qt::MatchFlag>(flags));
}
int QComboBox_MaxCount(void* ptr)
{
return static_cast<QComboBox*>(ptr)->maxCount();
}
int QComboBox_MaxVisibleItems(void* ptr)
{
return static_cast<QComboBox*>(ptr)->maxVisibleItems();
}
int QComboBox_MinimumContentsLength(void* ptr)
{
return static_cast<QComboBox*>(ptr)->minimumContentsLength();
}
int QComboBox_ModelColumn(void* ptr)
{
return static_cast<QComboBox*>(ptr)->modelColumn();
}
void QComboBox_InitStyleOption(void* ptr, void* option)
{
static_cast<QComboBox*>(ptr)->initStyleOption(static_cast<QStyleOptionComboBox*>(option));
}
class MyQCommandLinkButton: public QCommandLinkButton
{
public:
MyQCommandLinkButton(QWidget *parent) : QCommandLinkButton(parent) {};
MyQCommandLinkButton(const QString &text, QWidget *parent) : QCommandLinkButton(text, parent) {};
MyQCommandLinkButton(const QString &text, const QString &description, QWidget *parent) : QCommandLinkButton(text, description, parent) {};
void paintEvent(QPaintEvent * vqp) { callbackQPushButton_PaintEvent(this, vqp); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
int heightForWidth(int width) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), width); };
void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); };
void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void showMenu() { callbackQPushButton_ShowMenu(this); };
void animateClick(int msec) { callbackQAbstractButton_AnimateClick(this, msec); };
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void checkStateSet() { callbackQAbstractButton_CheckStateSet(this); };
void click() { callbackQAbstractButton_Click(this); };
void Signal_Clicked(bool checked) { callbackQAbstractButton_Clicked(this, checked); };
void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void nextCheckState() { callbackQAbstractButton_NextCheckState(this); };
void Signal_Pressed() { callbackQAbstractButton_Pressed(this); };
void Signal_Released() { callbackQAbstractButton_Released(this); };
void setChecked(bool vbo) { callbackQAbstractButton_SetChecked(this, vbo); };
void setIconSize(const QSize & size) { callbackQAbstractButton_SetIconSize(this, const_cast<QSize*>(&size)); };
void toggle() { callbackQAbstractButton_Toggle(this); };
void Signal_Toggled(bool checked) { callbackQAbstractButton_Toggled(this, checked); };
bool hitButton(const QPoint & pos) const { return callbackQAbstractButton_HitButton(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&pos)) != 0; };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QCommandLinkButton_NewQCommandLinkButton(void* parent)
{
return new MyQCommandLinkButton(static_cast<QWidget*>(parent));
}
void* QCommandLinkButton_NewQCommandLinkButton2(char* text, void* parent)
{
return new MyQCommandLinkButton(QString(text), static_cast<QWidget*>(parent));
}
void* QCommandLinkButton_NewQCommandLinkButton3(char* text, char* description, void* parent)
{
return new MyQCommandLinkButton(QString(text), QString(description), static_cast<QWidget*>(parent));
}
void QCommandLinkButton_SetDescription(void* ptr, char* description)
{
static_cast<QCommandLinkButton*>(ptr)->setDescription(QString(description));
}
void QCommandLinkButton_DestroyQCommandLinkButton(void* ptr)
{
static_cast<QCommandLinkButton*>(ptr)->~QCommandLinkButton();
}
struct QtWidgets_PackedString QCommandLinkButton_Description(void* ptr)
{
return ({ QByteArray t0a86ba = static_cast<QCommandLinkButton*>(ptr)->description().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t0a86ba.prepend("WHITESPACE").constData()+10), t0a86ba.size()-10 }; });
}
class MyQCommonStyle: public QCommonStyle
{
public:
MyQCommonStyle() : QCommonStyle() {};
void polish(QApplication * app) { callbackQStyle_Polish2(this, app); };
void polish(QPalette & pal) { callbackQStyle_Polish(this, static_cast<QPalette*>(&pal)); };
void polish(QWidget * widget) { callbackQStyle_Polish3(this, widget); };
void unpolish(QApplication * application) { callbackQStyle_Unpolish2(this, application); };
void unpolish(QWidget * widget) { callbackQStyle_Unpolish(this, widget); };
QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap & pixmap, const QStyleOption * opt) const { return *static_cast<QPixmap*>(callbackQCommonStyle_GeneratedIconPixmap(const_cast<void*>(static_cast<const void*>(this)), iconMode, const_cast<QPixmap*>(&pixmap), const_cast<QStyleOption*>(opt))); };
QPixmap standardPixmap(QStyle::StandardPixmap sp, const QStyleOption * option, const QWidget * widget) const { return *static_cast<QPixmap*>(callbackQCommonStyle_StandardPixmap(const_cast<void*>(static_cast<const void*>(this)), sp, const_cast<QStyleOption*>(option), const_cast<QWidget*>(widget))); };
QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex * opt, QStyle::SubControl sc, const QWidget * widget) const { return *static_cast<QRect*>(callbackQCommonStyle_SubControlRect(const_cast<void*>(static_cast<const void*>(this)), cc, const_cast<QStyleOptionComplex*>(opt), sc, const_cast<QWidget*>(widget))); };
QRect subElementRect(QStyle::SubElement sr, const QStyleOption * opt, const QWidget * widget) const { return *static_cast<QRect*>(callbackQCommonStyle_SubElementRect(const_cast<void*>(static_cast<const void*>(this)), sr, const_cast<QStyleOption*>(opt), const_cast<QWidget*>(widget))); };
QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption * opt, const QSize & csz, const QWidget * widget) const { return *static_cast<QSize*>(callbackQCommonStyle_SizeFromContents(const_cast<void*>(static_cast<const void*>(this)), ct, const_cast<QStyleOption*>(opt), const_cast<QSize*>(&csz), const_cast<QWidget*>(widget))); };
SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex * opt, const QPoint & pt, const QWidget * widget) const { return static_cast<QStyle::SubControl>(callbackQCommonStyle_HitTestComplexControl(const_cast<void*>(static_cast<const void*>(this)), cc, const_cast<QStyleOptionComplex*>(opt), const_cast<QPoint*>(&pt), const_cast<QWidget*>(widget))); };
int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption * option, const QWidget * widget) const { return callbackQCommonStyle_LayoutSpacing(const_cast<void*>(static_cast<const void*>(this)), control1, control2, orientation, const_cast<QStyleOption*>(option), const_cast<QWidget*>(widget)); };
int pixelMetric(QStyle::PixelMetric m, const QStyleOption * opt, const QWidget * widget) const { return callbackQCommonStyle_PixelMetric(const_cast<void*>(static_cast<const void*>(this)), m, const_cast<QStyleOption*>(opt), const_cast<QWidget*>(widget)); };
int styleHint(QStyle::StyleHint sh, const QStyleOption * opt, const QWidget * widget, QStyleHintReturn * hret) const { return callbackQCommonStyle_StyleHint(const_cast<void*>(static_cast<const void*>(this)), sh, const_cast<QStyleOption*>(opt), const_cast<QWidget*>(widget), hret); };
void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex * opt, QPainter * p, const QWidget * widget) const { callbackQCommonStyle_DrawComplexControl(const_cast<void*>(static_cast<const void*>(this)), cc, const_cast<QStyleOptionComplex*>(opt), p, const_cast<QWidget*>(widget)); };
void drawControl(QStyle::ControlElement element, const QStyleOption * opt, QPainter * p, const QWidget * widget) const { callbackQCommonStyle_DrawControl(const_cast<void*>(static_cast<const void*>(this)), element, const_cast<QStyleOption*>(opt), p, const_cast<QWidget*>(widget)); };
void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption * opt, QPainter * p, const QWidget * widget) const { callbackQCommonStyle_DrawPrimitive(const_cast<void*>(static_cast<const void*>(this)), pe, const_cast<QStyleOption*>(opt), p, const_cast<QWidget*>(widget)); };
QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption * option, const QWidget * widget) const { return *static_cast<QIcon*>(callbackQCommonStyle_StandardIcon(const_cast<void*>(static_cast<const void*>(this)), standardIcon, const_cast<QStyleOption*>(option), const_cast<QWidget*>(widget))); };
QPalette standardPalette() const { return *static_cast<QPalette*>(callbackQStyle_StandardPalette(const_cast<void*>(static_cast<const void*>(this)))); };
QRect itemPixmapRect(const QRect & rectangle, int alignment, const QPixmap & pixmap) const { return *static_cast<QRect*>(callbackQStyle_ItemPixmapRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QRect*>(&rectangle), alignment, const_cast<QPixmap*>(&pixmap))); };
QRect itemTextRect(const QFontMetrics & metrics, const QRect & rectangle, int alignment, bool enabled, const QString & text) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };return *static_cast<QRect*>(callbackQStyle_ItemTextRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QFontMetrics*>(&metrics), const_cast<QRect*>(&rectangle), alignment, enabled, textPacked)); };
void drawItemPixmap(QPainter * painter, const QRect & rectangle, int alignment, const QPixmap & pixmap) const { callbackQStyle_DrawItemPixmap(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QRect*>(&rectangle), alignment, const_cast<QPixmap*>(&pixmap)); };
void drawItemText(QPainter * painter, const QRect & rectangle, int alignment, const QPalette & palette, bool enabled, const QString & text, QPalette::ColorRole textRole) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQStyle_DrawItemText(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QRect*>(&rectangle), alignment, const_cast<QPalette*>(&palette), enabled, textPacked, textRole); };
bool event(QEvent * e) { return callbackQStyle_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQStyle_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQStyle_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQStyle_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQStyle_CustomEvent(this, event); };
void deleteLater() { callbackQStyle_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQStyle_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQStyle_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQStyle_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQStyle_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQStyle_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QCommonStyle_NewQCommonStyle()
{
return new MyQCommonStyle();
}
void QCommonStyle_DestroyQCommonStyle(void* ptr)
{
static_cast<QCommonStyle*>(ptr)->~QCommonStyle();
}
void* QCommonStyle_GeneratedIconPixmap(void* ptr, long long iconMode, void* pixmap, void* opt)
{
return new QPixmap(static_cast<QCommonStyle*>(ptr)->generatedIconPixmap(static_cast<QIcon::Mode>(iconMode), *static_cast<QPixmap*>(pixmap), static_cast<QStyleOption*>(opt)));
}
void* QCommonStyle_GeneratedIconPixmapDefault(void* ptr, long long iconMode, void* pixmap, void* opt)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
return new QPixmap(static_cast<QProxyStyle*>(ptr)->QProxyStyle::generatedIconPixmap(static_cast<QIcon::Mode>(iconMode), *static_cast<QPixmap*>(pixmap), static_cast<QStyleOption*>(opt)));
} else {
return new QPixmap(static_cast<QCommonStyle*>(ptr)->QCommonStyle::generatedIconPixmap(static_cast<QIcon::Mode>(iconMode), *static_cast<QPixmap*>(pixmap), static_cast<QStyleOption*>(opt)));
}
}
void* QCommonStyle_StandardPixmap(void* ptr, long long sp, void* option, void* widget)
{
return new QPixmap(static_cast<QCommonStyle*>(ptr)->standardPixmap(static_cast<QStyle::StandardPixmap>(sp), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget)));
}
void* QCommonStyle_StandardPixmapDefault(void* ptr, long long sp, void* option, void* widget)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
return new QPixmap(static_cast<QProxyStyle*>(ptr)->QProxyStyle::standardPixmap(static_cast<QStyle::StandardPixmap>(sp), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget)));
} else {
return new QPixmap(static_cast<QCommonStyle*>(ptr)->QCommonStyle::standardPixmap(static_cast<QStyle::StandardPixmap>(sp), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget)));
}
}
void* QCommonStyle_SubControlRect(void* ptr, long long cc, void* opt, long long sc, void* widget)
{
return ({ QRect tmpValue = static_cast<QCommonStyle*>(ptr)->subControlRect(static_cast<QStyle::ComplexControl>(cc), static_cast<QStyleOptionComplex*>(opt), static_cast<QStyle::SubControl>(sc), static_cast<QWidget*>(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QCommonStyle_SubControlRectDefault(void* ptr, long long cc, void* opt, long long sc, void* widget)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QProxyStyle*>(ptr)->QProxyStyle::subControlRect(static_cast<QStyle::ComplexControl>(cc), static_cast<QStyleOptionComplex*>(opt), static_cast<QStyle::SubControl>(sc), static_cast<QWidget*>(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRect tmpValue = static_cast<QCommonStyle*>(ptr)->QCommonStyle::subControlRect(static_cast<QStyle::ComplexControl>(cc), static_cast<QStyleOptionComplex*>(opt), static_cast<QStyle::SubControl>(sc), static_cast<QWidget*>(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QCommonStyle_SubElementRect(void* ptr, long long sr, void* opt, void* widget)
{
return ({ QRect tmpValue = static_cast<QCommonStyle*>(ptr)->subElementRect(static_cast<QStyle::SubElement>(sr), static_cast<QStyleOption*>(opt), static_cast<QWidget*>(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QCommonStyle_SubElementRectDefault(void* ptr, long long sr, void* opt, void* widget)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QProxyStyle*>(ptr)->QProxyStyle::subElementRect(static_cast<QStyle::SubElement>(sr), static_cast<QStyleOption*>(opt), static_cast<QWidget*>(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRect tmpValue = static_cast<QCommonStyle*>(ptr)->QCommonStyle::subElementRect(static_cast<QStyle::SubElement>(sr), static_cast<QStyleOption*>(opt), static_cast<QWidget*>(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QCommonStyle_SizeFromContents(void* ptr, long long ct, void* opt, void* csz, void* widget)
{
return ({ QSize tmpValue = static_cast<QCommonStyle*>(ptr)->sizeFromContents(static_cast<QStyle::ContentsType>(ct), static_cast<QStyleOption*>(opt), *static_cast<QSize*>(csz), static_cast<QWidget*>(widget)); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QCommonStyle_SizeFromContentsDefault(void* ptr, long long ct, void* opt, void* csz, void* widget)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QProxyStyle*>(ptr)->QProxyStyle::sizeFromContents(static_cast<QStyle::ContentsType>(ct), static_cast<QStyleOption*>(opt), *static_cast<QSize*>(csz), static_cast<QWidget*>(widget)); new QSize(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSize tmpValue = static_cast<QCommonStyle*>(ptr)->QCommonStyle::sizeFromContents(static_cast<QStyle::ContentsType>(ct), static_cast<QStyleOption*>(opt), *static_cast<QSize*>(csz), static_cast<QWidget*>(widget)); new QSize(tmpValue.width(), tmpValue.height()); });
}
}
long long QCommonStyle_HitTestComplexControl(void* ptr, long long cc, void* opt, void* pt, void* widget)
{
return static_cast<QCommonStyle*>(ptr)->hitTestComplexControl(static_cast<QStyle::ComplexControl>(cc), static_cast<QStyleOptionComplex*>(opt), *static_cast<QPoint*>(pt), static_cast<QWidget*>(widget));
}
long long QCommonStyle_HitTestComplexControlDefault(void* ptr, long long cc, void* opt, void* pt, void* widget)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
return static_cast<QProxyStyle*>(ptr)->QProxyStyle::hitTestComplexControl(static_cast<QStyle::ComplexControl>(cc), static_cast<QStyleOptionComplex*>(opt), *static_cast<QPoint*>(pt), static_cast<QWidget*>(widget));
} else {
return static_cast<QCommonStyle*>(ptr)->QCommonStyle::hitTestComplexControl(static_cast<QStyle::ComplexControl>(cc), static_cast<QStyleOptionComplex*>(opt), *static_cast<QPoint*>(pt), static_cast<QWidget*>(widget));
}
}
int QCommonStyle_LayoutSpacing(void* ptr, long long control1, long long control2, long long orientation, void* option, void* widget)
{
return static_cast<QCommonStyle*>(ptr)->layoutSpacing(static_cast<QSizePolicy::ControlType>(control1), static_cast<QSizePolicy::ControlType>(control2), static_cast<Qt::Orientation>(orientation), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget));
}
int QCommonStyle_LayoutSpacingDefault(void* ptr, long long control1, long long control2, long long orientation, void* option, void* widget)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
return static_cast<QProxyStyle*>(ptr)->QProxyStyle::layoutSpacing(static_cast<QSizePolicy::ControlType>(control1), static_cast<QSizePolicy::ControlType>(control2), static_cast<Qt::Orientation>(orientation), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget));
} else {
return static_cast<QCommonStyle*>(ptr)->QCommonStyle::layoutSpacing(static_cast<QSizePolicy::ControlType>(control1), static_cast<QSizePolicy::ControlType>(control2), static_cast<Qt::Orientation>(orientation), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget));
}
}
int QCommonStyle_PixelMetric(void* ptr, long long m, void* opt, void* widget)
{
return static_cast<QCommonStyle*>(ptr)->pixelMetric(static_cast<QStyle::PixelMetric>(m), static_cast<QStyleOption*>(opt), static_cast<QWidget*>(widget));
}
int QCommonStyle_PixelMetricDefault(void* ptr, long long m, void* opt, void* widget)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
return static_cast<QProxyStyle*>(ptr)->QProxyStyle::pixelMetric(static_cast<QStyle::PixelMetric>(m), static_cast<QStyleOption*>(opt), static_cast<QWidget*>(widget));
} else {
return static_cast<QCommonStyle*>(ptr)->QCommonStyle::pixelMetric(static_cast<QStyle::PixelMetric>(m), static_cast<QStyleOption*>(opt), static_cast<QWidget*>(widget));
}
}
int QCommonStyle_StyleHint(void* ptr, long long sh, void* opt, void* widget, void* hret)
{
return static_cast<QCommonStyle*>(ptr)->styleHint(static_cast<QStyle::StyleHint>(sh), static_cast<QStyleOption*>(opt), static_cast<QWidget*>(widget), static_cast<QStyleHintReturn*>(hret));
}
int QCommonStyle_StyleHintDefault(void* ptr, long long sh, void* opt, void* widget, void* hret)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
return static_cast<QProxyStyle*>(ptr)->QProxyStyle::styleHint(static_cast<QStyle::StyleHint>(sh), static_cast<QStyleOption*>(opt), static_cast<QWidget*>(widget), static_cast<QStyleHintReturn*>(hret));
} else {
return static_cast<QCommonStyle*>(ptr)->QCommonStyle::styleHint(static_cast<QStyle::StyleHint>(sh), static_cast<QStyleOption*>(opt), static_cast<QWidget*>(widget), static_cast<QStyleHintReturn*>(hret));
}
}
void QCommonStyle_DrawComplexControl(void* ptr, long long cc, void* opt, void* p, void* widget)
{
static_cast<QCommonStyle*>(ptr)->drawComplexControl(static_cast<QStyle::ComplexControl>(cc), static_cast<QStyleOptionComplex*>(opt), static_cast<QPainter*>(p), static_cast<QWidget*>(widget));
}
void QCommonStyle_DrawComplexControlDefault(void* ptr, long long cc, void* opt, void* p, void* widget)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::drawComplexControl(static_cast<QStyle::ComplexControl>(cc), static_cast<QStyleOptionComplex*>(opt), static_cast<QPainter*>(p), static_cast<QWidget*>(widget));
} else {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::drawComplexControl(static_cast<QStyle::ComplexControl>(cc), static_cast<QStyleOptionComplex*>(opt), static_cast<QPainter*>(p), static_cast<QWidget*>(widget));
}
}
void QCommonStyle_DrawControl(void* ptr, long long element, void* opt, void* p, void* widget)
{
static_cast<QCommonStyle*>(ptr)->drawControl(static_cast<QStyle::ControlElement>(element), static_cast<QStyleOption*>(opt), static_cast<QPainter*>(p), static_cast<QWidget*>(widget));
}
void QCommonStyle_DrawControlDefault(void* ptr, long long element, void* opt, void* p, void* widget)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::drawControl(static_cast<QStyle::ControlElement>(element), static_cast<QStyleOption*>(opt), static_cast<QPainter*>(p), static_cast<QWidget*>(widget));
} else {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::drawControl(static_cast<QStyle::ControlElement>(element), static_cast<QStyleOption*>(opt), static_cast<QPainter*>(p), static_cast<QWidget*>(widget));
}
}
void QCommonStyle_DrawPrimitive(void* ptr, long long pe, void* opt, void* p, void* widget)
{
static_cast<QCommonStyle*>(ptr)->drawPrimitive(static_cast<QStyle::PrimitiveElement>(pe), static_cast<QStyleOption*>(opt), static_cast<QPainter*>(p), static_cast<QWidget*>(widget));
}
void QCommonStyle_DrawPrimitiveDefault(void* ptr, long long pe, void* opt, void* p, void* widget)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::drawPrimitive(static_cast<QStyle::PrimitiveElement>(pe), static_cast<QStyleOption*>(opt), static_cast<QPainter*>(p), static_cast<QWidget*>(widget));
} else {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::drawPrimitive(static_cast<QStyle::PrimitiveElement>(pe), static_cast<QStyleOption*>(opt), static_cast<QPainter*>(p), static_cast<QWidget*>(widget));
}
}
void* QCommonStyle_StandardIcon(void* ptr, long long standardIcon, void* option, void* widget)
{
return new QIcon(static_cast<QCommonStyle*>(ptr)->standardIcon(static_cast<QStyle::StandardPixmap>(standardIcon), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget)));
}
void* QCommonStyle_StandardIconDefault(void* ptr, long long standardIcon, void* option, void* widget)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
return new QIcon(static_cast<QProxyStyle*>(ptr)->QProxyStyle::standardIcon(static_cast<QStyle::StandardPixmap>(standardIcon), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget)));
} else {
return new QIcon(static_cast<QCommonStyle*>(ptr)->QCommonStyle::standardIcon(static_cast<QStyle::StandardPixmap>(standardIcon), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget)));
}
}
class MyQCompleter: public QCompleter
{
public:
MyQCompleter(QAbstractItemModel *model, QObject *parent) : QCompleter(model, parent) {};
MyQCompleter(QObject *parent) : QCompleter(parent) {};
MyQCompleter(const QStringList &list, QObject *parent) : QCompleter(list, parent) {};
bool event(QEvent * ev) { return callbackQCompleter_Event(this, ev) != 0; };
bool eventFilter(QObject * o, QEvent * e) { return callbackQCompleter_EventFilter(this, o, e) != 0; };
void Signal_Activated2(const QModelIndex & index) { callbackQCompleter_Activated2(this, const_cast<QModelIndex*>(&index)); };
void Signal_Activated(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQCompleter_Activated(this, textPacked); };
void complete(const QRect & rect) { callbackQCompleter_Complete(this, const_cast<QRect*>(&rect)); };
void Signal_Highlighted2(const QModelIndex & index) { callbackQCompleter_Highlighted2(this, const_cast<QModelIndex*>(&index)); };
void Signal_Highlighted(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQCompleter_Highlighted(this, textPacked); };
void setCompletionPrefix(const QString & prefix) { QByteArray tb4ebfe = prefix.toUtf8(); QtWidgets_PackedString prefixPacked = { const_cast<char*>(tb4ebfe.prepend("WHITESPACE").constData()+10), tb4ebfe.size()-10 };callbackQCompleter_SetCompletionPrefix(this, prefixPacked); };
void setWrapAround(bool wrap) { callbackQCompleter_SetWrapAround(this, wrap); };
QString pathFromIndex(const QModelIndex & index) const { return QString(callbackQCompleter_PathFromIndex(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
QStringList splitPath(const QString & path) const { QByteArray t3150ec = path.toUtf8(); QtWidgets_PackedString pathPacked = { const_cast<char*>(t3150ec.prepend("WHITESPACE").constData()+10), t3150ec.size()-10 };return QString(callbackQCompleter_SplitPath(const_cast<void*>(static_cast<const void*>(this)), pathPacked)).split("|", QString::SkipEmptyParts); };
void childEvent(QChildEvent * event) { callbackQCompleter_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQCompleter_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQCompleter_CustomEvent(this, event); };
void deleteLater() { callbackQCompleter_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQCompleter_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQCompleter_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQCompleter_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQCompleter_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQCompleter_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QCompleter_NewQCompleter2(void* model, void* parent)
{
return new MyQCompleter(static_cast<QAbstractItemModel*>(model), static_cast<QObject*>(parent));
}
void* QCompleter_NewQCompleter(void* parent)
{
return new MyQCompleter(static_cast<QObject*>(parent));
}
void* QCompleter_NewQCompleter3(char* list, void* parent)
{
return new MyQCompleter(QString(list).split("|", QString::SkipEmptyParts), static_cast<QObject*>(parent));
}
char QCompleter_EventDefault(void* ptr, void* ev)
{
return static_cast<QCompleter*>(ptr)->QCompleter::event(static_cast<QEvent*>(ev));
}
char QCompleter_EventFilterDefault(void* ptr, void* o, void* e)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(o))) {
return static_cast<QCompleter*>(ptr)->QCompleter::eventFilter(static_cast<QGraphicsObject*>(o), static_cast<QEvent*>(e));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(o))) {
return static_cast<QCompleter*>(ptr)->QCompleter::eventFilter(static_cast<QGraphicsWidget*>(o), static_cast<QEvent*>(e));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(o))) {
return static_cast<QCompleter*>(ptr)->QCompleter::eventFilter(static_cast<QLayout*>(o), static_cast<QEvent*>(e));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(o))) {
return static_cast<QCompleter*>(ptr)->QCompleter::eventFilter(static_cast<QWidget*>(o), static_cast<QEvent*>(e));
} else {
return static_cast<QCompleter*>(ptr)->QCompleter::eventFilter(static_cast<QObject*>(o), static_cast<QEvent*>(e));
}
}
char QCompleter_SetCurrentRow(void* ptr, int row)
{
return static_cast<QCompleter*>(ptr)->setCurrentRow(row);
}
void QCompleter_ConnectActivated2(void* ptr)
{
QObject::connect(static_cast<QCompleter*>(ptr), static_cast<void (QCompleter::*)(const QModelIndex &)>(&QCompleter::activated), static_cast<MyQCompleter*>(ptr), static_cast<void (MyQCompleter::*)(const QModelIndex &)>(&MyQCompleter::Signal_Activated2));
}
void QCompleter_DisconnectActivated2(void* ptr)
{
QObject::disconnect(static_cast<QCompleter*>(ptr), static_cast<void (QCompleter::*)(const QModelIndex &)>(&QCompleter::activated), static_cast<MyQCompleter*>(ptr), static_cast<void (MyQCompleter::*)(const QModelIndex &)>(&MyQCompleter::Signal_Activated2));
}
void QCompleter_Activated2(void* ptr, void* index)
{
static_cast<QCompleter*>(ptr)->activated(*static_cast<QModelIndex*>(index));
}
void QCompleter_ConnectActivated(void* ptr)
{
QObject::connect(static_cast<QCompleter*>(ptr), static_cast<void (QCompleter::*)(const QString &)>(&QCompleter::activated), static_cast<MyQCompleter*>(ptr), static_cast<void (MyQCompleter::*)(const QString &)>(&MyQCompleter::Signal_Activated));
}
void QCompleter_DisconnectActivated(void* ptr)
{
QObject::disconnect(static_cast<QCompleter*>(ptr), static_cast<void (QCompleter::*)(const QString &)>(&QCompleter::activated), static_cast<MyQCompleter*>(ptr), static_cast<void (MyQCompleter::*)(const QString &)>(&MyQCompleter::Signal_Activated));
}
void QCompleter_Activated(void* ptr, char* text)
{
static_cast<QCompleter*>(ptr)->activated(QString(text));
}
void QCompleter_Complete(void* ptr, void* rect)
{
QMetaObject::invokeMethod(static_cast<QCompleter*>(ptr), "complete", Q_ARG(QRect, *static_cast<QRect*>(rect)));
}
void QCompleter_CompleteDefault(void* ptr, void* rect)
{
static_cast<QCompleter*>(ptr)->QCompleter::complete(*static_cast<QRect*>(rect));
}
void QCompleter_ConnectHighlighted2(void* ptr)
{
QObject::connect(static_cast<QCompleter*>(ptr), static_cast<void (QCompleter::*)(const QModelIndex &)>(&QCompleter::highlighted), static_cast<MyQCompleter*>(ptr), static_cast<void (MyQCompleter::*)(const QModelIndex &)>(&MyQCompleter::Signal_Highlighted2));
}
void QCompleter_DisconnectHighlighted2(void* ptr)
{
QObject::disconnect(static_cast<QCompleter*>(ptr), static_cast<void (QCompleter::*)(const QModelIndex &)>(&QCompleter::highlighted), static_cast<MyQCompleter*>(ptr), static_cast<void (MyQCompleter::*)(const QModelIndex &)>(&MyQCompleter::Signal_Highlighted2));
}
void QCompleter_Highlighted2(void* ptr, void* index)
{
static_cast<QCompleter*>(ptr)->highlighted(*static_cast<QModelIndex*>(index));
}
void QCompleter_ConnectHighlighted(void* ptr)
{
QObject::connect(static_cast<QCompleter*>(ptr), static_cast<void (QCompleter::*)(const QString &)>(&QCompleter::highlighted), static_cast<MyQCompleter*>(ptr), static_cast<void (MyQCompleter::*)(const QString &)>(&MyQCompleter::Signal_Highlighted));
}
void QCompleter_DisconnectHighlighted(void* ptr)
{
QObject::disconnect(static_cast<QCompleter*>(ptr), static_cast<void (QCompleter::*)(const QString &)>(&QCompleter::highlighted), static_cast<MyQCompleter*>(ptr), static_cast<void (MyQCompleter::*)(const QString &)>(&MyQCompleter::Signal_Highlighted));
}
void QCompleter_Highlighted(void* ptr, char* text)
{
static_cast<QCompleter*>(ptr)->highlighted(QString(text));
}
void QCompleter_SetCaseSensitivity(void* ptr, long long caseSensitivity)
{
static_cast<QCompleter*>(ptr)->setCaseSensitivity(static_cast<Qt::CaseSensitivity>(caseSensitivity));
}
void QCompleter_SetCompletionColumn(void* ptr, int column)
{
static_cast<QCompleter*>(ptr)->setCompletionColumn(column);
}
void QCompleter_SetCompletionMode(void* ptr, long long mode)
{
static_cast<QCompleter*>(ptr)->setCompletionMode(static_cast<QCompleter::CompletionMode>(mode));
}
void QCompleter_SetCompletionPrefix(void* ptr, char* prefix)
{
QMetaObject::invokeMethod(static_cast<QCompleter*>(ptr), "setCompletionPrefix", Q_ARG(QString, QString(prefix)));
}
void QCompleter_SetCompletionPrefixDefault(void* ptr, char* prefix)
{
static_cast<QCompleter*>(ptr)->QCompleter::setCompletionPrefix(QString(prefix));
}
void QCompleter_SetCompletionRole(void* ptr, int role)
{
static_cast<QCompleter*>(ptr)->setCompletionRole(role);
}
void QCompleter_SetFilterMode(void* ptr, long long filterMode)
{
static_cast<QCompleter*>(ptr)->setFilterMode(static_cast<Qt::MatchFlag>(filterMode));
}
void QCompleter_SetMaxVisibleItems(void* ptr, int maxItems)
{
static_cast<QCompleter*>(ptr)->setMaxVisibleItems(maxItems);
}
void QCompleter_SetModel(void* ptr, void* model)
{
static_cast<QCompleter*>(ptr)->setModel(static_cast<QAbstractItemModel*>(model));
}
void QCompleter_SetModelSorting(void* ptr, long long sorting)
{
static_cast<QCompleter*>(ptr)->setModelSorting(static_cast<QCompleter::ModelSorting>(sorting));
}
void QCompleter_SetPopup(void* ptr, void* popup)
{
static_cast<QCompleter*>(ptr)->setPopup(static_cast<QAbstractItemView*>(popup));
}
void QCompleter_SetWrapAround(void* ptr, char wrap)
{
QMetaObject::invokeMethod(static_cast<QCompleter*>(ptr), "setWrapAround", Q_ARG(bool, wrap != 0));
}
void QCompleter_SetWrapAroundDefault(void* ptr, char wrap)
{
static_cast<QCompleter*>(ptr)->QCompleter::setWrapAround(wrap != 0);
}
long long QCompleter_CompletionMode(void* ptr)
{
return static_cast<QCompleter*>(ptr)->completionMode();
}
void QCompleter_SetWidget(void* ptr, void* widget)
{
static_cast<QCompleter*>(ptr)->setWidget(static_cast<QWidget*>(widget));
}
void QCompleter_DestroyQCompleter(void* ptr)
{
static_cast<QCompleter*>(ptr)->~QCompleter();
}
long long QCompleter_ModelSorting(void* ptr)
{
return static_cast<QCompleter*>(ptr)->modelSorting();
}
void* QCompleter_CompletionModel(void* ptr)
{
return static_cast<QCompleter*>(ptr)->completionModel();
}
void* QCompleter_Model(void* ptr)
{
return static_cast<QCompleter*>(ptr)->model();
}
void* QCompleter_Popup(void* ptr)
{
return static_cast<QCompleter*>(ptr)->popup();
}
void* QCompleter_CurrentIndex(void* ptr)
{
return new QModelIndex(static_cast<QCompleter*>(ptr)->currentIndex());
}
struct QtWidgets_PackedString QCompleter_CompletionPrefix(void* ptr)
{
return ({ QByteArray t26112f = static_cast<QCompleter*>(ptr)->completionPrefix().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t26112f.prepend("WHITESPACE").constData()+10), t26112f.size()-10 }; });
}
struct QtWidgets_PackedString QCompleter_CurrentCompletion(void* ptr)
{
return ({ QByteArray t7ce42a = static_cast<QCompleter*>(ptr)->currentCompletion().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t7ce42a.prepend("WHITESPACE").constData()+10), t7ce42a.size()-10 }; });
}
struct QtWidgets_PackedString QCompleter_PathFromIndex(void* ptr, void* index)
{
return ({ QByteArray t37a887 = static_cast<QCompleter*>(ptr)->pathFromIndex(*static_cast<QModelIndex*>(index)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t37a887.prepend("WHITESPACE").constData()+10), t37a887.size()-10 }; });
}
struct QtWidgets_PackedString QCompleter_PathFromIndexDefault(void* ptr, void* index)
{
return ({ QByteArray td0fb01 = static_cast<QCompleter*>(ptr)->QCompleter::pathFromIndex(*static_cast<QModelIndex*>(index)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(td0fb01.prepend("WHITESPACE").constData()+10), td0fb01.size()-10 }; });
}
struct QtWidgets_PackedString QCompleter_SplitPath(void* ptr, char* path)
{
return ({ QByteArray t3137ee = static_cast<QCompleter*>(ptr)->splitPath(QString(path)).join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t3137ee.prepend("WHITESPACE").constData()+10), t3137ee.size()-10 }; });
}
struct QtWidgets_PackedString QCompleter_SplitPathDefault(void* ptr, char* path)
{
return ({ QByteArray t8a6dff = static_cast<QCompleter*>(ptr)->QCompleter::splitPath(QString(path)).join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t8a6dff.prepend("WHITESPACE").constData()+10), t8a6dff.size()-10 }; });
}
void* QCompleter_Widget(void* ptr)
{
return static_cast<QCompleter*>(ptr)->widget();
}
long long QCompleter_CaseSensitivity(void* ptr)
{
return static_cast<QCompleter*>(ptr)->caseSensitivity();
}
long long QCompleter_FilterMode(void* ptr)
{
return static_cast<QCompleter*>(ptr)->filterMode();
}
char QCompleter_WrapAround(void* ptr)
{
return static_cast<QCompleter*>(ptr)->wrapAround();
}
int QCompleter_CompletionColumn(void* ptr)
{
return static_cast<QCompleter*>(ptr)->completionColumn();
}
int QCompleter_CompletionCount(void* ptr)
{
return static_cast<QCompleter*>(ptr)->completionCount();
}
int QCompleter_CompletionRole(void* ptr)
{
return static_cast<QCompleter*>(ptr)->completionRole();
}
int QCompleter_CurrentRow(void* ptr)
{
return static_cast<QCompleter*>(ptr)->currentRow();
}
int QCompleter_MaxVisibleItems(void* ptr)
{
return static_cast<QCompleter*>(ptr)->maxVisibleItems();
}
void* QCompleter___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QCompleter___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QCompleter___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QCompleter___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QCompleter___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QCompleter___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QCompleter___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QCompleter___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QCompleter___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QCompleter___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QCompleter___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QCompleter___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QCompleter___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QCompleter___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QCompleter___children_newList(void* ptr)
{
return new QList<QObject *>;
}
void QCompleter_ChildEventDefault(void* ptr, void* event)
{
static_cast<QCompleter*>(ptr)->QCompleter::childEvent(static_cast<QChildEvent*>(event));
}
void QCompleter_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QCompleter*>(ptr)->QCompleter::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QCompleter_CustomEventDefault(void* ptr, void* event)
{
static_cast<QCompleter*>(ptr)->QCompleter::customEvent(static_cast<QEvent*>(event));
}
void QCompleter_DeleteLaterDefault(void* ptr)
{
static_cast<QCompleter*>(ptr)->QCompleter::deleteLater();
}
void QCompleter_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QCompleter*>(ptr)->QCompleter::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QCompleter_TimerEventDefault(void* ptr, void* event)
{
static_cast<QCompleter*>(ptr)->QCompleter::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QCompleter_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QCompleter*>(ptr)->QCompleter::metaObject());
}
class MyQDataWidgetMapper: public QDataWidgetMapper
{
public:
MyQDataWidgetMapper(QObject *parent) : QDataWidgetMapper(parent) {};
void setCurrentIndex(int index) { callbackQDataWidgetMapper_SetCurrentIndex(this, index); };
bool submit() { return callbackQDataWidgetMapper_Submit(this) != 0; };
void Signal_CurrentIndexChanged(int index) { callbackQDataWidgetMapper_CurrentIndexChanged(this, index); };
void revert() { callbackQDataWidgetMapper_Revert(this); };
void setCurrentModelIndex(const QModelIndex & index) { callbackQDataWidgetMapper_SetCurrentModelIndex(this, const_cast<QModelIndex*>(&index)); };
void toFirst() { callbackQDataWidgetMapper_ToFirst(this); };
void toLast() { callbackQDataWidgetMapper_ToLast(this); };
void toNext() { callbackQDataWidgetMapper_ToNext(this); };
void toPrevious() { callbackQDataWidgetMapper_ToPrevious(this); };
bool event(QEvent * e) { return callbackQDataWidgetMapper_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQDataWidgetMapper_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQDataWidgetMapper_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQDataWidgetMapper_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQDataWidgetMapper_CustomEvent(this, event); };
void deleteLater() { callbackQDataWidgetMapper_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQDataWidgetMapper_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQDataWidgetMapper_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQDataWidgetMapper_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQDataWidgetMapper_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQDataWidgetMapper_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QDataWidgetMapper_SetCurrentIndex(void* ptr, int index)
{
QMetaObject::invokeMethod(static_cast<QDataWidgetMapper*>(ptr), "setCurrentIndex", Q_ARG(int, index));
}
void QDataWidgetMapper_SetCurrentIndexDefault(void* ptr, int index)
{
static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::setCurrentIndex(index);
}
void QDataWidgetMapper_SetOrientation(void* ptr, long long aOrientation)
{
static_cast<QDataWidgetMapper*>(ptr)->setOrientation(static_cast<Qt::Orientation>(aOrientation));
}
void* QDataWidgetMapper_NewQDataWidgetMapper(void* parent)
{
return new MyQDataWidgetMapper(static_cast<QObject*>(parent));
}
char QDataWidgetMapper_Submit(void* ptr)
{
bool returnArg;
QMetaObject::invokeMethod(static_cast<QDataWidgetMapper*>(ptr), "submit", Q_RETURN_ARG(bool, returnArg));
return returnArg;
}
char QDataWidgetMapper_SubmitDefault(void* ptr)
{
return static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::submit();
}
void QDataWidgetMapper_AddMapping(void* ptr, void* widget, int section)
{
static_cast<QDataWidgetMapper*>(ptr)->addMapping(static_cast<QWidget*>(widget), section);
}
void QDataWidgetMapper_AddMapping2(void* ptr, void* widget, int section, void* propertyName)
{
static_cast<QDataWidgetMapper*>(ptr)->addMapping(static_cast<QWidget*>(widget), section, *static_cast<QByteArray*>(propertyName));
}
void QDataWidgetMapper_ClearMapping(void* ptr)
{
static_cast<QDataWidgetMapper*>(ptr)->clearMapping();
}
void QDataWidgetMapper_ConnectCurrentIndexChanged(void* ptr)
{
QObject::connect(static_cast<QDataWidgetMapper*>(ptr), static_cast<void (QDataWidgetMapper::*)(int)>(&QDataWidgetMapper::currentIndexChanged), static_cast<MyQDataWidgetMapper*>(ptr), static_cast<void (MyQDataWidgetMapper::*)(int)>(&MyQDataWidgetMapper::Signal_CurrentIndexChanged));
}
void QDataWidgetMapper_DisconnectCurrentIndexChanged(void* ptr)
{
QObject::disconnect(static_cast<QDataWidgetMapper*>(ptr), static_cast<void (QDataWidgetMapper::*)(int)>(&QDataWidgetMapper::currentIndexChanged), static_cast<MyQDataWidgetMapper*>(ptr), static_cast<void (MyQDataWidgetMapper::*)(int)>(&MyQDataWidgetMapper::Signal_CurrentIndexChanged));
}
void QDataWidgetMapper_CurrentIndexChanged(void* ptr, int index)
{
static_cast<QDataWidgetMapper*>(ptr)->currentIndexChanged(index);
}
void QDataWidgetMapper_RemoveMapping(void* ptr, void* widget)
{
static_cast<QDataWidgetMapper*>(ptr)->removeMapping(static_cast<QWidget*>(widget));
}
void QDataWidgetMapper_Revert(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QDataWidgetMapper*>(ptr), "revert");
}
void QDataWidgetMapper_RevertDefault(void* ptr)
{
static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::revert();
}
void QDataWidgetMapper_SetCurrentModelIndex(void* ptr, void* index)
{
QMetaObject::invokeMethod(static_cast<QDataWidgetMapper*>(ptr), "setCurrentModelIndex", Q_ARG(QModelIndex, *static_cast<QModelIndex*>(index)));
}
void QDataWidgetMapper_SetCurrentModelIndexDefault(void* ptr, void* index)
{
static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::setCurrentModelIndex(*static_cast<QModelIndex*>(index));
}
void QDataWidgetMapper_SetItemDelegate(void* ptr, void* delegate)
{
static_cast<QDataWidgetMapper*>(ptr)->setItemDelegate(static_cast<QAbstractItemDelegate*>(delegate));
}
void QDataWidgetMapper_SetModel(void* ptr, void* model)
{
static_cast<QDataWidgetMapper*>(ptr)->setModel(static_cast<QAbstractItemModel*>(model));
}
void QDataWidgetMapper_SetRootIndex(void* ptr, void* index)
{
static_cast<QDataWidgetMapper*>(ptr)->setRootIndex(*static_cast<QModelIndex*>(index));
}
void QDataWidgetMapper_SetSubmitPolicy(void* ptr, long long policy)
{
static_cast<QDataWidgetMapper*>(ptr)->setSubmitPolicy(static_cast<QDataWidgetMapper::SubmitPolicy>(policy));
}
void QDataWidgetMapper_ToFirst(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QDataWidgetMapper*>(ptr), "toFirst");
}
void QDataWidgetMapper_ToFirstDefault(void* ptr)
{
static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::toFirst();
}
void QDataWidgetMapper_ToLast(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QDataWidgetMapper*>(ptr), "toLast");
}
void QDataWidgetMapper_ToLastDefault(void* ptr)
{
static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::toLast();
}
void QDataWidgetMapper_ToNext(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QDataWidgetMapper*>(ptr), "toNext");
}
void QDataWidgetMapper_ToNextDefault(void* ptr)
{
static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::toNext();
}
void QDataWidgetMapper_ToPrevious(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QDataWidgetMapper*>(ptr), "toPrevious");
}
void QDataWidgetMapper_ToPreviousDefault(void* ptr)
{
static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::toPrevious();
}
void QDataWidgetMapper_DestroyQDataWidgetMapper(void* ptr)
{
static_cast<QDataWidgetMapper*>(ptr)->~QDataWidgetMapper();
}
void* QDataWidgetMapper_ItemDelegate(void* ptr)
{
return static_cast<QDataWidgetMapper*>(ptr)->itemDelegate();
}
void* QDataWidgetMapper_Model(void* ptr)
{
return static_cast<QDataWidgetMapper*>(ptr)->model();
}
void* QDataWidgetMapper_MappedPropertyName(void* ptr, void* widget)
{
return new QByteArray(static_cast<QDataWidgetMapper*>(ptr)->mappedPropertyName(static_cast<QWidget*>(widget)));
}
void* QDataWidgetMapper_RootIndex(void* ptr)
{
return new QModelIndex(static_cast<QDataWidgetMapper*>(ptr)->rootIndex());
}
void* QDataWidgetMapper_MappedWidgetAt(void* ptr, int section)
{
return static_cast<QDataWidgetMapper*>(ptr)->mappedWidgetAt(section);
}
long long QDataWidgetMapper_Orientation(void* ptr)
{
return static_cast<QDataWidgetMapper*>(ptr)->orientation();
}
long long QDataWidgetMapper_SubmitPolicy(void* ptr)
{
return static_cast<QDataWidgetMapper*>(ptr)->submitPolicy();
}
int QDataWidgetMapper_CurrentIndex(void* ptr)
{
return static_cast<QDataWidgetMapper*>(ptr)->currentIndex();
}
int QDataWidgetMapper_MappedSection(void* ptr, void* widget)
{
return static_cast<QDataWidgetMapper*>(ptr)->mappedSection(static_cast<QWidget*>(widget));
}
void* QDataWidgetMapper___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QDataWidgetMapper___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QDataWidgetMapper___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QDataWidgetMapper___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QDataWidgetMapper___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QDataWidgetMapper___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QDataWidgetMapper___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QDataWidgetMapper___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QDataWidgetMapper___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QDataWidgetMapper___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QDataWidgetMapper___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QDataWidgetMapper___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QDataWidgetMapper___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QDataWidgetMapper___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QDataWidgetMapper___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QDataWidgetMapper_EventDefault(void* ptr, void* e)
{
return static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::event(static_cast<QEvent*>(e));
}
char QDataWidgetMapper_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QDataWidgetMapper_ChildEventDefault(void* ptr, void* event)
{
static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::childEvent(static_cast<QChildEvent*>(event));
}
void QDataWidgetMapper_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QDataWidgetMapper_CustomEventDefault(void* ptr, void* event)
{
static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::customEvent(static_cast<QEvent*>(event));
}
void QDataWidgetMapper_DeleteLaterDefault(void* ptr)
{
static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::deleteLater();
}
void QDataWidgetMapper_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QDataWidgetMapper_TimerEventDefault(void* ptr, void* event)
{
static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QDataWidgetMapper_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QDataWidgetMapper*>(ptr)->QDataWidgetMapper::metaObject());
}
class MyQDateEdit: public QDateEdit
{
public:
MyQDateEdit(QWidget *parent) : QDateEdit(parent) {};
MyQDateEdit(const QDate &date, QWidget *parent) : QDateEdit(date, parent) {};
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
void clear() { callbackQDateTimeEdit_Clear(this); };
void Signal_DateChanged(const QDate & date) { callbackQDateTimeEdit_DateChanged(this, const_cast<QDate*>(&date)); };
void Signal_DateTimeChanged(const QDateTime & datetime) { callbackQDateTimeEdit_DateTimeChanged(this, const_cast<QDateTime*>(&datetime)); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void setDate(const QDate & date) { callbackQDateTimeEdit_SetDate(this, const_cast<QDate*>(&date)); };
void setDateTime(const QDateTime & dateTime) { callbackQDateTimeEdit_SetDateTime(this, const_cast<QDateTime*>(&dateTime)); };
void setTime(const QTime & time) { callbackQDateTimeEdit_SetTime(this, const_cast<QTime*>(&time)); };
void stepBy(int steps) { callbackQAbstractSpinBox_StepBy(this, steps); };
void Signal_TimeChanged(const QTime & time) { callbackQDateTimeEdit_TimeChanged(this, const_cast<QTime*>(&time)); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
QDateTime dateTimeFromText(const QString & text) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };return *static_cast<QDateTime*>(callbackQDateTimeEdit_DateTimeFromText(const_cast<void*>(static_cast<const void*>(this)), textPacked)); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QString textFromDateTime(const QDateTime & dateTime) const { return QString(callbackQDateTimeEdit_TextFromDateTime(const_cast<void*>(static_cast<const void*>(this)), const_cast<QDateTime*>(&dateTime))); };
QValidator::State validate(QString & text, int & pos) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };return static_cast<QValidator::State>(callbackQAbstractSpinBox_Validate(const_cast<void*>(static_cast<const void*>(this)), textPacked, pos)); };
StepEnabled stepEnabled() const { return static_cast<QAbstractSpinBox::StepEnabledFlag>(callbackQAbstractSpinBox_StepEnabled(const_cast<void*>(static_cast<const void*>(this)))); };
void fixup(QString & input) const { QByteArray t140f86 = input.toUtf8(); QtWidgets_PackedString inputPacked = { const_cast<char*>(t140f86.prepend("WHITESPACE").constData()+10), t140f86.size()-10 };callbackQAbstractSpinBox_Fixup(const_cast<void*>(static_cast<const void*>(this)), inputPacked); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_EditingFinished() { callbackQAbstractSpinBox_EditingFinished(this); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void selectAll() { callbackQAbstractSpinBox_SelectAll(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void stepDown() { callbackQAbstractSpinBox_StepDown(this); };
void stepUp() { callbackQAbstractSpinBox_StepUp(this); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QDateEdit_NewQDateEdit(void* parent)
{
return new MyQDateEdit(static_cast<QWidget*>(parent));
}
void* QDateEdit_NewQDateEdit2(void* date, void* parent)
{
return new MyQDateEdit(*static_cast<QDate*>(date), static_cast<QWidget*>(parent));
}
void QDateEdit_DestroyQDateEdit(void* ptr)
{
static_cast<QDateEdit*>(ptr)->~QDateEdit();
}
class MyQDateTimeEdit: public QDateTimeEdit
{
public:
MyQDateTimeEdit(QWidget *parent) : QDateTimeEdit(parent) {};
MyQDateTimeEdit(const QDate &date, QWidget *parent) : QDateTimeEdit(date, parent) {};
MyQDateTimeEdit(const QDateTime &datetime, QWidget *parent) : QDateTimeEdit(datetime, parent) {};
MyQDateTimeEdit(const QTime &time, QWidget *parent) : QDateTimeEdit(time, parent) {};
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
void clear() { callbackQDateTimeEdit_Clear(this); };
void Signal_DateChanged(const QDate & date) { callbackQDateTimeEdit_DateChanged(this, const_cast<QDate*>(&date)); };
void Signal_DateTimeChanged(const QDateTime & datetime) { callbackQDateTimeEdit_DateTimeChanged(this, const_cast<QDateTime*>(&datetime)); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void setDate(const QDate & date) { callbackQDateTimeEdit_SetDate(this, const_cast<QDate*>(&date)); };
void setDateTime(const QDateTime & dateTime) { callbackQDateTimeEdit_SetDateTime(this, const_cast<QDateTime*>(&dateTime)); };
void setTime(const QTime & time) { callbackQDateTimeEdit_SetTime(this, const_cast<QTime*>(&time)); };
void stepBy(int steps) { callbackQAbstractSpinBox_StepBy(this, steps); };
void Signal_TimeChanged(const QTime & time) { callbackQDateTimeEdit_TimeChanged(this, const_cast<QTime*>(&time)); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
QDateTime dateTimeFromText(const QString & text) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };return *static_cast<QDateTime*>(callbackQDateTimeEdit_DateTimeFromText(const_cast<void*>(static_cast<const void*>(this)), textPacked)); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QString textFromDateTime(const QDateTime & dateTime) const { return QString(callbackQDateTimeEdit_TextFromDateTime(const_cast<void*>(static_cast<const void*>(this)), const_cast<QDateTime*>(&dateTime))); };
QValidator::State validate(QString & text, int & pos) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };return static_cast<QValidator::State>(callbackQAbstractSpinBox_Validate(const_cast<void*>(static_cast<const void*>(this)), textPacked, pos)); };
StepEnabled stepEnabled() const { return static_cast<QAbstractSpinBox::StepEnabledFlag>(callbackQAbstractSpinBox_StepEnabled(const_cast<void*>(static_cast<const void*>(this)))); };
void fixup(QString & input) const { QByteArray t140f86 = input.toUtf8(); QtWidgets_PackedString inputPacked = { const_cast<char*>(t140f86.prepend("WHITESPACE").constData()+10), t140f86.size()-10 };callbackQAbstractSpinBox_Fixup(const_cast<void*>(static_cast<const void*>(this)), inputPacked); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_EditingFinished() { callbackQAbstractSpinBox_EditingFinished(this); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void selectAll() { callbackQAbstractSpinBox_SelectAll(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void stepDown() { callbackQAbstractSpinBox_StepDown(this); };
void stepUp() { callbackQAbstractSpinBox_StepUp(this); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QDateTimeEdit_NewQDateTimeEdit(void* parent)
{
return new MyQDateTimeEdit(static_cast<QWidget*>(parent));
}
void* QDateTimeEdit_NewQDateTimeEdit3(void* date, void* parent)
{
return new MyQDateTimeEdit(*static_cast<QDate*>(date), static_cast<QWidget*>(parent));
}
void* QDateTimeEdit_NewQDateTimeEdit2(void* datetime, void* parent)
{
return new MyQDateTimeEdit(*static_cast<QDateTime*>(datetime), static_cast<QWidget*>(parent));
}
void* QDateTimeEdit_NewQDateTimeEdit4(void* time, void* parent)
{
return new MyQDateTimeEdit(*static_cast<QTime*>(time), static_cast<QWidget*>(parent));
}
void QDateTimeEdit_Clear(void* ptr)
{
static_cast<QDateTimeEdit*>(ptr)->clear();
}
void QDateTimeEdit_ClearDefault(void* ptr)
{
if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::clear();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::clear();
} else {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::clear();
}
}
void QDateTimeEdit_ClearMaximumDate(void* ptr)
{
static_cast<QDateTimeEdit*>(ptr)->clearMaximumDate();
}
void QDateTimeEdit_ClearMaximumDateTime(void* ptr)
{
static_cast<QDateTimeEdit*>(ptr)->clearMaximumDateTime();
}
void QDateTimeEdit_ClearMaximumTime(void* ptr)
{
static_cast<QDateTimeEdit*>(ptr)->clearMaximumTime();
}
void QDateTimeEdit_ClearMinimumDate(void* ptr)
{
static_cast<QDateTimeEdit*>(ptr)->clearMinimumDate();
}
void QDateTimeEdit_ClearMinimumDateTime(void* ptr)
{
static_cast<QDateTimeEdit*>(ptr)->clearMinimumDateTime();
}
void QDateTimeEdit_ClearMinimumTime(void* ptr)
{
static_cast<QDateTimeEdit*>(ptr)->clearMinimumTime();
}
void QDateTimeEdit_ConnectDateChanged(void* ptr)
{
QObject::connect(static_cast<QDateTimeEdit*>(ptr), static_cast<void (QDateTimeEdit::*)(const QDate &)>(&QDateTimeEdit::dateChanged), static_cast<MyQDateTimeEdit*>(ptr), static_cast<void (MyQDateTimeEdit::*)(const QDate &)>(&MyQDateTimeEdit::Signal_DateChanged));
}
void QDateTimeEdit_DisconnectDateChanged(void* ptr)
{
QObject::disconnect(static_cast<QDateTimeEdit*>(ptr), static_cast<void (QDateTimeEdit::*)(const QDate &)>(&QDateTimeEdit::dateChanged), static_cast<MyQDateTimeEdit*>(ptr), static_cast<void (MyQDateTimeEdit::*)(const QDate &)>(&MyQDateTimeEdit::Signal_DateChanged));
}
void QDateTimeEdit_DateChanged(void* ptr, void* date)
{
static_cast<QDateTimeEdit*>(ptr)->dateChanged(*static_cast<QDate*>(date));
}
void QDateTimeEdit_ConnectDateTimeChanged(void* ptr)
{
QObject::connect(static_cast<QDateTimeEdit*>(ptr), static_cast<void (QDateTimeEdit::*)(const QDateTime &)>(&QDateTimeEdit::dateTimeChanged), static_cast<MyQDateTimeEdit*>(ptr), static_cast<void (MyQDateTimeEdit::*)(const QDateTime &)>(&MyQDateTimeEdit::Signal_DateTimeChanged));
}
void QDateTimeEdit_DisconnectDateTimeChanged(void* ptr)
{
QObject::disconnect(static_cast<QDateTimeEdit*>(ptr), static_cast<void (QDateTimeEdit::*)(const QDateTime &)>(&QDateTimeEdit::dateTimeChanged), static_cast<MyQDateTimeEdit*>(ptr), static_cast<void (MyQDateTimeEdit::*)(const QDateTime &)>(&MyQDateTimeEdit::Signal_DateTimeChanged));
}
void QDateTimeEdit_DateTimeChanged(void* ptr, void* datetime)
{
static_cast<QDateTimeEdit*>(ptr)->dateTimeChanged(*static_cast<QDateTime*>(datetime));
}
void QDateTimeEdit_SetCalendarPopup(void* ptr, char enable)
{
static_cast<QDateTimeEdit*>(ptr)->setCalendarPopup(enable != 0);
}
void QDateTimeEdit_SetCalendarWidget(void* ptr, void* calendarWidget)
{
static_cast<QDateTimeEdit*>(ptr)->setCalendarWidget(static_cast<QCalendarWidget*>(calendarWidget));
}
void QDateTimeEdit_SetCurrentSection(void* ptr, long long section)
{
static_cast<QDateTimeEdit*>(ptr)->setCurrentSection(static_cast<QDateTimeEdit::Section>(section));
}
void QDateTimeEdit_SetCurrentSectionIndex(void* ptr, int index)
{
static_cast<QDateTimeEdit*>(ptr)->setCurrentSectionIndex(index);
}
void QDateTimeEdit_SetDate(void* ptr, void* date)
{
QMetaObject::invokeMethod(static_cast<QDateTimeEdit*>(ptr), "setDate", Q_ARG(QDate, *static_cast<QDate*>(date)));
}
void QDateTimeEdit_SetDateDefault(void* ptr, void* date)
{
if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::setDate(*static_cast<QDate*>(date));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::setDate(*static_cast<QDate*>(date));
} else {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::setDate(*static_cast<QDate*>(date));
}
}
void QDateTimeEdit_SetDateRange(void* ptr, void* min, void* max)
{
static_cast<QDateTimeEdit*>(ptr)->setDateRange(*static_cast<QDate*>(min), *static_cast<QDate*>(max));
}
void QDateTimeEdit_SetDateTime(void* ptr, void* dateTime)
{
QMetaObject::invokeMethod(static_cast<QDateTimeEdit*>(ptr), "setDateTime", Q_ARG(QDateTime, *static_cast<QDateTime*>(dateTime)));
}
void QDateTimeEdit_SetDateTimeDefault(void* ptr, void* dateTime)
{
if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::setDateTime(*static_cast<QDateTime*>(dateTime));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::setDateTime(*static_cast<QDateTime*>(dateTime));
} else {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::setDateTime(*static_cast<QDateTime*>(dateTime));
}
}
void QDateTimeEdit_SetDateTimeRange(void* ptr, void* min, void* max)
{
static_cast<QDateTimeEdit*>(ptr)->setDateTimeRange(*static_cast<QDateTime*>(min), *static_cast<QDateTime*>(max));
}
void QDateTimeEdit_SetDisplayFormat(void* ptr, char* format)
{
static_cast<QDateTimeEdit*>(ptr)->setDisplayFormat(QString(format));
}
void QDateTimeEdit_SetMaximumDate(void* ptr, void* max)
{
static_cast<QDateTimeEdit*>(ptr)->setMaximumDate(*static_cast<QDate*>(max));
}
void QDateTimeEdit_SetMaximumDateTime(void* ptr, void* dt)
{
static_cast<QDateTimeEdit*>(ptr)->setMaximumDateTime(*static_cast<QDateTime*>(dt));
}
void QDateTimeEdit_SetMaximumTime(void* ptr, void* max)
{
static_cast<QDateTimeEdit*>(ptr)->setMaximumTime(*static_cast<QTime*>(max));
}
void QDateTimeEdit_SetMinimumDate(void* ptr, void* min)
{
static_cast<QDateTimeEdit*>(ptr)->setMinimumDate(*static_cast<QDate*>(min));
}
void QDateTimeEdit_SetMinimumDateTime(void* ptr, void* dt)
{
static_cast<QDateTimeEdit*>(ptr)->setMinimumDateTime(*static_cast<QDateTime*>(dt));
}
void QDateTimeEdit_SetMinimumTime(void* ptr, void* min)
{
static_cast<QDateTimeEdit*>(ptr)->setMinimumTime(*static_cast<QTime*>(min));
}
void QDateTimeEdit_SetSelectedSection(void* ptr, long long section)
{
static_cast<QDateTimeEdit*>(ptr)->setSelectedSection(static_cast<QDateTimeEdit::Section>(section));
}
void QDateTimeEdit_SetTime(void* ptr, void* time)
{
QMetaObject::invokeMethod(static_cast<QDateTimeEdit*>(ptr), "setTime", Q_ARG(QTime, *static_cast<QTime*>(time)));
}
void QDateTimeEdit_SetTimeDefault(void* ptr, void* time)
{
if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::setTime(*static_cast<QTime*>(time));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::setTime(*static_cast<QTime*>(time));
} else {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::setTime(*static_cast<QTime*>(time));
}
}
void QDateTimeEdit_SetTimeRange(void* ptr, void* min, void* max)
{
static_cast<QDateTimeEdit*>(ptr)->setTimeRange(*static_cast<QTime*>(min), *static_cast<QTime*>(max));
}
void QDateTimeEdit_SetTimeSpec(void* ptr, long long spec)
{
static_cast<QDateTimeEdit*>(ptr)->setTimeSpec(static_cast<Qt::TimeSpec>(spec));
}
void QDateTimeEdit_ConnectTimeChanged(void* ptr)
{
QObject::connect(static_cast<QDateTimeEdit*>(ptr), static_cast<void (QDateTimeEdit::*)(const QTime &)>(&QDateTimeEdit::timeChanged), static_cast<MyQDateTimeEdit*>(ptr), static_cast<void (MyQDateTimeEdit::*)(const QTime &)>(&MyQDateTimeEdit::Signal_TimeChanged));
}
void QDateTimeEdit_DisconnectTimeChanged(void* ptr)
{
QObject::disconnect(static_cast<QDateTimeEdit*>(ptr), static_cast<void (QDateTimeEdit::*)(const QTime &)>(&QDateTimeEdit::timeChanged), static_cast<MyQDateTimeEdit*>(ptr), static_cast<void (MyQDateTimeEdit::*)(const QTime &)>(&MyQDateTimeEdit::Signal_TimeChanged));
}
void QDateTimeEdit_TimeChanged(void* ptr, void* time)
{
static_cast<QDateTimeEdit*>(ptr)->timeChanged(*static_cast<QTime*>(time));
}
void QDateTimeEdit_DestroyQDateTimeEdit(void* ptr)
{
static_cast<QDateTimeEdit*>(ptr)->~QDateTimeEdit();
}
void* QDateTimeEdit_CalendarWidget(void* ptr)
{
return static_cast<QDateTimeEdit*>(ptr)->calendarWidget();
}
void* QDateTimeEdit_Date(void* ptr)
{
return new QDate(static_cast<QDateTimeEdit*>(ptr)->date());
}
void* QDateTimeEdit_MaximumDate(void* ptr)
{
return new QDate(static_cast<QDateTimeEdit*>(ptr)->maximumDate());
}
void* QDateTimeEdit_MinimumDate(void* ptr)
{
return new QDate(static_cast<QDateTimeEdit*>(ptr)->minimumDate());
}
void* QDateTimeEdit_DateTime(void* ptr)
{
return new QDateTime(static_cast<QDateTimeEdit*>(ptr)->dateTime());
}
void* QDateTimeEdit_DateTimeFromText(void* ptr, char* text)
{
return new QDateTime(static_cast<QDateTimeEdit*>(ptr)->dateTimeFromText(QString(text)));
}
void* QDateTimeEdit_DateTimeFromTextDefault(void* ptr, char* text)
{
if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return new QDateTime(static_cast<QTimeEdit*>(ptr)->QTimeEdit::dateTimeFromText(QString(text)));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return new QDateTime(static_cast<QDateEdit*>(ptr)->QDateEdit::dateTimeFromText(QString(text)));
} else {
return new QDateTime(static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::dateTimeFromText(QString(text)));
}
}
void* QDateTimeEdit_MaximumDateTime(void* ptr)
{
return new QDateTime(static_cast<QDateTimeEdit*>(ptr)->maximumDateTime());
}
void* QDateTimeEdit_MinimumDateTime(void* ptr)
{
return new QDateTime(static_cast<QDateTimeEdit*>(ptr)->minimumDateTime());
}
struct QtWidgets_PackedString QDateTimeEdit_DisplayFormat(void* ptr)
{
return ({ QByteArray t18a499 = static_cast<QDateTimeEdit*>(ptr)->displayFormat().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t18a499.prepend("WHITESPACE").constData()+10), t18a499.size()-10 }; });
}
struct QtWidgets_PackedString QDateTimeEdit_SectionText(void* ptr, long long section)
{
return ({ QByteArray tdf4510 = static_cast<QDateTimeEdit*>(ptr)->sectionText(static_cast<QDateTimeEdit::Section>(section)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(tdf4510.prepend("WHITESPACE").constData()+10), tdf4510.size()-10 }; });
}
struct QtWidgets_PackedString QDateTimeEdit_TextFromDateTime(void* ptr, void* dateTime)
{
return ({ QByteArray t00949f = static_cast<QDateTimeEdit*>(ptr)->textFromDateTime(*static_cast<QDateTime*>(dateTime)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t00949f.prepend("WHITESPACE").constData()+10), t00949f.size()-10 }; });
}
struct QtWidgets_PackedString QDateTimeEdit_TextFromDateTimeDefault(void* ptr, void* dateTime)
{
if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return ({ QByteArray t15f412 = static_cast<QTimeEdit*>(ptr)->QTimeEdit::textFromDateTime(*static_cast<QDateTime*>(dateTime)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t15f412.prepend("WHITESPACE").constData()+10), t15f412.size()-10 }; });
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return ({ QByteArray t15f412 = static_cast<QDateEdit*>(ptr)->QDateEdit::textFromDateTime(*static_cast<QDateTime*>(dateTime)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t15f412.prepend("WHITESPACE").constData()+10), t15f412.size()-10 }; });
} else {
return ({ QByteArray t15f412 = static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::textFromDateTime(*static_cast<QDateTime*>(dateTime)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t15f412.prepend("WHITESPACE").constData()+10), t15f412.size()-10 }; });
}
}
void* QDateTimeEdit_MaximumTime(void* ptr)
{
return new QTime(static_cast<QDateTimeEdit*>(ptr)->maximumTime());
}
void* QDateTimeEdit_MinimumTime(void* ptr)
{
return new QTime(static_cast<QDateTimeEdit*>(ptr)->minimumTime());
}
void* QDateTimeEdit_Time(void* ptr)
{
return new QTime(static_cast<QDateTimeEdit*>(ptr)->time());
}
long long QDateTimeEdit_TimeSpec(void* ptr)
{
return static_cast<QDateTimeEdit*>(ptr)->timeSpec();
}
long long QDateTimeEdit_CurrentSection(void* ptr)
{
return static_cast<QDateTimeEdit*>(ptr)->currentSection();
}
long long QDateTimeEdit_SectionAt(void* ptr, int index)
{
return static_cast<QDateTimeEdit*>(ptr)->sectionAt(index);
}
long long QDateTimeEdit_DisplayedSections(void* ptr)
{
return static_cast<QDateTimeEdit*>(ptr)->displayedSections();
}
char QDateTimeEdit_CalendarPopup(void* ptr)
{
return static_cast<QDateTimeEdit*>(ptr)->calendarPopup();
}
int QDateTimeEdit_CurrentSectionIndex(void* ptr)
{
return static_cast<QDateTimeEdit*>(ptr)->currentSectionIndex();
}
int QDateTimeEdit_SectionCount(void* ptr)
{
return static_cast<QDateTimeEdit*>(ptr)->sectionCount();
}
class MyQDesktopWidget: public QDesktopWidget
{
public:
void Signal_PrimaryScreenChanged() { callbackQDesktopWidget_PrimaryScreenChanged(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void Signal_Resized(int screen) { callbackQDesktopWidget_Resized(this, screen); };
void Signal_ScreenCountChanged(int newCount) { callbackQDesktopWidget_ScreenCountChanged(this, newCount); };
void Signal_WorkAreaResized(int screen) { callbackQDesktopWidget_WorkAreaResized(this, screen); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QDesktopWidget_Screen(void* ptr, int screen)
{
return static_cast<QDesktopWidget*>(ptr)->screen(screen);
}
void QDesktopWidget_ConnectPrimaryScreenChanged(void* ptr)
{
QObject::connect(static_cast<QDesktopWidget*>(ptr), static_cast<void (QDesktopWidget::*)()>(&QDesktopWidget::primaryScreenChanged), static_cast<MyQDesktopWidget*>(ptr), static_cast<void (MyQDesktopWidget::*)()>(&MyQDesktopWidget::Signal_PrimaryScreenChanged));
}
void QDesktopWidget_DisconnectPrimaryScreenChanged(void* ptr)
{
QObject::disconnect(static_cast<QDesktopWidget*>(ptr), static_cast<void (QDesktopWidget::*)()>(&QDesktopWidget::primaryScreenChanged), static_cast<MyQDesktopWidget*>(ptr), static_cast<void (MyQDesktopWidget::*)()>(&MyQDesktopWidget::Signal_PrimaryScreenChanged));
}
void QDesktopWidget_PrimaryScreenChanged(void* ptr)
{
static_cast<QDesktopWidget*>(ptr)->primaryScreenChanged();
}
void QDesktopWidget_ConnectResized(void* ptr)
{
QObject::connect(static_cast<QDesktopWidget*>(ptr), static_cast<void (QDesktopWidget::*)(int)>(&QDesktopWidget::resized), static_cast<MyQDesktopWidget*>(ptr), static_cast<void (MyQDesktopWidget::*)(int)>(&MyQDesktopWidget::Signal_Resized));
}
void QDesktopWidget_DisconnectResized(void* ptr)
{
QObject::disconnect(static_cast<QDesktopWidget*>(ptr), static_cast<void (QDesktopWidget::*)(int)>(&QDesktopWidget::resized), static_cast<MyQDesktopWidget*>(ptr), static_cast<void (MyQDesktopWidget::*)(int)>(&MyQDesktopWidget::Signal_Resized));
}
void QDesktopWidget_Resized(void* ptr, int screen)
{
static_cast<QDesktopWidget*>(ptr)->resized(screen);
}
void QDesktopWidget_ConnectScreenCountChanged(void* ptr)
{
QObject::connect(static_cast<QDesktopWidget*>(ptr), static_cast<void (QDesktopWidget::*)(int)>(&QDesktopWidget::screenCountChanged), static_cast<MyQDesktopWidget*>(ptr), static_cast<void (MyQDesktopWidget::*)(int)>(&MyQDesktopWidget::Signal_ScreenCountChanged));
}
void QDesktopWidget_DisconnectScreenCountChanged(void* ptr)
{
QObject::disconnect(static_cast<QDesktopWidget*>(ptr), static_cast<void (QDesktopWidget::*)(int)>(&QDesktopWidget::screenCountChanged), static_cast<MyQDesktopWidget*>(ptr), static_cast<void (MyQDesktopWidget::*)(int)>(&MyQDesktopWidget::Signal_ScreenCountChanged));
}
void QDesktopWidget_ScreenCountChanged(void* ptr, int newCount)
{
static_cast<QDesktopWidget*>(ptr)->screenCountChanged(newCount);
}
void QDesktopWidget_ConnectWorkAreaResized(void* ptr)
{
QObject::connect(static_cast<QDesktopWidget*>(ptr), static_cast<void (QDesktopWidget::*)(int)>(&QDesktopWidget::workAreaResized), static_cast<MyQDesktopWidget*>(ptr), static_cast<void (MyQDesktopWidget::*)(int)>(&MyQDesktopWidget::Signal_WorkAreaResized));
}
void QDesktopWidget_DisconnectWorkAreaResized(void* ptr)
{
QObject::disconnect(static_cast<QDesktopWidget*>(ptr), static_cast<void (QDesktopWidget::*)(int)>(&QDesktopWidget::workAreaResized), static_cast<MyQDesktopWidget*>(ptr), static_cast<void (MyQDesktopWidget::*)(int)>(&MyQDesktopWidget::Signal_WorkAreaResized));
}
void QDesktopWidget_WorkAreaResized(void* ptr, int screen)
{
static_cast<QDesktopWidget*>(ptr)->workAreaResized(screen);
}
char QDesktopWidget_IsVirtualDesktop(void* ptr)
{
return static_cast<QDesktopWidget*>(ptr)->isVirtualDesktop();
}
void* QDesktopWidget_AvailableGeometry3(void* ptr, void* p)
{
return ({ QRect tmpValue = static_cast<QDesktopWidget*>(ptr)->availableGeometry(*static_cast<QPoint*>(p)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QDesktopWidget_AvailableGeometry2(void* ptr, void* widget)
{
return ({ QRect tmpValue = static_cast<QDesktopWidget*>(ptr)->availableGeometry(static_cast<QWidget*>(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QDesktopWidget_AvailableGeometry(void* ptr, int screen)
{
return ({ QRect tmpValue = static_cast<QDesktopWidget*>(ptr)->availableGeometry(screen); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QDesktopWidget_ScreenGeometry3(void* ptr, void* p)
{
return ({ QRect tmpValue = static_cast<QDesktopWidget*>(ptr)->screenGeometry(*static_cast<QPoint*>(p)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QDesktopWidget_ScreenGeometry2(void* ptr, void* widget)
{
return ({ QRect tmpValue = static_cast<QDesktopWidget*>(ptr)->screenGeometry(static_cast<QWidget*>(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QDesktopWidget_ScreenGeometry(void* ptr, int screen)
{
return ({ QRect tmpValue = static_cast<QDesktopWidget*>(ptr)->screenGeometry(screen); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
int QDesktopWidget_PrimaryScreen(void* ptr)
{
return static_cast<QDesktopWidget*>(ptr)->primaryScreen();
}
int QDesktopWidget_ScreenCount(void* ptr)
{
return static_cast<QDesktopWidget*>(ptr)->screenCount();
}
int QDesktopWidget_ScreenNumber2(void* ptr, void* point)
{
return static_cast<QDesktopWidget*>(ptr)->screenNumber(*static_cast<QPoint*>(point));
}
int QDesktopWidget_ScreenNumber(void* ptr, void* widget)
{
return static_cast<QDesktopWidget*>(ptr)->screenNumber(static_cast<QWidget*>(widget));
}
class MyQDial: public QDial
{
public:
MyQDial(QWidget *parent) : QDial(parent) {};
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * pe) { callbackQWidget_PaintEvent(this, pe); };
void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); };
void setNotchesVisible(bool visible) { callbackQDial_SetNotchesVisible(this, visible); };
void setWrapping(bool on) { callbackQDial_SetWrapping(this, on); };
void sliderChange(QAbstractSlider::SliderChange change) { callbackQAbstractSlider_SliderChange(this, change); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void Signal_ActionTriggered(int action) { callbackQAbstractSlider_ActionTriggered(this, action); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
void keyPressEvent(QKeyEvent * ev) { callbackQWidget_KeyPressEvent(this, ev); };
void Signal_RangeChanged(int min, int max) { callbackQAbstractSlider_RangeChanged(this, min, max); };
void setOrientation(Qt::Orientation vqt) { callbackQAbstractSlider_SetOrientation(this, vqt); };
void setRange(int min, int max) { callbackQAbstractSlider_SetRange(this, min, max); };
void setValue(int vin) { callbackQAbstractSlider_SetValue(this, vin); };
void Signal_SliderMoved(int value) { callbackQAbstractSlider_SliderMoved(this, value); };
void Signal_SliderPressed() { callbackQAbstractSlider_SliderPressed(this); };
void Signal_SliderReleased() { callbackQAbstractSlider_SliderReleased(this); };
void Signal_ValueChanged(int value) { callbackQAbstractSlider_ValueChanged(this, value); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QDial_NewQDial(void* parent)
{
return new MyQDial(static_cast<QWidget*>(parent));
}
void QDial_SetNotchTarget(void* ptr, double target)
{
static_cast<QDial*>(ptr)->setNotchTarget(target);
}
void QDial_SetNotchesVisible(void* ptr, char visible)
{
QMetaObject::invokeMethod(static_cast<QDial*>(ptr), "setNotchesVisible", Q_ARG(bool, visible != 0));
}
void QDial_SetNotchesVisibleDefault(void* ptr, char visible)
{
static_cast<QDial*>(ptr)->QDial::setNotchesVisible(visible != 0);
}
void QDial_SetWrapping(void* ptr, char on)
{
QMetaObject::invokeMethod(static_cast<QDial*>(ptr), "setWrapping", Q_ARG(bool, on != 0));
}
void QDial_SetWrappingDefault(void* ptr, char on)
{
static_cast<QDial*>(ptr)->QDial::setWrapping(on != 0);
}
void QDial_DestroyQDial(void* ptr)
{
static_cast<QDial*>(ptr)->~QDial();
}
char QDial_NotchesVisible(void* ptr)
{
return static_cast<QDial*>(ptr)->notchesVisible();
}
char QDial_Wrapping(void* ptr)
{
return static_cast<QDial*>(ptr)->wrapping();
}
int QDial_NotchSize(void* ptr)
{
return static_cast<QDial*>(ptr)->notchSize();
}
double QDial_NotchTarget(void* ptr)
{
return static_cast<QDial*>(ptr)->notchTarget();
}
void QDial_InitStyleOption(void* ptr, void* option)
{
static_cast<QDial*>(ptr)->initStyleOption(static_cast<QStyleOptionSlider*>(option));
}
class MyQDialog: public QDialog
{
public:
MyQDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f) {};
int exec() { return callbackQDialog_Exec(this); };
void accept() { callbackQDialog_Accept(this); };
void Signal_Accepted() { callbackQDialog_Accepted(this); };
void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void done(int r) { callbackQDialog_Done(this, r); };
void Signal_Finished(int result) { callbackQDialog_Finished(this, result); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void open() { callbackQDialog_Open(this); };
void reject() { callbackQDialog_Reject(this); };
void Signal_Rejected() { callbackQDialog_Rejected(this); };
void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); };
void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QDialog_SetModal(void* ptr, char modal)
{
static_cast<QDialog*>(ptr)->setModal(modal != 0);
}
void QDialog_SetSizeGripEnabled(void* ptr, char vbo)
{
static_cast<QDialog*>(ptr)->setSizeGripEnabled(vbo != 0);
}
void* QDialog_NewQDialog(void* parent, long long fo)
{
return new MyQDialog(static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(fo));
}
int QDialog_Exec(void* ptr)
{
int returnArg;
QMetaObject::invokeMethod(static_cast<QDialog*>(ptr), "exec", Q_RETURN_ARG(int, returnArg));
return returnArg;
}
int QDialog_ExecDefault(void* ptr)
{
if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizard*>(ptr)->QWizard::exec();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressDialog*>(ptr)->QProgressDialog::exec();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QMessageBox*>(ptr)->QMessageBox::exec();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QInputDialog*>(ptr)->QInputDialog::exec();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontDialog*>(ptr)->QFontDialog::exec();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFileDialog*>(ptr)->QFileDialog::exec();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
return static_cast<QErrorMessage*>(ptr)->QErrorMessage::exec();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QColorDialog*>(ptr)->QColorDialog::exec();
} else {
return static_cast<QDialog*>(ptr)->QDialog::exec();
}
}
void QDialog_Accept(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QDialog*>(ptr), "accept");
}
void QDialog_AcceptDefault(void* ptr)
{
if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::accept();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::accept();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::accept();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::accept();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::accept();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::accept();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::accept();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::accept();
} else {
static_cast<QDialog*>(ptr)->QDialog::accept();
}
}
void QDialog_ConnectAccepted(void* ptr)
{
QObject::connect(static_cast<QDialog*>(ptr), static_cast<void (QDialog::*)()>(&QDialog::accepted), static_cast<MyQDialog*>(ptr), static_cast<void (MyQDialog::*)()>(&MyQDialog::Signal_Accepted));
}
void QDialog_DisconnectAccepted(void* ptr)
{
QObject::disconnect(static_cast<QDialog*>(ptr), static_cast<void (QDialog::*)()>(&QDialog::accepted), static_cast<MyQDialog*>(ptr), static_cast<void (MyQDialog::*)()>(&MyQDialog::Signal_Accepted));
}
void QDialog_Accepted(void* ptr)
{
static_cast<QDialog*>(ptr)->accepted();
}
void QDialog_Done(void* ptr, int r)
{
QMetaObject::invokeMethod(static_cast<QDialog*>(ptr), "done", Q_ARG(int, r));
}
void QDialog_DoneDefault(void* ptr, int r)
{
if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::done(r);
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::done(r);
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::done(r);
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::done(r);
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::done(r);
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::done(r);
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::done(r);
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::done(r);
} else {
static_cast<QDialog*>(ptr)->QDialog::done(r);
}
}
void QDialog_ConnectFinished(void* ptr)
{
QObject::connect(static_cast<QDialog*>(ptr), static_cast<void (QDialog::*)(int)>(&QDialog::finished), static_cast<MyQDialog*>(ptr), static_cast<void (MyQDialog::*)(int)>(&MyQDialog::Signal_Finished));
}
void QDialog_DisconnectFinished(void* ptr)
{
QObject::disconnect(static_cast<QDialog*>(ptr), static_cast<void (QDialog::*)(int)>(&QDialog::finished), static_cast<MyQDialog*>(ptr), static_cast<void (MyQDialog::*)(int)>(&MyQDialog::Signal_Finished));
}
void QDialog_Finished(void* ptr, int result)
{
static_cast<QDialog*>(ptr)->finished(result);
}
void QDialog_Open(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QDialog*>(ptr), "open");
}
void QDialog_OpenDefault(void* ptr)
{
if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::open();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::open();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::open();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::open();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::open();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::open();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::open();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::open();
} else {
static_cast<QDialog*>(ptr)->QDialog::open();
}
}
void QDialog_Reject(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QDialog*>(ptr), "reject");
}
void QDialog_RejectDefault(void* ptr)
{
if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::reject();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::reject();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::reject();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::reject();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::reject();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::reject();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::reject();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::reject();
} else {
static_cast<QDialog*>(ptr)->QDialog::reject();
}
}
void QDialog_ConnectRejected(void* ptr)
{
QObject::connect(static_cast<QDialog*>(ptr), static_cast<void (QDialog::*)()>(&QDialog::rejected), static_cast<MyQDialog*>(ptr), static_cast<void (MyQDialog::*)()>(&MyQDialog::Signal_Rejected));
}
void QDialog_DisconnectRejected(void* ptr)
{
QObject::disconnect(static_cast<QDialog*>(ptr), static_cast<void (QDialog::*)()>(&QDialog::rejected), static_cast<MyQDialog*>(ptr), static_cast<void (MyQDialog::*)()>(&MyQDialog::Signal_Rejected));
}
void QDialog_Rejected(void* ptr)
{
static_cast<QDialog*>(ptr)->rejected();
}
void QDialog_SetResult(void* ptr, int i)
{
static_cast<QDialog*>(ptr)->setResult(i);
}
void QDialog_SetVisible(void* ptr, char visible)
{
static_cast<QDialog*>(ptr)->setVisible(visible != 0);
}
void QDialog_SetVisibleDefault(void* ptr, char visible)
{
if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::setVisible(visible != 0);
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setVisible(visible != 0);
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::setVisible(visible != 0);
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::setVisible(visible != 0);
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::setVisible(visible != 0);
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::setVisible(visible != 0);
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::setVisible(visible != 0);
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::setVisible(visible != 0);
} else {
static_cast<QDialog*>(ptr)->QDialog::setVisible(visible != 0);
}
}
void QDialog_DestroyQDialog(void* ptr)
{
static_cast<QDialog*>(ptr)->~QDialog();
}
char QDialog_IsSizeGripEnabled(void* ptr)
{
return static_cast<QDialog*>(ptr)->isSizeGripEnabled();
}
int QDialog_Result(void* ptr)
{
return static_cast<QDialog*>(ptr)->result();
}
class MyQDialogButtonBox: public QDialogButtonBox
{
public:
MyQDialogButtonBox(QWidget *parent) : QDialogButtonBox(parent) {};
MyQDialogButtonBox(Qt::Orientation orientation, QWidget *parent) : QDialogButtonBox(orientation, parent) {};
MyQDialogButtonBox(StandardButtons buttons, QWidget *parent) : QDialogButtonBox(buttons, parent) {};
MyQDialogButtonBox(StandardButtons buttons, Qt::Orientation orientation, QWidget *parent) : QDialogButtonBox(buttons, orientation, parent) {};
void Signal_Accepted() { callbackQDialogButtonBox_Accepted(this); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void Signal_Clicked(QAbstractButton * button) { callbackQDialogButtonBox_Clicked(this, button); };
void Signal_HelpRequested() { callbackQDialogButtonBox_HelpRequested(this); };
void Signal_Rejected() { callbackQDialogButtonBox_Rejected(this); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QDialogButtonBox_ConnectAccepted(void* ptr)
{
QObject::connect(static_cast<QDialogButtonBox*>(ptr), static_cast<void (QDialogButtonBox::*)()>(&QDialogButtonBox::accepted), static_cast<MyQDialogButtonBox*>(ptr), static_cast<void (MyQDialogButtonBox::*)()>(&MyQDialogButtonBox::Signal_Accepted));
}
void QDialogButtonBox_DisconnectAccepted(void* ptr)
{
QObject::disconnect(static_cast<QDialogButtonBox*>(ptr), static_cast<void (QDialogButtonBox::*)()>(&QDialogButtonBox::accepted), static_cast<MyQDialogButtonBox*>(ptr), static_cast<void (MyQDialogButtonBox::*)()>(&MyQDialogButtonBox::Signal_Accepted));
}
void QDialogButtonBox_Accepted(void* ptr)
{
static_cast<QDialogButtonBox*>(ptr)->accepted();
}
void QDialogButtonBox_SetOrientation(void* ptr, long long orientation)
{
static_cast<QDialogButtonBox*>(ptr)->setOrientation(static_cast<Qt::Orientation>(orientation));
}
void* QDialogButtonBox_NewQDialogButtonBox(void* parent)
{
return new MyQDialogButtonBox(static_cast<QWidget*>(parent));
}
void* QDialogButtonBox_NewQDialogButtonBox2(long long orientation, void* parent)
{
return new MyQDialogButtonBox(static_cast<Qt::Orientation>(orientation), static_cast<QWidget*>(parent));
}
void* QDialogButtonBox_NewQDialogButtonBox3(long long buttons, void* parent)
{
return new MyQDialogButtonBox(static_cast<QDialogButtonBox::StandardButton>(buttons), static_cast<QWidget*>(parent));
}
void* QDialogButtonBox_NewQDialogButtonBox4(long long buttons, long long orientation, void* parent)
{
return new MyQDialogButtonBox(static_cast<QDialogButtonBox::StandardButton>(buttons), static_cast<Qt::Orientation>(orientation), static_cast<QWidget*>(parent));
}
void* QDialogButtonBox_AddButton3(void* ptr, long long button)
{
return static_cast<QDialogButtonBox*>(ptr)->addButton(static_cast<QDialogButtonBox::StandardButton>(button));
}
void* QDialogButtonBox_AddButton2(void* ptr, char* text, long long role)
{
return static_cast<QDialogButtonBox*>(ptr)->addButton(QString(text), static_cast<QDialogButtonBox::ButtonRole>(role));
}
void QDialogButtonBox_AddButton(void* ptr, void* button, long long role)
{
static_cast<QDialogButtonBox*>(ptr)->addButton(static_cast<QAbstractButton*>(button), static_cast<QDialogButtonBox::ButtonRole>(role));
}
void QDialogButtonBox_Clear(void* ptr)
{
static_cast<QDialogButtonBox*>(ptr)->clear();
}
void QDialogButtonBox_ConnectClicked(void* ptr)
{
QObject::connect(static_cast<QDialogButtonBox*>(ptr), static_cast<void (QDialogButtonBox::*)(QAbstractButton *)>(&QDialogButtonBox::clicked), static_cast<MyQDialogButtonBox*>(ptr), static_cast<void (MyQDialogButtonBox::*)(QAbstractButton *)>(&MyQDialogButtonBox::Signal_Clicked));
}
void QDialogButtonBox_DisconnectClicked(void* ptr)
{
QObject::disconnect(static_cast<QDialogButtonBox*>(ptr), static_cast<void (QDialogButtonBox::*)(QAbstractButton *)>(&QDialogButtonBox::clicked), static_cast<MyQDialogButtonBox*>(ptr), static_cast<void (MyQDialogButtonBox::*)(QAbstractButton *)>(&MyQDialogButtonBox::Signal_Clicked));
}
void QDialogButtonBox_Clicked(void* ptr, void* button)
{
static_cast<QDialogButtonBox*>(ptr)->clicked(static_cast<QAbstractButton*>(button));
}
void QDialogButtonBox_ConnectHelpRequested(void* ptr)
{
QObject::connect(static_cast<QDialogButtonBox*>(ptr), static_cast<void (QDialogButtonBox::*)()>(&QDialogButtonBox::helpRequested), static_cast<MyQDialogButtonBox*>(ptr), static_cast<void (MyQDialogButtonBox::*)()>(&MyQDialogButtonBox::Signal_HelpRequested));
}
void QDialogButtonBox_DisconnectHelpRequested(void* ptr)
{
QObject::disconnect(static_cast<QDialogButtonBox*>(ptr), static_cast<void (QDialogButtonBox::*)()>(&QDialogButtonBox::helpRequested), static_cast<MyQDialogButtonBox*>(ptr), static_cast<void (MyQDialogButtonBox::*)()>(&MyQDialogButtonBox::Signal_HelpRequested));
}
void QDialogButtonBox_HelpRequested(void* ptr)
{
static_cast<QDialogButtonBox*>(ptr)->helpRequested();
}
void QDialogButtonBox_ConnectRejected(void* ptr)
{
QObject::connect(static_cast<QDialogButtonBox*>(ptr), static_cast<void (QDialogButtonBox::*)()>(&QDialogButtonBox::rejected), static_cast<MyQDialogButtonBox*>(ptr), static_cast<void (MyQDialogButtonBox::*)()>(&MyQDialogButtonBox::Signal_Rejected));
}
void QDialogButtonBox_DisconnectRejected(void* ptr)
{
QObject::disconnect(static_cast<QDialogButtonBox*>(ptr), static_cast<void (QDialogButtonBox::*)()>(&QDialogButtonBox::rejected), static_cast<MyQDialogButtonBox*>(ptr), static_cast<void (MyQDialogButtonBox::*)()>(&MyQDialogButtonBox::Signal_Rejected));
}
void QDialogButtonBox_Rejected(void* ptr)
{
static_cast<QDialogButtonBox*>(ptr)->rejected();
}
void QDialogButtonBox_RemoveButton(void* ptr, void* button)
{
static_cast<QDialogButtonBox*>(ptr)->removeButton(static_cast<QAbstractButton*>(button));
}
void QDialogButtonBox_SetCenterButtons(void* ptr, char center)
{
static_cast<QDialogButtonBox*>(ptr)->setCenterButtons(center != 0);
}
void QDialogButtonBox_SetStandardButtons(void* ptr, long long buttons)
{
static_cast<QDialogButtonBox*>(ptr)->setStandardButtons(static_cast<QDialogButtonBox::StandardButton>(buttons));
}
void QDialogButtonBox_DestroyQDialogButtonBox(void* ptr)
{
static_cast<QDialogButtonBox*>(ptr)->~QDialogButtonBox();
}
long long QDialogButtonBox_ButtonRole(void* ptr, void* button)
{
return static_cast<QDialogButtonBox*>(ptr)->buttonRole(static_cast<QAbstractButton*>(button));
}
struct QtWidgets_PackedList QDialogButtonBox_Buttons(void* ptr)
{
return ({ QList<QAbstractButton *>* tmpValue = new QList<QAbstractButton *>(static_cast<QDialogButtonBox*>(ptr)->buttons()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QDialogButtonBox_Button(void* ptr, long long which)
{
return static_cast<QDialogButtonBox*>(ptr)->button(static_cast<QDialogButtonBox::StandardButton>(which));
}
long long QDialogButtonBox_Orientation(void* ptr)
{
return static_cast<QDialogButtonBox*>(ptr)->orientation();
}
long long QDialogButtonBox_StandardButton(void* ptr, void* button)
{
return static_cast<QDialogButtonBox*>(ptr)->standardButton(static_cast<QAbstractButton*>(button));
}
long long QDialogButtonBox_StandardButtons(void* ptr)
{
return static_cast<QDialogButtonBox*>(ptr)->standardButtons();
}
char QDialogButtonBox_CenterButtons(void* ptr)
{
return static_cast<QDialogButtonBox*>(ptr)->centerButtons();
}
void* QDialogButtonBox___buttons_atList(void* ptr, int i)
{
return const_cast<QAbstractButton*>(static_cast<QList<QAbstractButton *>*>(ptr)->at(i));
}
void QDialogButtonBox___buttons_setList(void* ptr, void* i)
{
static_cast<QList<QAbstractButton *>*>(ptr)->append(static_cast<QAbstractButton*>(i));
}
void* QDialogButtonBox___buttons_newList(void* ptr)
{
return new QList<QAbstractButton *>;
}
class MyQDockWidget: public QDockWidget
{
public:
MyQDockWidget(QWidget *parent, Qt::WindowFlags flags) : QDockWidget(parent, flags) {};
MyQDockWidget(const QString &title, QWidget *parent, Qt::WindowFlags flags) : QDockWidget(title, parent, flags) {};
void Signal_FeaturesChanged(QDockWidget::DockWidgetFeatures features) { callbackQDockWidget_FeaturesChanged(this, features); };
void Signal_AllowedAreasChanged(Qt::DockWidgetAreas allowedAreas) { callbackQDockWidget_AllowedAreasChanged(this, allowedAreas); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_DockLocationChanged(Qt::DockWidgetArea area) { callbackQDockWidget_DockLocationChanged(this, area); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void Signal_TopLevelChanged(bool topLevel) { callbackQDockWidget_TopLevelChanged(this, topLevel); };
void Signal_VisibilityChanged(bool visible) { callbackQDockWidget_VisibilityChanged(this, visible); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QDockWidget_ConnectFeaturesChanged(void* ptr)
{
QObject::connect(static_cast<QDockWidget*>(ptr), static_cast<void (QDockWidget::*)(QDockWidget::DockWidgetFeatures)>(&QDockWidget::featuresChanged), static_cast<MyQDockWidget*>(ptr), static_cast<void (MyQDockWidget::*)(QDockWidget::DockWidgetFeatures)>(&MyQDockWidget::Signal_FeaturesChanged));
}
void QDockWidget_DisconnectFeaturesChanged(void* ptr)
{
QObject::disconnect(static_cast<QDockWidget*>(ptr), static_cast<void (QDockWidget::*)(QDockWidget::DockWidgetFeatures)>(&QDockWidget::featuresChanged), static_cast<MyQDockWidget*>(ptr), static_cast<void (MyQDockWidget::*)(QDockWidget::DockWidgetFeatures)>(&MyQDockWidget::Signal_FeaturesChanged));
}
void QDockWidget_FeaturesChanged(void* ptr, long long features)
{
static_cast<QDockWidget*>(ptr)->featuresChanged(static_cast<QDockWidget::DockWidgetFeature>(features));
}
void QDockWidget_SetFeatures(void* ptr, long long features)
{
static_cast<QDockWidget*>(ptr)->setFeatures(static_cast<QDockWidget::DockWidgetFeature>(features));
}
void* QDockWidget_NewQDockWidget2(void* parent, long long flags)
{
return new MyQDockWidget(static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(flags));
}
void* QDockWidget_NewQDockWidget(char* title, void* parent, long long flags)
{
return new MyQDockWidget(QString(title), static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(flags));
}
void QDockWidget_ConnectAllowedAreasChanged(void* ptr)
{
QObject::connect(static_cast<QDockWidget*>(ptr), static_cast<void (QDockWidget::*)(Qt::DockWidgetAreas)>(&QDockWidget::allowedAreasChanged), static_cast<MyQDockWidget*>(ptr), static_cast<void (MyQDockWidget::*)(Qt::DockWidgetAreas)>(&MyQDockWidget::Signal_AllowedAreasChanged));
}
void QDockWidget_DisconnectAllowedAreasChanged(void* ptr)
{
QObject::disconnect(static_cast<QDockWidget*>(ptr), static_cast<void (QDockWidget::*)(Qt::DockWidgetAreas)>(&QDockWidget::allowedAreasChanged), static_cast<MyQDockWidget*>(ptr), static_cast<void (MyQDockWidget::*)(Qt::DockWidgetAreas)>(&MyQDockWidget::Signal_AllowedAreasChanged));
}
void QDockWidget_AllowedAreasChanged(void* ptr, long long allowedAreas)
{
static_cast<QDockWidget*>(ptr)->allowedAreasChanged(static_cast<Qt::DockWidgetArea>(allowedAreas));
}
void QDockWidget_ConnectDockLocationChanged(void* ptr)
{
QObject::connect(static_cast<QDockWidget*>(ptr), static_cast<void (QDockWidget::*)(Qt::DockWidgetArea)>(&QDockWidget::dockLocationChanged), static_cast<MyQDockWidget*>(ptr), static_cast<void (MyQDockWidget::*)(Qt::DockWidgetArea)>(&MyQDockWidget::Signal_DockLocationChanged));
}
void QDockWidget_DisconnectDockLocationChanged(void* ptr)
{
QObject::disconnect(static_cast<QDockWidget*>(ptr), static_cast<void (QDockWidget::*)(Qt::DockWidgetArea)>(&QDockWidget::dockLocationChanged), static_cast<MyQDockWidget*>(ptr), static_cast<void (MyQDockWidget::*)(Qt::DockWidgetArea)>(&MyQDockWidget::Signal_DockLocationChanged));
}
void QDockWidget_DockLocationChanged(void* ptr, long long area)
{
static_cast<QDockWidget*>(ptr)->dockLocationChanged(static_cast<Qt::DockWidgetArea>(area));
}
void QDockWidget_SetAllowedAreas(void* ptr, long long areas)
{
static_cast<QDockWidget*>(ptr)->setAllowedAreas(static_cast<Qt::DockWidgetArea>(areas));
}
void QDockWidget_SetFloating(void* ptr, char floating)
{
static_cast<QDockWidget*>(ptr)->setFloating(floating != 0);
}
void QDockWidget_SetTitleBarWidget(void* ptr, void* widget)
{
static_cast<QDockWidget*>(ptr)->setTitleBarWidget(static_cast<QWidget*>(widget));
}
void QDockWidget_SetWidget(void* ptr, void* widget)
{
static_cast<QDockWidget*>(ptr)->setWidget(static_cast<QWidget*>(widget));
}
void QDockWidget_ConnectTopLevelChanged(void* ptr)
{
QObject::connect(static_cast<QDockWidget*>(ptr), static_cast<void (QDockWidget::*)(bool)>(&QDockWidget::topLevelChanged), static_cast<MyQDockWidget*>(ptr), static_cast<void (MyQDockWidget::*)(bool)>(&MyQDockWidget::Signal_TopLevelChanged));
}
void QDockWidget_DisconnectTopLevelChanged(void* ptr)
{
QObject::disconnect(static_cast<QDockWidget*>(ptr), static_cast<void (QDockWidget::*)(bool)>(&QDockWidget::topLevelChanged), static_cast<MyQDockWidget*>(ptr), static_cast<void (MyQDockWidget::*)(bool)>(&MyQDockWidget::Signal_TopLevelChanged));
}
void QDockWidget_TopLevelChanged(void* ptr, char topLevel)
{
static_cast<QDockWidget*>(ptr)->topLevelChanged(topLevel != 0);
}
void QDockWidget_ConnectVisibilityChanged(void* ptr)
{
QObject::connect(static_cast<QDockWidget*>(ptr), static_cast<void (QDockWidget::*)(bool)>(&QDockWidget::visibilityChanged), static_cast<MyQDockWidget*>(ptr), static_cast<void (MyQDockWidget::*)(bool)>(&MyQDockWidget::Signal_VisibilityChanged));
}
void QDockWidget_DisconnectVisibilityChanged(void* ptr)
{
QObject::disconnect(static_cast<QDockWidget*>(ptr), static_cast<void (QDockWidget::*)(bool)>(&QDockWidget::visibilityChanged), static_cast<MyQDockWidget*>(ptr), static_cast<void (MyQDockWidget::*)(bool)>(&MyQDockWidget::Signal_VisibilityChanged));
}
void QDockWidget_VisibilityChanged(void* ptr, char visible)
{
static_cast<QDockWidget*>(ptr)->visibilityChanged(visible != 0);
}
void QDockWidget_DestroyQDockWidget(void* ptr)
{
static_cast<QDockWidget*>(ptr)->~QDockWidget();
}
long long QDockWidget_Features(void* ptr)
{
return static_cast<QDockWidget*>(ptr)->features();
}
void* QDockWidget_ToggleViewAction(void* ptr)
{
return static_cast<QDockWidget*>(ptr)->toggleViewAction();
}
void* QDockWidget_TitleBarWidget(void* ptr)
{
return static_cast<QDockWidget*>(ptr)->titleBarWidget();
}
void* QDockWidget_Widget(void* ptr)
{
return static_cast<QDockWidget*>(ptr)->widget();
}
long long QDockWidget_AllowedAreas(void* ptr)
{
return static_cast<QDockWidget*>(ptr)->allowedAreas();
}
char QDockWidget_IsAreaAllowed(void* ptr, long long area)
{
return static_cast<QDockWidget*>(ptr)->isAreaAllowed(static_cast<Qt::DockWidgetArea>(area));
}
char QDockWidget_IsFloating(void* ptr)
{
return static_cast<QDockWidget*>(ptr)->isFloating();
}
void QDockWidget_InitStyleOption(void* ptr, void* option)
{
static_cast<QDockWidget*>(ptr)->initStyleOption(static_cast<QStyleOptionDockWidget*>(option));
}
class MyQDoubleSpinBox: public QDoubleSpinBox
{
public:
MyQDoubleSpinBox(QWidget *parent) : QDoubleSpinBox(parent) {};
void setValue(double val) { callbackQDoubleSpinBox_SetValue(this, val); };
void Signal_ValueChanged2(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQDoubleSpinBox_ValueChanged2(this, textPacked); };
void Signal_ValueChanged(double d) { callbackQDoubleSpinBox_ValueChanged(this, d); };
QString textFromValue(double value) const { return QString(callbackQDoubleSpinBox_TextFromValue(const_cast<void*>(static_cast<const void*>(this)), value)); };
QValidator::State validate(QString & text, int & pos) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };return static_cast<QValidator::State>(callbackQAbstractSpinBox_Validate(const_cast<void*>(static_cast<const void*>(this)), textPacked, pos)); };
double valueFromText(const QString & text) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };return callbackQDoubleSpinBox_ValueFromText(const_cast<void*>(static_cast<const void*>(this)), textPacked); };
void fixup(QString & input) const { QByteArray t140f86 = input.toUtf8(); QtWidgets_PackedString inputPacked = { const_cast<char*>(t140f86.prepend("WHITESPACE").constData()+10), t140f86.size()-10 };callbackQAbstractSpinBox_Fixup(const_cast<void*>(static_cast<const void*>(this)), inputPacked); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void clear() { callbackQAbstractSpinBox_Clear(this); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_EditingFinished() { callbackQAbstractSpinBox_EditingFinished(this); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void selectAll() { callbackQAbstractSpinBox_SelectAll(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void stepBy(int steps) { callbackQAbstractSpinBox_StepBy(this, steps); };
void stepDown() { callbackQAbstractSpinBox_StepDown(this); };
void stepUp() { callbackQAbstractSpinBox_StepUp(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
StepEnabled stepEnabled() const { return static_cast<QAbstractSpinBox::StepEnabledFlag>(callbackQAbstractSpinBox_StepEnabled(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QDoubleSpinBox_NewQDoubleSpinBox(void* parent)
{
return new MyQDoubleSpinBox(static_cast<QWidget*>(parent));
}
void QDoubleSpinBox_SetDecimals(void* ptr, int prec)
{
static_cast<QDoubleSpinBox*>(ptr)->setDecimals(prec);
}
void QDoubleSpinBox_SetMaximum(void* ptr, double max)
{
static_cast<QDoubleSpinBox*>(ptr)->setMaximum(max);
}
void QDoubleSpinBox_SetMinimum(void* ptr, double min)
{
static_cast<QDoubleSpinBox*>(ptr)->setMinimum(min);
}
void QDoubleSpinBox_SetPrefix(void* ptr, char* prefix)
{
static_cast<QDoubleSpinBox*>(ptr)->setPrefix(QString(prefix));
}
void QDoubleSpinBox_SetRange(void* ptr, double minimum, double maximum)
{
static_cast<QDoubleSpinBox*>(ptr)->setRange(minimum, maximum);
}
void QDoubleSpinBox_SetSingleStep(void* ptr, double val)
{
static_cast<QDoubleSpinBox*>(ptr)->setSingleStep(val);
}
void QDoubleSpinBox_SetSuffix(void* ptr, char* suffix)
{
static_cast<QDoubleSpinBox*>(ptr)->setSuffix(QString(suffix));
}
void QDoubleSpinBox_SetValue(void* ptr, double val)
{
QMetaObject::invokeMethod(static_cast<QDoubleSpinBox*>(ptr), "setValue", Q_ARG(double, val));
}
void QDoubleSpinBox_SetValueDefault(void* ptr, double val)
{
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::setValue(val);
}
void QDoubleSpinBox_ConnectValueChanged2(void* ptr)
{
QObject::connect(static_cast<QDoubleSpinBox*>(ptr), static_cast<void (QDoubleSpinBox::*)(const QString &)>(&QDoubleSpinBox::valueChanged), static_cast<MyQDoubleSpinBox*>(ptr), static_cast<void (MyQDoubleSpinBox::*)(const QString &)>(&MyQDoubleSpinBox::Signal_ValueChanged2));
}
void QDoubleSpinBox_DisconnectValueChanged2(void* ptr)
{
QObject::disconnect(static_cast<QDoubleSpinBox*>(ptr), static_cast<void (QDoubleSpinBox::*)(const QString &)>(&QDoubleSpinBox::valueChanged), static_cast<MyQDoubleSpinBox*>(ptr), static_cast<void (MyQDoubleSpinBox::*)(const QString &)>(&MyQDoubleSpinBox::Signal_ValueChanged2));
}
void QDoubleSpinBox_ValueChanged2(void* ptr, char* text)
{
static_cast<QDoubleSpinBox*>(ptr)->valueChanged(QString(text));
}
void QDoubleSpinBox_ConnectValueChanged(void* ptr)
{
QObject::connect(static_cast<QDoubleSpinBox*>(ptr), static_cast<void (QDoubleSpinBox::*)(double)>(&QDoubleSpinBox::valueChanged), static_cast<MyQDoubleSpinBox*>(ptr), static_cast<void (MyQDoubleSpinBox::*)(double)>(&MyQDoubleSpinBox::Signal_ValueChanged));
}
void QDoubleSpinBox_DisconnectValueChanged(void* ptr)
{
QObject::disconnect(static_cast<QDoubleSpinBox*>(ptr), static_cast<void (QDoubleSpinBox::*)(double)>(&QDoubleSpinBox::valueChanged), static_cast<MyQDoubleSpinBox*>(ptr), static_cast<void (MyQDoubleSpinBox::*)(double)>(&MyQDoubleSpinBox::Signal_ValueChanged));
}
void QDoubleSpinBox_ValueChanged(void* ptr, double d)
{
static_cast<QDoubleSpinBox*>(ptr)->valueChanged(d);
}
void QDoubleSpinBox_DestroyQDoubleSpinBox(void* ptr)
{
static_cast<QDoubleSpinBox*>(ptr)->~QDoubleSpinBox();
}
struct QtWidgets_PackedString QDoubleSpinBox_CleanText(void* ptr)
{
return ({ QByteArray t77d32e = static_cast<QDoubleSpinBox*>(ptr)->cleanText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t77d32e.prepend("WHITESPACE").constData()+10), t77d32e.size()-10 }; });
}
struct QtWidgets_PackedString QDoubleSpinBox_Prefix(void* ptr)
{
return ({ QByteArray t5a79ac = static_cast<QDoubleSpinBox*>(ptr)->prefix().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t5a79ac.prepend("WHITESPACE").constData()+10), t5a79ac.size()-10 }; });
}
struct QtWidgets_PackedString QDoubleSpinBox_Suffix(void* ptr)
{
return ({ QByteArray t4d98e3 = static_cast<QDoubleSpinBox*>(ptr)->suffix().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t4d98e3.prepend("WHITESPACE").constData()+10), t4d98e3.size()-10 }; });
}
struct QtWidgets_PackedString QDoubleSpinBox_TextFromValue(void* ptr, double value)
{
return ({ QByteArray t86f376 = static_cast<QDoubleSpinBox*>(ptr)->textFromValue(value).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t86f376.prepend("WHITESPACE").constData()+10), t86f376.size()-10 }; });
}
struct QtWidgets_PackedString QDoubleSpinBox_TextFromValueDefault(void* ptr, double value)
{
return ({ QByteArray t7bc6a7 = static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::textFromValue(value).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t7bc6a7.prepend("WHITESPACE").constData()+10), t7bc6a7.size()-10 }; });
}
double QDoubleSpinBox_Maximum(void* ptr)
{
return static_cast<QDoubleSpinBox*>(ptr)->maximum();
}
double QDoubleSpinBox_Minimum(void* ptr)
{
return static_cast<QDoubleSpinBox*>(ptr)->minimum();
}
double QDoubleSpinBox_SingleStep(void* ptr)
{
return static_cast<QDoubleSpinBox*>(ptr)->singleStep();
}
double QDoubleSpinBox_Value(void* ptr)
{
return static_cast<QDoubleSpinBox*>(ptr)->value();
}
double QDoubleSpinBox_ValueFromText(void* ptr, char* text)
{
return static_cast<QDoubleSpinBox*>(ptr)->valueFromText(QString(text));
}
double QDoubleSpinBox_ValueFromTextDefault(void* ptr, char* text)
{
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::valueFromText(QString(text));
}
int QDoubleSpinBox_Decimals(void* ptr)
{
return static_cast<QDoubleSpinBox*>(ptr)->decimals();
}
class MyQErrorMessage: public QErrorMessage
{
public:
MyQErrorMessage(QWidget *parent) : QErrorMessage(parent) {};
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void done(int a) { callbackQErrorMessage_Done(this, a); };
void showMessage(const QString & message) { QByteArray t6f9b9a = message.toUtf8(); QtWidgets_PackedString messagePacked = { const_cast<char*>(t6f9b9a.prepend("WHITESPACE").constData()+10), t6f9b9a.size()-10 };callbackQErrorMessage_ShowMessage(this, messagePacked); };
void showMessage(const QString & message, const QString & ty) { QByteArray t6f9b9a = message.toUtf8(); QtWidgets_PackedString messagePacked = { const_cast<char*>(t6f9b9a.prepend("WHITESPACE").constData()+10), t6f9b9a.size()-10 };QByteArray td0a3e7 = ty.toUtf8(); QtWidgets_PackedString tyPacked = { const_cast<char*>(td0a3e7.prepend("WHITESPACE").constData()+10), td0a3e7.size()-10 };callbackQErrorMessage_ShowMessage2(this, messagePacked, tyPacked); };
int exec() { return callbackQDialog_Exec(this); };
void accept() { callbackQDialog_Accept(this); };
void Signal_Accepted() { callbackQDialog_Accepted(this); };
void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void Signal_Finished(int result) { callbackQDialog_Finished(this, result); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void open() { callbackQDialog_Open(this); };
void reject() { callbackQDialog_Reject(this); };
void Signal_Rejected() { callbackQDialog_Rejected(this); };
void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); };
void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QErrorMessage_QErrorMessage_QtHandler()
{
return QErrorMessage::qtHandler();
}
void* QErrorMessage_NewQErrorMessage(void* parent)
{
return new MyQErrorMessage(static_cast<QWidget*>(parent));
}
void QErrorMessage_Done(void* ptr, int a)
{
static_cast<QErrorMessage*>(ptr)->done(a);
}
void QErrorMessage_DoneDefault(void* ptr, int a)
{
static_cast<QErrorMessage*>(ptr)->QErrorMessage::done(a);
}
void QErrorMessage_ShowMessage(void* ptr, char* message)
{
QMetaObject::invokeMethod(static_cast<QErrorMessage*>(ptr), "showMessage", Q_ARG(QString, QString(message)));
}
void QErrorMessage_ShowMessageDefault(void* ptr, char* message)
{
static_cast<QErrorMessage*>(ptr)->QErrorMessage::showMessage(QString(message));
}
void QErrorMessage_ShowMessage2(void* ptr, char* message, char* ty)
{
QMetaObject::invokeMethod(static_cast<QErrorMessage*>(ptr), "showMessage", Q_ARG(QString, QString(message)), Q_ARG(QString, QString(ty)));
}
void QErrorMessage_ShowMessage2Default(void* ptr, char* message, char* ty)
{
static_cast<QErrorMessage*>(ptr)->QErrorMessage::showMessage(QString(message), QString(ty));
}
void QErrorMessage_DestroyQErrorMessage(void* ptr)
{
static_cast<QErrorMessage*>(ptr)->~QErrorMessage();
}
class MyQFileDialog: public QFileDialog
{
public:
MyQFileDialog(QWidget *parent, Qt::WindowFlags flags) : QFileDialog(parent, flags) {};
MyQFileDialog(QWidget *parent, const QString &caption, const QString &directory, const QString &filter) : QFileDialog(parent, caption, directory, filter) {};
void accept() { callbackQFileDialog_Accept(this); };
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void Signal_CurrentChanged(const QString & path) { QByteArray t3150ec = path.toUtf8(); QtWidgets_PackedString pathPacked = { const_cast<char*>(t3150ec.prepend("WHITESPACE").constData()+10), t3150ec.size()-10 };callbackQFileDialog_CurrentChanged(this, pathPacked); };
void Signal_CurrentUrlChanged(const QUrl & url) { callbackQFileDialog_CurrentUrlChanged(this, const_cast<QUrl*>(&url)); };
void Signal_DirectoryEntered(const QString & directory) { QByteArray t8d392f = directory.toUtf8(); QtWidgets_PackedString directoryPacked = { const_cast<char*>(t8d392f.prepend("WHITESPACE").constData()+10), t8d392f.size()-10 };callbackQFileDialog_DirectoryEntered(this, directoryPacked); };
void Signal_DirectoryUrlEntered(const QUrl & directory) { callbackQFileDialog_DirectoryUrlEntered(this, const_cast<QUrl*>(&directory)); };
void done(int result) { callbackQFileDialog_Done(this, result); };
void Signal_FileSelected(const QString & file) { QByteArray t971c41 = file.toUtf8(); QtWidgets_PackedString filePacked = { const_cast<char*>(t971c41.prepend("WHITESPACE").constData()+10), t971c41.size()-10 };callbackQFileDialog_FileSelected(this, filePacked); };
void Signal_FilesSelected(const QStringList & selected) { QByteArray t835f3b = selected.join("|").toUtf8(); QtWidgets_PackedString selectedPacked = { const_cast<char*>(t835f3b.prepend("WHITESPACE").constData()+10), t835f3b.size()-10 };callbackQFileDialog_FilesSelected(this, selectedPacked); };
void Signal_FilterSelected(const QString & filter) { QByteArray t4bb4ca = filter.toUtf8(); QtWidgets_PackedString filterPacked = { const_cast<char*>(t4bb4ca.prepend("WHITESPACE").constData()+10), t4bb4ca.size()-10 };callbackQFileDialog_FilterSelected(this, filterPacked); };
void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); };
void Signal_UrlSelected(const QUrl & url) { callbackQFileDialog_UrlSelected(this, const_cast<QUrl*>(&url)); };
void Signal_UrlsSelected(const QList<QUrl> & urls) { callbackQFileDialog_UrlsSelected(this, ({ QList<QUrl>* tmpValue = const_cast<QList<QUrl>*>(&urls); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })); };
int exec() { return callbackQDialog_Exec(this); };
void Signal_Accepted() { callbackQDialog_Accepted(this); };
void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void Signal_Finished(int result) { callbackQDialog_Finished(this, result); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void open() { callbackQDialog_Open(this); };
void reject() { callbackQDialog_Reject(this); };
void Signal_Rejected() { callbackQDialog_Rejected(this); };
void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QFileDialog_NewQFileDialog(void* parent, long long flags)
{
return new MyQFileDialog(static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(flags));
}
void* QFileDialog_NewQFileDialog2(void* parent, char* caption, char* directory, char* filter)
{
return new MyQFileDialog(static_cast<QWidget*>(parent), QString(caption), QString(directory), QString(filter));
}
struct QtWidgets_PackedList QFileDialog_QFileDialog_GetOpenFileUrls(void* parent, char* caption, void* dir, char* filter, char* selectedFilter, long long options, char* supportedSchemes)
{
return ({ QList<QUrl>* tmpValue = new QList<QUrl>(QFileDialog::getOpenFileUrls(static_cast<QWidget*>(parent), QString(caption), *static_cast<QUrl*>(dir), QString(filter), new QString(selectedFilter), static_cast<QFileDialog::Option>(options), QString(supportedSchemes).split("|", QString::SkipEmptyParts))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedString QFileDialog_QFileDialog_GetExistingDirectory(void* parent, char* caption, char* dir, long long options)
{
return ({ QByteArray t6c26bd = QFileDialog::getExistingDirectory(static_cast<QWidget*>(parent), QString(caption), QString(dir), static_cast<QFileDialog::Option>(options)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t6c26bd.prepend("WHITESPACE").constData()+10), t6c26bd.size()-10 }; });
}
struct QtWidgets_PackedString QFileDialog_QFileDialog_GetOpenFileName(void* parent, char* caption, char* dir, char* filter, char* selectedFilter, long long options)
{
return ({ QByteArray t4d142d = QFileDialog::getOpenFileName(static_cast<QWidget*>(parent), QString(caption), QString(dir), QString(filter), new QString(selectedFilter), static_cast<QFileDialog::Option>(options)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t4d142d.prepend("WHITESPACE").constData()+10), t4d142d.size()-10 }; });
}
struct QtWidgets_PackedString QFileDialog_QFileDialog_GetSaveFileName(void* parent, char* caption, char* dir, char* filter, char* selectedFilter, long long options)
{
return ({ QByteArray t897f02 = QFileDialog::getSaveFileName(static_cast<QWidget*>(parent), QString(caption), QString(dir), QString(filter), new QString(selectedFilter), static_cast<QFileDialog::Option>(options)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t897f02.prepend("WHITESPACE").constData()+10), t897f02.size()-10 }; });
}
struct QtWidgets_PackedString QFileDialog_QFileDialog_GetOpenFileNames(void* parent, char* caption, char* dir, char* filter, char* selectedFilter, long long options)
{
return ({ QByteArray t1d7015 = QFileDialog::getOpenFileNames(static_cast<QWidget*>(parent), QString(caption), QString(dir), QString(filter), new QString(selectedFilter), static_cast<QFileDialog::Option>(options)).join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t1d7015.prepend("WHITESPACE").constData()+10), t1d7015.size()-10 }; });
}
void* QFileDialog_QFileDialog_GetExistingDirectoryUrl(void* parent, char* caption, void* dir, long long options, char* supportedSchemes)
{
return new QUrl(QFileDialog::getExistingDirectoryUrl(static_cast<QWidget*>(parent), QString(caption), *static_cast<QUrl*>(dir), static_cast<QFileDialog::Option>(options), QString(supportedSchemes).split("|", QString::SkipEmptyParts)));
}
void* QFileDialog_QFileDialog_GetOpenFileUrl(void* parent, char* caption, void* dir, char* filter, char* selectedFilter, long long options, char* supportedSchemes)
{
return new QUrl(QFileDialog::getOpenFileUrl(static_cast<QWidget*>(parent), QString(caption), *static_cast<QUrl*>(dir), QString(filter), new QString(selectedFilter), static_cast<QFileDialog::Option>(options), QString(supportedSchemes).split("|", QString::SkipEmptyParts)));
}
void* QFileDialog_QFileDialog_GetSaveFileUrl(void* parent, char* caption, void* dir, char* filter, char* selectedFilter, long long options, char* supportedSchemes)
{
return new QUrl(QFileDialog::getSaveFileUrl(static_cast<QWidget*>(parent), QString(caption), *static_cast<QUrl*>(dir), QString(filter), new QString(selectedFilter), static_cast<QFileDialog::Option>(options), QString(supportedSchemes).split("|", QString::SkipEmptyParts)));
}
char QFileDialog_RestoreState(void* ptr, void* state)
{
return static_cast<QFileDialog*>(ptr)->restoreState(*static_cast<QByteArray*>(state));
}
void QFileDialog_Accept(void* ptr)
{
static_cast<QFileDialog*>(ptr)->accept();
}
void QFileDialog_AcceptDefault(void* ptr)
{
static_cast<QFileDialog*>(ptr)->QFileDialog::accept();
}
void QFileDialog_ConnectCurrentChanged(void* ptr)
{
QObject::connect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QString &)>(&QFileDialog::currentChanged), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QString &)>(&MyQFileDialog::Signal_CurrentChanged));
}
void QFileDialog_DisconnectCurrentChanged(void* ptr)
{
QObject::disconnect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QString &)>(&QFileDialog::currentChanged), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QString &)>(&MyQFileDialog::Signal_CurrentChanged));
}
void QFileDialog_CurrentChanged(void* ptr, char* path)
{
static_cast<QFileDialog*>(ptr)->currentChanged(QString(path));
}
void QFileDialog_ConnectCurrentUrlChanged(void* ptr)
{
QObject::connect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QUrl &)>(&QFileDialog::currentUrlChanged), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QUrl &)>(&MyQFileDialog::Signal_CurrentUrlChanged));
}
void QFileDialog_DisconnectCurrentUrlChanged(void* ptr)
{
QObject::disconnect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QUrl &)>(&QFileDialog::currentUrlChanged), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QUrl &)>(&MyQFileDialog::Signal_CurrentUrlChanged));
}
void QFileDialog_CurrentUrlChanged(void* ptr, void* url)
{
static_cast<QFileDialog*>(ptr)->currentUrlChanged(*static_cast<QUrl*>(url));
}
void QFileDialog_ConnectDirectoryEntered(void* ptr)
{
QObject::connect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QString &)>(&QFileDialog::directoryEntered), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QString &)>(&MyQFileDialog::Signal_DirectoryEntered));
}
void QFileDialog_DisconnectDirectoryEntered(void* ptr)
{
QObject::disconnect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QString &)>(&QFileDialog::directoryEntered), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QString &)>(&MyQFileDialog::Signal_DirectoryEntered));
}
void QFileDialog_DirectoryEntered(void* ptr, char* directory)
{
static_cast<QFileDialog*>(ptr)->directoryEntered(QString(directory));
}
void QFileDialog_ConnectDirectoryUrlEntered(void* ptr)
{
QObject::connect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QUrl &)>(&QFileDialog::directoryUrlEntered), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QUrl &)>(&MyQFileDialog::Signal_DirectoryUrlEntered));
}
void QFileDialog_DisconnectDirectoryUrlEntered(void* ptr)
{
QObject::disconnect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QUrl &)>(&QFileDialog::directoryUrlEntered), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QUrl &)>(&MyQFileDialog::Signal_DirectoryUrlEntered));
}
void QFileDialog_DirectoryUrlEntered(void* ptr, void* directory)
{
static_cast<QFileDialog*>(ptr)->directoryUrlEntered(*static_cast<QUrl*>(directory));
}
void QFileDialog_Done(void* ptr, int result)
{
static_cast<QFileDialog*>(ptr)->done(result);
}
void QFileDialog_DoneDefault(void* ptr, int result)
{
static_cast<QFileDialog*>(ptr)->QFileDialog::done(result);
}
void QFileDialog_ConnectFileSelected(void* ptr)
{
QObject::connect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QString &)>(&QFileDialog::fileSelected), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QString &)>(&MyQFileDialog::Signal_FileSelected));
}
void QFileDialog_DisconnectFileSelected(void* ptr)
{
QObject::disconnect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QString &)>(&QFileDialog::fileSelected), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QString &)>(&MyQFileDialog::Signal_FileSelected));
}
void QFileDialog_FileSelected(void* ptr, char* file)
{
static_cast<QFileDialog*>(ptr)->fileSelected(QString(file));
}
void QFileDialog_ConnectFilesSelected(void* ptr)
{
QObject::connect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QStringList &)>(&QFileDialog::filesSelected), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QStringList &)>(&MyQFileDialog::Signal_FilesSelected));
}
void QFileDialog_DisconnectFilesSelected(void* ptr)
{
QObject::disconnect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QStringList &)>(&QFileDialog::filesSelected), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QStringList &)>(&MyQFileDialog::Signal_FilesSelected));
}
void QFileDialog_FilesSelected(void* ptr, char* selected)
{
static_cast<QFileDialog*>(ptr)->filesSelected(QString(selected).split("|", QString::SkipEmptyParts));
}
void QFileDialog_ConnectFilterSelected(void* ptr)
{
QObject::connect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QString &)>(&QFileDialog::filterSelected), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QString &)>(&MyQFileDialog::Signal_FilterSelected));
}
void QFileDialog_DisconnectFilterSelected(void* ptr)
{
QObject::disconnect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QString &)>(&QFileDialog::filterSelected), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QString &)>(&MyQFileDialog::Signal_FilterSelected));
}
void QFileDialog_FilterSelected(void* ptr, char* filter)
{
static_cast<QFileDialog*>(ptr)->filterSelected(QString(filter));
}
void QFileDialog_Open(void* ptr, void* receiver, char* member)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(receiver))) {
static_cast<QFileDialog*>(ptr)->open(static_cast<QGraphicsObject*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(receiver))) {
static_cast<QFileDialog*>(ptr)->open(static_cast<QGraphicsWidget*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(receiver))) {
static_cast<QFileDialog*>(ptr)->open(static_cast<QLayout*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(receiver))) {
static_cast<QFileDialog*>(ptr)->open(static_cast<QWidget*>(receiver), const_cast<const char*>(member));
} else {
static_cast<QFileDialog*>(ptr)->open(static_cast<QObject*>(receiver), const_cast<const char*>(member));
}
}
void QFileDialog_SelectFile(void* ptr, char* filename)
{
static_cast<QFileDialog*>(ptr)->selectFile(QString(filename));
}
void QFileDialog_SelectMimeTypeFilter(void* ptr, char* filter)
{
static_cast<QFileDialog*>(ptr)->selectMimeTypeFilter(QString(filter));
}
void QFileDialog_SelectNameFilter(void* ptr, char* filter)
{
static_cast<QFileDialog*>(ptr)->selectNameFilter(QString(filter));
}
void QFileDialog_SelectUrl(void* ptr, void* url)
{
static_cast<QFileDialog*>(ptr)->selectUrl(*static_cast<QUrl*>(url));
}
void QFileDialog_SetAcceptMode(void* ptr, long long mode)
{
static_cast<QFileDialog*>(ptr)->setAcceptMode(static_cast<QFileDialog::AcceptMode>(mode));
}
void QFileDialog_SetConfirmOverwrite(void* ptr, char enabled)
{
static_cast<QFileDialog*>(ptr)->setConfirmOverwrite(enabled != 0);
}
void QFileDialog_SetDefaultSuffix(void* ptr, char* suffix)
{
static_cast<QFileDialog*>(ptr)->setDefaultSuffix(QString(suffix));
}
void QFileDialog_SetDirectory2(void* ptr, void* directory)
{
static_cast<QFileDialog*>(ptr)->setDirectory(*static_cast<QDir*>(directory));
}
void QFileDialog_SetDirectory(void* ptr, char* directory)
{
static_cast<QFileDialog*>(ptr)->setDirectory(QString(directory));
}
void QFileDialog_SetDirectoryUrl(void* ptr, void* directory)
{
static_cast<QFileDialog*>(ptr)->setDirectoryUrl(*static_cast<QUrl*>(directory));
}
void QFileDialog_SetFileMode(void* ptr, long long mode)
{
static_cast<QFileDialog*>(ptr)->setFileMode(static_cast<QFileDialog::FileMode>(mode));
}
void QFileDialog_SetFilter(void* ptr, long long filters)
{
static_cast<QFileDialog*>(ptr)->setFilter(static_cast<QDir::Filter>(filters));
}
void QFileDialog_SetHistory(void* ptr, char* paths)
{
static_cast<QFileDialog*>(ptr)->setHistory(QString(paths).split("|", QString::SkipEmptyParts));
}
void QFileDialog_SetIconProvider(void* ptr, void* provider)
{
static_cast<QFileDialog*>(ptr)->setIconProvider(static_cast<QFileIconProvider*>(provider));
}
void QFileDialog_SetItemDelegate(void* ptr, void* delegate)
{
static_cast<QFileDialog*>(ptr)->setItemDelegate(static_cast<QAbstractItemDelegate*>(delegate));
}
void QFileDialog_SetLabelText(void* ptr, long long label, char* text)
{
static_cast<QFileDialog*>(ptr)->setLabelText(static_cast<QFileDialog::DialogLabel>(label), QString(text));
}
void QFileDialog_SetMimeTypeFilters(void* ptr, char* filters)
{
static_cast<QFileDialog*>(ptr)->setMimeTypeFilters(QString(filters).split("|", QString::SkipEmptyParts));
}
void QFileDialog_SetNameFilter(void* ptr, char* filter)
{
static_cast<QFileDialog*>(ptr)->setNameFilter(QString(filter));
}
void QFileDialog_SetNameFilterDetailsVisible(void* ptr, char enabled)
{
static_cast<QFileDialog*>(ptr)->setNameFilterDetailsVisible(enabled != 0);
}
void QFileDialog_SetNameFilters(void* ptr, char* filters)
{
static_cast<QFileDialog*>(ptr)->setNameFilters(QString(filters).split("|", QString::SkipEmptyParts));
}
void QFileDialog_SetOption(void* ptr, long long option, char on)
{
static_cast<QFileDialog*>(ptr)->setOption(static_cast<QFileDialog::Option>(option), on != 0);
}
void QFileDialog_SetOptions(void* ptr, long long options)
{
static_cast<QFileDialog*>(ptr)->setOptions(static_cast<QFileDialog::Option>(options));
}
void QFileDialog_SetProxyModel(void* ptr, void* proxyModel)
{
static_cast<QFileDialog*>(ptr)->setProxyModel(static_cast<QAbstractProxyModel*>(proxyModel));
}
void QFileDialog_SetReadOnly(void* ptr, char enabled)
{
static_cast<QFileDialog*>(ptr)->setReadOnly(enabled != 0);
}
void QFileDialog_SetResolveSymlinks(void* ptr, char enabled)
{
static_cast<QFileDialog*>(ptr)->setResolveSymlinks(enabled != 0);
}
void QFileDialog_SetSidebarUrls(void* ptr, void* urls)
{
static_cast<QFileDialog*>(ptr)->setSidebarUrls(*static_cast<QList<QUrl>*>(urls));
}
void QFileDialog_SetSupportedSchemes(void* ptr, char* schemes)
{
static_cast<QFileDialog*>(ptr)->setSupportedSchemes(QString(schemes).split("|", QString::SkipEmptyParts));
}
void QFileDialog_SetViewMode(void* ptr, long long mode)
{
static_cast<QFileDialog*>(ptr)->setViewMode(static_cast<QFileDialog::ViewMode>(mode));
}
void QFileDialog_ConnectUrlSelected(void* ptr)
{
QObject::connect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QUrl &)>(&QFileDialog::urlSelected), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QUrl &)>(&MyQFileDialog::Signal_UrlSelected));
}
void QFileDialog_DisconnectUrlSelected(void* ptr)
{
QObject::disconnect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QUrl &)>(&QFileDialog::urlSelected), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QUrl &)>(&MyQFileDialog::Signal_UrlSelected));
}
void QFileDialog_UrlSelected(void* ptr, void* url)
{
static_cast<QFileDialog*>(ptr)->urlSelected(*static_cast<QUrl*>(url));
}
void QFileDialog_ConnectUrlsSelected(void* ptr)
{
QObject::connect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QList<QUrl> &)>(&QFileDialog::urlsSelected), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QList<QUrl> &)>(&MyQFileDialog::Signal_UrlsSelected));
}
void QFileDialog_DisconnectUrlsSelected(void* ptr)
{
QObject::disconnect(static_cast<QFileDialog*>(ptr), static_cast<void (QFileDialog::*)(const QList<QUrl> &)>(&QFileDialog::urlsSelected), static_cast<MyQFileDialog*>(ptr), static_cast<void (MyQFileDialog::*)(const QList<QUrl> &)>(&MyQFileDialog::Signal_UrlsSelected));
}
void QFileDialog_UrlsSelected(void* ptr, void* urls)
{
static_cast<QFileDialog*>(ptr)->urlsSelected(*static_cast<QList<QUrl>*>(urls));
}
void QFileDialog_DestroyQFileDialog(void* ptr)
{
static_cast<QFileDialog*>(ptr)->~QFileDialog();
}
long long QFileDialog_AcceptMode(void* ptr)
{
return static_cast<QFileDialog*>(ptr)->acceptMode();
}
long long QFileDialog_FileMode(void* ptr)
{
return static_cast<QFileDialog*>(ptr)->fileMode();
}
long long QFileDialog_Options(void* ptr)
{
return static_cast<QFileDialog*>(ptr)->options();
}
void* QFileDialog_ItemDelegate(void* ptr)
{
return static_cast<QFileDialog*>(ptr)->itemDelegate();
}
void* QFileDialog_ProxyModel(void* ptr)
{
return static_cast<QFileDialog*>(ptr)->proxyModel();
}
void* QFileDialog_SaveState(void* ptr)
{
return new QByteArray(static_cast<QFileDialog*>(ptr)->saveState());
}
void* QFileDialog_Directory(void* ptr)
{
return new QDir(static_cast<QFileDialog*>(ptr)->directory());
}
long long QFileDialog_Filter(void* ptr)
{
return static_cast<QFileDialog*>(ptr)->filter();
}
void* QFileDialog_IconProvider(void* ptr)
{
return static_cast<QFileDialog*>(ptr)->iconProvider();
}
struct QtWidgets_PackedList QFileDialog_SelectedUrls(void* ptr)
{
return ({ QList<QUrl>* tmpValue = new QList<QUrl>(static_cast<QFileDialog*>(ptr)->selectedUrls()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QFileDialog_SidebarUrls(void* ptr)
{
return ({ QList<QUrl>* tmpValue = new QList<QUrl>(static_cast<QFileDialog*>(ptr)->sidebarUrls()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedString QFileDialog_DefaultSuffix(void* ptr)
{
return ({ QByteArray t9b6b68 = static_cast<QFileDialog*>(ptr)->defaultSuffix().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t9b6b68.prepend("WHITESPACE").constData()+10), t9b6b68.size()-10 }; });
}
struct QtWidgets_PackedString QFileDialog_LabelText(void* ptr, long long label)
{
return ({ QByteArray td750f3 = static_cast<QFileDialog*>(ptr)->labelText(static_cast<QFileDialog::DialogLabel>(label)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(td750f3.prepend("WHITESPACE").constData()+10), td750f3.size()-10 }; });
}
struct QtWidgets_PackedString QFileDialog_SelectedNameFilter(void* ptr)
{
return ({ QByteArray tca1caa = static_cast<QFileDialog*>(ptr)->selectedNameFilter().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tca1caa.prepend("WHITESPACE").constData()+10), tca1caa.size()-10 }; });
}
struct QtWidgets_PackedString QFileDialog_History(void* ptr)
{
return ({ QByteArray t242067 = static_cast<QFileDialog*>(ptr)->history().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t242067.prepend("WHITESPACE").constData()+10), t242067.size()-10 }; });
}
struct QtWidgets_PackedString QFileDialog_MimeTypeFilters(void* ptr)
{
return ({ QByteArray t17a2a7 = static_cast<QFileDialog*>(ptr)->mimeTypeFilters().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t17a2a7.prepend("WHITESPACE").constData()+10), t17a2a7.size()-10 }; });
}
struct QtWidgets_PackedString QFileDialog_NameFilters(void* ptr)
{
return ({ QByteArray t4389e5 = static_cast<QFileDialog*>(ptr)->nameFilters().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t4389e5.prepend("WHITESPACE").constData()+10), t4389e5.size()-10 }; });
}
struct QtWidgets_PackedString QFileDialog_SelectedFiles(void* ptr)
{
return ({ QByteArray tc6127b = static_cast<QFileDialog*>(ptr)->selectedFiles().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(tc6127b.prepend("WHITESPACE").constData()+10), tc6127b.size()-10 }; });
}
struct QtWidgets_PackedString QFileDialog_SupportedSchemes(void* ptr)
{
return ({ QByteArray tfcd263 = static_cast<QFileDialog*>(ptr)->supportedSchemes().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(tfcd263.prepend("WHITESPACE").constData()+10), tfcd263.size()-10 }; });
}
void* QFileDialog_DirectoryUrl(void* ptr)
{
return new QUrl(static_cast<QFileDialog*>(ptr)->directoryUrl());
}
long long QFileDialog_ViewMode(void* ptr)
{
return static_cast<QFileDialog*>(ptr)->viewMode();
}
char QFileDialog_ConfirmOverwrite(void* ptr)
{
return static_cast<QFileDialog*>(ptr)->confirmOverwrite();
}
char QFileDialog_IsNameFilterDetailsVisible(void* ptr)
{
return static_cast<QFileDialog*>(ptr)->isNameFilterDetailsVisible();
}
char QFileDialog_IsReadOnly(void* ptr)
{
return static_cast<QFileDialog*>(ptr)->isReadOnly();
}
char QFileDialog_ResolveSymlinks(void* ptr)
{
return static_cast<QFileDialog*>(ptr)->resolveSymlinks();
}
char QFileDialog_TestOption(void* ptr, long long option)
{
return static_cast<QFileDialog*>(ptr)->testOption(static_cast<QFileDialog::Option>(option));
}
void* QFileDialog___getOpenFileUrls_atList(void* ptr, int i)
{
return new QUrl(static_cast<QList<QUrl>*>(ptr)->at(i));
}
void QFileDialog___getOpenFileUrls_setList(void* ptr, void* i)
{
static_cast<QList<QUrl>*>(ptr)->append(*static_cast<QUrl*>(i));
}
void* QFileDialog___getOpenFileUrls_newList(void* ptr)
{
return new QList<QUrl>;
}
void* QFileDialog___setSidebarUrls_urls_atList(void* ptr, int i)
{
return new QUrl(static_cast<QList<QUrl>*>(ptr)->at(i));
}
void QFileDialog___setSidebarUrls_urls_setList(void* ptr, void* i)
{
static_cast<QList<QUrl>*>(ptr)->append(*static_cast<QUrl*>(i));
}
void* QFileDialog___setSidebarUrls_urls_newList(void* ptr)
{
return new QList<QUrl>;
}
void* QFileDialog___urlsSelected_urls_atList(void* ptr, int i)
{
return new QUrl(static_cast<QList<QUrl>*>(ptr)->at(i));
}
void QFileDialog___urlsSelected_urls_setList(void* ptr, void* i)
{
static_cast<QList<QUrl>*>(ptr)->append(*static_cast<QUrl*>(i));
}
void* QFileDialog___urlsSelected_urls_newList(void* ptr)
{
return new QList<QUrl>;
}
void* QFileDialog___selectedUrls_atList(void* ptr, int i)
{
return new QUrl(static_cast<QList<QUrl>*>(ptr)->at(i));
}
void QFileDialog___selectedUrls_setList(void* ptr, void* i)
{
static_cast<QList<QUrl>*>(ptr)->append(*static_cast<QUrl*>(i));
}
void* QFileDialog___selectedUrls_newList(void* ptr)
{
return new QList<QUrl>;
}
void* QFileDialog___sidebarUrls_atList(void* ptr, int i)
{
return new QUrl(static_cast<QList<QUrl>*>(ptr)->at(i));
}
void QFileDialog___sidebarUrls_setList(void* ptr, void* i)
{
static_cast<QList<QUrl>*>(ptr)->append(*static_cast<QUrl*>(i));
}
void* QFileDialog___sidebarUrls_newList(void* ptr)
{
return new QList<QUrl>;
}
class MyQFileIconProvider: public QFileIconProvider
{
public:
MyQFileIconProvider() : QFileIconProvider() {};
~MyQFileIconProvider() { callbackQFileIconProvider_DestroyQFileIconProvider(this); };
QIcon icon(QFileIconProvider::IconType ty) const { return *static_cast<QIcon*>(callbackQFileIconProvider_Icon(const_cast<void*>(static_cast<const void*>(this)), ty)); };
QIcon icon(const QFileInfo & info) const { return *static_cast<QIcon*>(callbackQFileIconProvider_Icon2(const_cast<void*>(static_cast<const void*>(this)), const_cast<QFileInfo*>(&info))); };
QString type(const QFileInfo & info) const { return QString(callbackQFileIconProvider_Type(const_cast<void*>(static_cast<const void*>(this)), const_cast<QFileInfo*>(&info))); };
};
void* QFileIconProvider_NewQFileIconProvider()
{
return new MyQFileIconProvider();
}
void QFileIconProvider_SetOptions(void* ptr, long long options)
{
static_cast<QFileIconProvider*>(ptr)->setOptions(static_cast<QFileIconProvider::Option>(options));
}
void QFileIconProvider_DestroyQFileIconProvider(void* ptr)
{
static_cast<QFileIconProvider*>(ptr)->~QFileIconProvider();
}
void QFileIconProvider_DestroyQFileIconProviderDefault(void* ptr)
{
}
long long QFileIconProvider_Options(void* ptr)
{
return static_cast<QFileIconProvider*>(ptr)->options();
}
void* QFileIconProvider_Icon(void* ptr, long long ty)
{
return new QIcon(static_cast<QFileIconProvider*>(ptr)->icon(static_cast<QFileIconProvider::IconType>(ty)));
}
void* QFileIconProvider_IconDefault(void* ptr, long long ty)
{
return new QIcon(static_cast<QFileIconProvider*>(ptr)->QFileIconProvider::icon(static_cast<QFileIconProvider::IconType>(ty)));
}
void* QFileIconProvider_Icon2(void* ptr, void* info)
{
return new QIcon(static_cast<QFileIconProvider*>(ptr)->icon(*static_cast<QFileInfo*>(info)));
}
void* QFileIconProvider_Icon2Default(void* ptr, void* info)
{
return new QIcon(static_cast<QFileIconProvider*>(ptr)->QFileIconProvider::icon(*static_cast<QFileInfo*>(info)));
}
struct QtWidgets_PackedString QFileIconProvider_Type(void* ptr, void* info)
{
return ({ QByteArray t69d0f8 = static_cast<QFileIconProvider*>(ptr)->type(*static_cast<QFileInfo*>(info)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t69d0f8.prepend("WHITESPACE").constData()+10), t69d0f8.size()-10 }; });
}
struct QtWidgets_PackedString QFileIconProvider_TypeDefault(void* ptr, void* info)
{
return ({ QByteArray tb3bd2f = static_cast<QFileIconProvider*>(ptr)->QFileIconProvider::type(*static_cast<QFileInfo*>(info)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(tb3bd2f.prepend("WHITESPACE").constData()+10), tb3bd2f.size()-10 }; });
}
class MyQFileSystemModel: public QFileSystemModel
{
public:
MyQFileSystemModel(QObject *parent) : QFileSystemModel(parent) {};
bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQFileSystemModel_DropMimeData(this, const_cast<QMimeData*>(data), action, row, column, const_cast<QModelIndex*>(&parent)) != 0; };
bool event(QEvent * event) { return callbackQFileSystemModel_Event(this, event) != 0; };
bool setData(const QModelIndex & idx, const QVariant & value, int role) { return callbackQFileSystemModel_SetData(this, const_cast<QModelIndex*>(&idx), const_cast<QVariant*>(&value), role) != 0; };
void Signal_DirectoryLoaded(const QString & path) { QByteArray t3150ec = path.toUtf8(); QtWidgets_PackedString pathPacked = { const_cast<char*>(t3150ec.prepend("WHITESPACE").constData()+10), t3150ec.size()-10 };callbackQFileSystemModel_DirectoryLoaded(this, pathPacked); };
void fetchMore(const QModelIndex & parent) { callbackQFileSystemModel_FetchMore(this, const_cast<QModelIndex*>(&parent)); };
void Signal_FileRenamed(const QString & path, const QString & oldName, const QString & newName) { QByteArray t3150ec = path.toUtf8(); QtWidgets_PackedString pathPacked = { const_cast<char*>(t3150ec.prepend("WHITESPACE").constData()+10), t3150ec.size()-10 };QByteArray td041bb = oldName.toUtf8(); QtWidgets_PackedString oldNamePacked = { const_cast<char*>(td041bb.prepend("WHITESPACE").constData()+10), td041bb.size()-10 };QByteArray t1530cb = newName.toUtf8(); QtWidgets_PackedString newNamePacked = { const_cast<char*>(t1530cb.prepend("WHITESPACE").constData()+10), t1530cb.size()-10 };callbackQFileSystemModel_FileRenamed(this, pathPacked, oldNamePacked, newNamePacked); };
void Signal_RootPathChanged(const QString & newPath) { QByteArray t1ced92 = newPath.toUtf8(); QtWidgets_PackedString newPathPacked = { const_cast<char*>(t1ced92.prepend("WHITESPACE").constData()+10), t1ced92.size()-10 };callbackQFileSystemModel_RootPathChanged(this, newPathPacked); };
void sort(int column, Qt::SortOrder order) { callbackQFileSystemModel_Sort(this, column, order); };
void timerEvent(QTimerEvent * event) { callbackQFileSystemModel_TimerEvent(this, event); };
QMimeData * mimeData(const QModelIndexList & indexes) const { return static_cast<QMimeData*>(callbackQFileSystemModel_MimeData(const_cast<void*>(static_cast<const void*>(this)), ({ QList<QModelIndex>* tmpValue = new QList<QModelIndex>(indexes); QtWidgets_PackedList { tmpValue, tmpValue->size() }; }))); };
QModelIndex index(int row, int column, const QModelIndex & parent) const { return *static_cast<QModelIndex*>(callbackQFileSystemModel_Index(const_cast<void*>(static_cast<const void*>(this)), row, column, const_cast<QModelIndex*>(&parent))); };
QModelIndex parent(const QModelIndex & index) const { return *static_cast<QModelIndex*>(callbackQFileSystemModel_Parent(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
QModelIndex sibling(int row, int column, const QModelIndex & idx) const { return *static_cast<QModelIndex*>(callbackQFileSystemModel_Sibling(const_cast<void*>(static_cast<const void*>(this)), row, column, const_cast<QModelIndex*>(&idx))); };
QStringList mimeTypes() const { return QString(callbackQFileSystemModel_MimeTypes(const_cast<void*>(static_cast<const void*>(this)))).split("|", QString::SkipEmptyParts); };
QVariant data(const QModelIndex & index, int role) const { return *static_cast<QVariant*>(callbackQFileSystemModel_Data(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index), role)); };
QVariant headerData(int section, Qt::Orientation orientation, int role) const { return *static_cast<QVariant*>(callbackQFileSystemModel_HeaderData(const_cast<void*>(static_cast<const void*>(this)), section, orientation, role)); };
Qt::DropActions supportedDropActions() const { return static_cast<Qt::DropAction>(callbackQFileSystemModel_SupportedDropActions(const_cast<void*>(static_cast<const void*>(this)))); };
Qt::ItemFlags flags(const QModelIndex & index) const { return static_cast<Qt::ItemFlag>(callbackQFileSystemModel_Flags(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
bool canFetchMore(const QModelIndex & parent) const { return callbackQFileSystemModel_CanFetchMore(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&parent)) != 0; };
bool hasChildren(const QModelIndex & parent) const { return callbackQFileSystemModel_HasChildren(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&parent)) != 0; };
int columnCount(const QModelIndex & parent) const { return callbackQFileSystemModel_ColumnCount(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&parent)); };
int rowCount(const QModelIndex & parent) const { return callbackQFileSystemModel_RowCount(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&parent)); };
bool insertColumns(int column, int count, const QModelIndex & parent) { return callbackQFileSystemModel_InsertColumns(this, column, count, const_cast<QModelIndex*>(&parent)) != 0; };
bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQFileSystemModel_InsertRows(this, row, count, const_cast<QModelIndex*>(&parent)) != 0; };
bool moveColumns(const QModelIndex & sourceParent, int sourceColumn, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQFileSystemModel_MoveColumns(this, const_cast<QModelIndex*>(&sourceParent), sourceColumn, count, const_cast<QModelIndex*>(&destinationParent), destinationChild) != 0; };
bool moveRows(const QModelIndex & sourceParent, int sourceRow, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQFileSystemModel_MoveRows(this, const_cast<QModelIndex*>(&sourceParent), sourceRow, count, const_cast<QModelIndex*>(&destinationParent), destinationChild) != 0; };
bool removeColumns(int column, int count, const QModelIndex & parent) { return callbackQFileSystemModel_RemoveColumns(this, column, count, const_cast<QModelIndex*>(&parent)) != 0; };
bool removeRows(int row, int count, const QModelIndex & parent) { return callbackQFileSystemModel_RemoveRows(this, row, count, const_cast<QModelIndex*>(&parent)) != 0; };
bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role) { return callbackQFileSystemModel_SetHeaderData(this, section, orientation, const_cast<QVariant*>(&value), role) != 0; };
bool setItemData(const QModelIndex & index, const QMap<int, QVariant> & roles) { return callbackQFileSystemModel_SetItemData(this, const_cast<QModelIndex*>(&index), ({ QMap<int, QVariant>* tmpValue = const_cast<QMap<int, QVariant>*>(&roles); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })) != 0; };
bool submit() { return callbackQFileSystemModel_Submit(this) != 0; };
void Signal_ColumnsAboutToBeInserted(const QModelIndex & parent, int first, int last) { callbackQFileSystemModel_ColumnsAboutToBeInserted(this, const_cast<QModelIndex*>(&parent), first, last); };
void Signal_ColumnsAboutToBeMoved(const QModelIndex & sourceParent, int sourceStart, int sourceEnd, const QModelIndex & destinationParent, int destinationColumn) { callbackQFileSystemModel_ColumnsAboutToBeMoved(this, const_cast<QModelIndex*>(&sourceParent), sourceStart, sourceEnd, const_cast<QModelIndex*>(&destinationParent), destinationColumn); };
void Signal_ColumnsAboutToBeRemoved(const QModelIndex & parent, int first, int last) { callbackQFileSystemModel_ColumnsAboutToBeRemoved(this, const_cast<QModelIndex*>(&parent), first, last); };
void Signal_ColumnsInserted(const QModelIndex & parent, int first, int last) { callbackQFileSystemModel_ColumnsInserted(this, const_cast<QModelIndex*>(&parent), first, last); };
void Signal_ColumnsMoved(const QModelIndex & parent, int start, int end, const QModelIndex & destination, int column) { callbackQFileSystemModel_ColumnsMoved(this, const_cast<QModelIndex*>(&parent), start, end, const_cast<QModelIndex*>(&destination), column); };
void Signal_ColumnsRemoved(const QModelIndex & parent, int first, int last) { callbackQFileSystemModel_ColumnsRemoved(this, const_cast<QModelIndex*>(&parent), first, last); };
void Signal_DataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector<int> & roles) { callbackQFileSystemModel_DataChanged(this, const_cast<QModelIndex*>(&topLeft), const_cast<QModelIndex*>(&bottomRight), ({ QVector<int>* tmpValue = const_cast<QVector<int>*>(&roles); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })); };
void Signal_HeaderDataChanged(Qt::Orientation orientation, int first, int last) { callbackQFileSystemModel_HeaderDataChanged(this, orientation, first, last); };
void Signal_LayoutAboutToBeChanged(const QList<QPersistentModelIndex> & parents, QAbstractItemModel::LayoutChangeHint hint) { callbackQFileSystemModel_LayoutAboutToBeChanged(this, ({ QList<QPersistentModelIndex>* tmpValue = const_cast<QList<QPersistentModelIndex>*>(&parents); QtWidgets_PackedList { tmpValue, tmpValue->size() }; }), hint); };
void Signal_LayoutChanged(const QList<QPersistentModelIndex> & parents, QAbstractItemModel::LayoutChangeHint hint) { callbackQFileSystemModel_LayoutChanged(this, ({ QList<QPersistentModelIndex>* tmpValue = const_cast<QList<QPersistentModelIndex>*>(&parents); QtWidgets_PackedList { tmpValue, tmpValue->size() }; }), hint); };
void Signal_ModelAboutToBeReset() { callbackQFileSystemModel_ModelAboutToBeReset(this); };
void Signal_ModelReset() { callbackQFileSystemModel_ModelReset(this); };
void resetInternalData() { callbackQFileSystemModel_ResetInternalData(this); };
void revert() { callbackQFileSystemModel_Revert(this); };
void Signal_RowsAboutToBeInserted(const QModelIndex & parent, int start, int end) { callbackQFileSystemModel_RowsAboutToBeInserted(this, const_cast<QModelIndex*>(&parent), start, end); };
void Signal_RowsAboutToBeMoved(const QModelIndex & sourceParent, int sourceStart, int sourceEnd, const QModelIndex & destinationParent, int destinationRow) { callbackQFileSystemModel_RowsAboutToBeMoved(this, const_cast<QModelIndex*>(&sourceParent), sourceStart, sourceEnd, const_cast<QModelIndex*>(&destinationParent), destinationRow); };
void Signal_RowsAboutToBeRemoved(const QModelIndex & parent, int first, int last) { callbackQFileSystemModel_RowsAboutToBeRemoved(this, const_cast<QModelIndex*>(&parent), first, last); };
void Signal_RowsInserted(const QModelIndex & parent, int first, int last) { callbackQFileSystemModel_RowsInserted(this, const_cast<QModelIndex*>(&parent), first, last); };
void Signal_RowsMoved(const QModelIndex & parent, int start, int end, const QModelIndex & destination, int row) { callbackQFileSystemModel_RowsMoved(this, const_cast<QModelIndex*>(&parent), start, end, const_cast<QModelIndex*>(&destination), row); };
void Signal_RowsRemoved(const QModelIndex & parent, int first, int last) { callbackQFileSystemModel_RowsRemoved(this, const_cast<QModelIndex*>(&parent), first, last); };
QHash<int, QByteArray> roleNames() const { return *static_cast<QHash<int, QByteArray>*>(callbackQFileSystemModel_RoleNames(const_cast<void*>(static_cast<const void*>(this)))); };
QMap<int, QVariant> itemData(const QModelIndex & index) const { return *static_cast<QMap<int, QVariant>*>(callbackQFileSystemModel_ItemData(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
QModelIndex buddy(const QModelIndex & index) const { return *static_cast<QModelIndex*>(callbackQFileSystemModel_Buddy(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
QList<QModelIndex> match(const QModelIndex & start, int role, const QVariant & value, int hits, Qt::MatchFlags flags) const { return *static_cast<QList<QModelIndex>*>(callbackQFileSystemModel_Match(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&start), role, const_cast<QVariant*>(&value), hits, flags)); };
QSize span(const QModelIndex & index) const { return *static_cast<QSize*>(callbackQFileSystemModel_Span(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
Qt::DropActions supportedDragActions() const { return static_cast<Qt::DropAction>(callbackQFileSystemModel_SupportedDragActions(const_cast<void*>(static_cast<const void*>(this)))); };
bool canDropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) const { return callbackQFileSystemModel_CanDropMimeData(const_cast<void*>(static_cast<const void*>(this)), const_cast<QMimeData*>(data), action, row, column, const_cast<QModelIndex*>(&parent)) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQFileSystemModel_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQFileSystemModel_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQFileSystemModel_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQFileSystemModel_CustomEvent(this, event); };
void deleteLater() { callbackQFileSystemModel_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQFileSystemModel_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQFileSystemModel_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQFileSystemModel_ObjectNameChanged(this, objectNamePacked); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQFileSystemModel_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
int QFileSystemModel_FilePathRole_Type()
{
return QFileSystemModel::FilePathRole;
}
int QFileSystemModel_FileNameRole_Type()
{
return QFileSystemModel::FileNameRole;
}
int QFileSystemModel_FilePermissions_Type()
{
return QFileSystemModel::FilePermissions;
}
void* QFileSystemModel_NewQFileSystemModel(void* parent)
{
return new MyQFileSystemModel(static_cast<QObject*>(parent));
}
void* QFileSystemModel_Mkdir(void* ptr, void* parent, char* name)
{
return new QModelIndex(static_cast<QFileSystemModel*>(ptr)->mkdir(*static_cast<QModelIndex*>(parent), QString(name)));
}
void* QFileSystemModel_SetRootPath(void* ptr, char* newPath)
{
return new QModelIndex(static_cast<QFileSystemModel*>(ptr)->setRootPath(QString(newPath)));
}
char QFileSystemModel_DropMimeDataDefault(void* ptr, void* data, long long action, int row, int column, void* parent)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::dropMimeData(static_cast<QMimeData*>(data), static_cast<Qt::DropAction>(action), row, column, *static_cast<QModelIndex*>(parent));
}
char QFileSystemModel_EventDefault(void* ptr, void* event)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::event(static_cast<QEvent*>(event));
}
char QFileSystemModel_Remove(void* ptr, void* index)
{
return static_cast<QFileSystemModel*>(ptr)->remove(*static_cast<QModelIndex*>(index));
}
char QFileSystemModel_Rmdir(void* ptr, void* index)
{
return static_cast<QFileSystemModel*>(ptr)->rmdir(*static_cast<QModelIndex*>(index));
}
char QFileSystemModel_SetDataDefault(void* ptr, void* idx, void* value, int role)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::setData(*static_cast<QModelIndex*>(idx), *static_cast<QVariant*>(value), role);
}
void QFileSystemModel_ConnectDirectoryLoaded(void* ptr)
{
QObject::connect(static_cast<QFileSystemModel*>(ptr), static_cast<void (QFileSystemModel::*)(const QString &)>(&QFileSystemModel::directoryLoaded), static_cast<MyQFileSystemModel*>(ptr), static_cast<void (MyQFileSystemModel::*)(const QString &)>(&MyQFileSystemModel::Signal_DirectoryLoaded));
}
void QFileSystemModel_DisconnectDirectoryLoaded(void* ptr)
{
QObject::disconnect(static_cast<QFileSystemModel*>(ptr), static_cast<void (QFileSystemModel::*)(const QString &)>(&QFileSystemModel::directoryLoaded), static_cast<MyQFileSystemModel*>(ptr), static_cast<void (MyQFileSystemModel::*)(const QString &)>(&MyQFileSystemModel::Signal_DirectoryLoaded));
}
void QFileSystemModel_DirectoryLoaded(void* ptr, char* path)
{
static_cast<QFileSystemModel*>(ptr)->directoryLoaded(QString(path));
}
void QFileSystemModel_FetchMoreDefault(void* ptr, void* parent)
{
static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::fetchMore(*static_cast<QModelIndex*>(parent));
}
void QFileSystemModel_ConnectFileRenamed(void* ptr)
{
QObject::connect(static_cast<QFileSystemModel*>(ptr), static_cast<void (QFileSystemModel::*)(const QString &, const QString &, const QString &)>(&QFileSystemModel::fileRenamed), static_cast<MyQFileSystemModel*>(ptr), static_cast<void (MyQFileSystemModel::*)(const QString &, const QString &, const QString &)>(&MyQFileSystemModel::Signal_FileRenamed));
}
void QFileSystemModel_DisconnectFileRenamed(void* ptr)
{
QObject::disconnect(static_cast<QFileSystemModel*>(ptr), static_cast<void (QFileSystemModel::*)(const QString &, const QString &, const QString &)>(&QFileSystemModel::fileRenamed), static_cast<MyQFileSystemModel*>(ptr), static_cast<void (MyQFileSystemModel::*)(const QString &, const QString &, const QString &)>(&MyQFileSystemModel::Signal_FileRenamed));
}
void QFileSystemModel_FileRenamed(void* ptr, char* path, char* oldName, char* newName)
{
static_cast<QFileSystemModel*>(ptr)->fileRenamed(QString(path), QString(oldName), QString(newName));
}
void QFileSystemModel_ConnectRootPathChanged(void* ptr)
{
QObject::connect(static_cast<QFileSystemModel*>(ptr), static_cast<void (QFileSystemModel::*)(const QString &)>(&QFileSystemModel::rootPathChanged), static_cast<MyQFileSystemModel*>(ptr), static_cast<void (MyQFileSystemModel::*)(const QString &)>(&MyQFileSystemModel::Signal_RootPathChanged));
}
void QFileSystemModel_DisconnectRootPathChanged(void* ptr)
{
QObject::disconnect(static_cast<QFileSystemModel*>(ptr), static_cast<void (QFileSystemModel::*)(const QString &)>(&QFileSystemModel::rootPathChanged), static_cast<MyQFileSystemModel*>(ptr), static_cast<void (MyQFileSystemModel::*)(const QString &)>(&MyQFileSystemModel::Signal_RootPathChanged));
}
void QFileSystemModel_RootPathChanged(void* ptr, char* newPath)
{
static_cast<QFileSystemModel*>(ptr)->rootPathChanged(QString(newPath));
}
void QFileSystemModel_SetFilter(void* ptr, long long filters)
{
static_cast<QFileSystemModel*>(ptr)->setFilter(static_cast<QDir::Filter>(filters));
}
void QFileSystemModel_SetIconProvider(void* ptr, void* provider)
{
static_cast<QFileSystemModel*>(ptr)->setIconProvider(static_cast<QFileIconProvider*>(provider));
}
void QFileSystemModel_SetNameFilterDisables(void* ptr, char enable)
{
static_cast<QFileSystemModel*>(ptr)->setNameFilterDisables(enable != 0);
}
void QFileSystemModel_SetNameFilters(void* ptr, char* filters)
{
static_cast<QFileSystemModel*>(ptr)->setNameFilters(QString(filters).split("|", QString::SkipEmptyParts));
}
void QFileSystemModel_SetReadOnly(void* ptr, char enable)
{
static_cast<QFileSystemModel*>(ptr)->setReadOnly(enable != 0);
}
void QFileSystemModel_SetResolveSymlinks(void* ptr, char enable)
{
static_cast<QFileSystemModel*>(ptr)->setResolveSymlinks(enable != 0);
}
void QFileSystemModel_SortDefault(void* ptr, int column, long long order)
{
static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::sort(column, static_cast<Qt::SortOrder>(order));
}
void QFileSystemModel_TimerEventDefault(void* ptr, void* event)
{
static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::timerEvent(static_cast<QTimerEvent*>(event));
}
void QFileSystemModel_DestroyQFileSystemModel(void* ptr)
{
static_cast<QFileSystemModel*>(ptr)->~QFileSystemModel();
}
void* QFileSystemModel_LastModified(void* ptr, void* index)
{
return new QDateTime(static_cast<QFileSystemModel*>(ptr)->lastModified(*static_cast<QModelIndex*>(index)));
}
void* QFileSystemModel_RootDirectory(void* ptr)
{
return new QDir(static_cast<QFileSystemModel*>(ptr)->rootDirectory());
}
long long QFileSystemModel_Filter(void* ptr)
{
return static_cast<QFileSystemModel*>(ptr)->filter();
}
void* QFileSystemModel_IconProvider(void* ptr)
{
return static_cast<QFileSystemModel*>(ptr)->iconProvider();
}
void* QFileSystemModel_FileInfo(void* ptr, void* index)
{
return new QFileInfo(static_cast<QFileSystemModel*>(ptr)->fileInfo(*static_cast<QModelIndex*>(index)));
}
void* QFileSystemModel_FileIcon(void* ptr, void* index)
{
return new QIcon(static_cast<QFileSystemModel*>(ptr)->fileIcon(*static_cast<QModelIndex*>(index)));
}
void* QFileSystemModel_MimeDataDefault(void* ptr, void* indexes)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::mimeData(*static_cast<QList<QModelIndex>*>(indexes));
}
void* QFileSystemModel_Index2(void* ptr, char* path, int column)
{
return new QModelIndex(static_cast<QFileSystemModel*>(ptr)->index(QString(path), column));
}
void* QFileSystemModel_Index(void* ptr, int row, int column, void* parent)
{
return new QModelIndex(static_cast<QFileSystemModel*>(ptr)->index(row, column, *static_cast<QModelIndex*>(parent)));
}
void* QFileSystemModel_IndexDefault(void* ptr, int row, int column, void* parent)
{
return new QModelIndex(static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::index(row, column, *static_cast<QModelIndex*>(parent)));
}
void* QFileSystemModel_Parent(void* ptr, void* index)
{
return new QModelIndex(static_cast<QFileSystemModel*>(ptr)->parent(*static_cast<QModelIndex*>(index)));
}
void* QFileSystemModel_ParentDefault(void* ptr, void* index)
{
return new QModelIndex(static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::parent(*static_cast<QModelIndex*>(index)));
}
void* QFileSystemModel_SiblingDefault(void* ptr, int row, int column, void* idx)
{
return new QModelIndex(static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::sibling(row, column, *static_cast<QModelIndex*>(idx)));
}
struct QtWidgets_PackedString QFileSystemModel_FileName(void* ptr, void* index)
{
return ({ QByteArray t9528ac = static_cast<QFileSystemModel*>(ptr)->fileName(*static_cast<QModelIndex*>(index)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t9528ac.prepend("WHITESPACE").constData()+10), t9528ac.size()-10 }; });
}
struct QtWidgets_PackedString QFileSystemModel_FilePath(void* ptr, void* index)
{
return ({ QByteArray t6d0e31 = static_cast<QFileSystemModel*>(ptr)->filePath(*static_cast<QModelIndex*>(index)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t6d0e31.prepend("WHITESPACE").constData()+10), t6d0e31.size()-10 }; });
}
struct QtWidgets_PackedString QFileSystemModel_RootPath(void* ptr)
{
return ({ QByteArray tdcb5b3 = static_cast<QFileSystemModel*>(ptr)->rootPath().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tdcb5b3.prepend("WHITESPACE").constData()+10), tdcb5b3.size()-10 }; });
}
struct QtWidgets_PackedString QFileSystemModel_Type(void* ptr, void* index)
{
return ({ QByteArray tf8baa8 = static_cast<QFileSystemModel*>(ptr)->type(*static_cast<QModelIndex*>(index)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(tf8baa8.prepend("WHITESPACE").constData()+10), tf8baa8.size()-10 }; });
}
struct QtWidgets_PackedString QFileSystemModel_MimeTypesDefault(void* ptr)
{
return ({ QByteArray t836878 = static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::mimeTypes().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t836878.prepend("WHITESPACE").constData()+10), t836878.size()-10 }; });
}
struct QtWidgets_PackedString QFileSystemModel_NameFilters(void* ptr)
{
return ({ QByteArray te17825 = static_cast<QFileSystemModel*>(ptr)->nameFilters().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(te17825.prepend("WHITESPACE").constData()+10), te17825.size()-10 }; });
}
void* QFileSystemModel_Data(void* ptr, void* index, int role)
{
return new QVariant(static_cast<QFileSystemModel*>(ptr)->data(*static_cast<QModelIndex*>(index), role));
}
void* QFileSystemModel_DataDefault(void* ptr, void* index, int role)
{
return new QVariant(static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::data(*static_cast<QModelIndex*>(index), role));
}
void* QFileSystemModel_HeaderDataDefault(void* ptr, int section, long long orientation, int role)
{
return new QVariant(static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::headerData(section, static_cast<Qt::Orientation>(orientation), role));
}
void* QFileSystemModel_MyComputer(void* ptr, int role)
{
return new QVariant(static_cast<QFileSystemModel*>(ptr)->myComputer(role));
}
long long QFileSystemModel_SupportedDropActionsDefault(void* ptr)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::supportedDropActions();
}
long long QFileSystemModel_FlagsDefault(void* ptr, void* index)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::flags(*static_cast<QModelIndex*>(index));
}
char QFileSystemModel_CanFetchMoreDefault(void* ptr, void* parent)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::canFetchMore(*static_cast<QModelIndex*>(parent));
}
char QFileSystemModel_HasChildrenDefault(void* ptr, void* parent)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::hasChildren(*static_cast<QModelIndex*>(parent));
}
char QFileSystemModel_IsDir(void* ptr, void* index)
{
return static_cast<QFileSystemModel*>(ptr)->isDir(*static_cast<QModelIndex*>(index));
}
char QFileSystemModel_IsReadOnly(void* ptr)
{
return static_cast<QFileSystemModel*>(ptr)->isReadOnly();
}
char QFileSystemModel_NameFilterDisables(void* ptr)
{
return static_cast<QFileSystemModel*>(ptr)->nameFilterDisables();
}
char QFileSystemModel_ResolveSymlinks(void* ptr)
{
return static_cast<QFileSystemModel*>(ptr)->resolveSymlinks();
}
int QFileSystemModel_ColumnCount(void* ptr, void* parent)
{
return static_cast<QFileSystemModel*>(ptr)->columnCount(*static_cast<QModelIndex*>(parent));
}
int QFileSystemModel_ColumnCountDefault(void* ptr, void* parent)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::columnCount(*static_cast<QModelIndex*>(parent));
}
int QFileSystemModel_RowCount(void* ptr, void* parent)
{
return static_cast<QFileSystemModel*>(ptr)->rowCount(*static_cast<QModelIndex*>(parent));
}
int QFileSystemModel_RowCountDefault(void* ptr, void* parent)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::rowCount(*static_cast<QModelIndex*>(parent));
}
long long QFileSystemModel_Size(void* ptr, void* index)
{
return static_cast<QFileSystemModel*>(ptr)->size(*static_cast<QModelIndex*>(index));
}
void* QFileSystemModel___mimeData_indexes_atList(void* ptr, int i)
{
return new QModelIndex(static_cast<QList<QModelIndex>*>(ptr)->at(i));
}
void QFileSystemModel___mimeData_indexes_setList(void* ptr, void* i)
{
static_cast<QList<QModelIndex>*>(ptr)->append(*static_cast<QModelIndex*>(i));
}
void* QFileSystemModel___mimeData_indexes_newList(void* ptr)
{
return new QList<QModelIndex>;
}
void* QFileSystemModel___setItemData_roles_atList(void* ptr, int i)
{
return new QVariant(static_cast<QMap<int, QVariant>*>(ptr)->value(i));
}
void QFileSystemModel___setItemData_roles_setList(void* ptr, int key, void* i)
{
static_cast<QMap<int, QVariant>*>(ptr)->insert(key, *static_cast<QVariant*>(i));
}
void* QFileSystemModel___setItemData_roles_newList(void* ptr)
{
return new QMap<int, QVariant>;
}
struct QtWidgets_PackedList QFileSystemModel___setItemData_keyList(void* ptr)
{
return ({ QList<int>* tmpValue = new QList<int>(static_cast<QMap<int, QVariant>*>(ptr)->keys()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QFileSystemModel___changePersistentIndexList_from_atList(void* ptr, int i)
{
return new QModelIndex(static_cast<QList<QModelIndex>*>(ptr)->at(i));
}
void QFileSystemModel___changePersistentIndexList_from_setList(void* ptr, void* i)
{
static_cast<QList<QModelIndex>*>(ptr)->append(*static_cast<QModelIndex*>(i));
}
void* QFileSystemModel___changePersistentIndexList_from_newList(void* ptr)
{
return new QList<QModelIndex>;
}
void* QFileSystemModel___changePersistentIndexList_to_atList(void* ptr, int i)
{
return new QModelIndex(static_cast<QList<QModelIndex>*>(ptr)->at(i));
}
void QFileSystemModel___changePersistentIndexList_to_setList(void* ptr, void* i)
{
static_cast<QList<QModelIndex>*>(ptr)->append(*static_cast<QModelIndex*>(i));
}
void* QFileSystemModel___changePersistentIndexList_to_newList(void* ptr)
{
return new QList<QModelIndex>;
}
int QFileSystemModel___dataChanged_roles_atList(void* ptr, int i)
{
return static_cast<QVector<int>*>(ptr)->at(i);
}
void QFileSystemModel___dataChanged_roles_setList(void* ptr, int i)
{
static_cast<QVector<int>*>(ptr)->append(i);
}
void* QFileSystemModel___dataChanged_roles_newList(void* ptr)
{
return new QVector<int>;
}
void* QFileSystemModel___layoutAboutToBeChanged_parents_atList(void* ptr, int i)
{
return new QPersistentModelIndex(static_cast<QList<QPersistentModelIndex>*>(ptr)->at(i));
}
void QFileSystemModel___layoutAboutToBeChanged_parents_setList(void* ptr, void* i)
{
static_cast<QList<QPersistentModelIndex>*>(ptr)->append(*static_cast<QPersistentModelIndex*>(i));
}
void* QFileSystemModel___layoutAboutToBeChanged_parents_newList(void* ptr)
{
return new QList<QPersistentModelIndex>;
}
void* QFileSystemModel___layoutChanged_parents_atList(void* ptr, int i)
{
return new QPersistentModelIndex(static_cast<QList<QPersistentModelIndex>*>(ptr)->at(i));
}
void QFileSystemModel___layoutChanged_parents_setList(void* ptr, void* i)
{
static_cast<QList<QPersistentModelIndex>*>(ptr)->append(*static_cast<QPersistentModelIndex*>(i));
}
void* QFileSystemModel___layoutChanged_parents_newList(void* ptr)
{
return new QList<QPersistentModelIndex>;
}
void* QFileSystemModel___roleNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QHash<int, QByteArray>*>(ptr)->value(i));
}
void QFileSystemModel___roleNames_setList(void* ptr, int key, void* i)
{
static_cast<QHash<int, QByteArray>*>(ptr)->insert(key, *static_cast<QByteArray*>(i));
}
void* QFileSystemModel___roleNames_newList(void* ptr)
{
return new QHash<int, QByteArray>;
}
struct QtWidgets_PackedList QFileSystemModel___roleNames_keyList(void* ptr)
{
return ({ QList<int>* tmpValue = new QList<int>(static_cast<QHash<int, QByteArray>*>(ptr)->keys()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QFileSystemModel___itemData_atList(void* ptr, int i)
{
return new QVariant(static_cast<QMap<int, QVariant>*>(ptr)->value(i));
}
void QFileSystemModel___itemData_setList(void* ptr, int key, void* i)
{
static_cast<QMap<int, QVariant>*>(ptr)->insert(key, *static_cast<QVariant*>(i));
}
void* QFileSystemModel___itemData_newList(void* ptr)
{
return new QMap<int, QVariant>;
}
struct QtWidgets_PackedList QFileSystemModel___itemData_keyList(void* ptr)
{
return ({ QList<int>* tmpValue = new QList<int>(static_cast<QMap<int, QVariant>*>(ptr)->keys()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QFileSystemModel___match_atList(void* ptr, int i)
{
return new QModelIndex(static_cast<QList<QModelIndex>*>(ptr)->at(i));
}
void QFileSystemModel___match_setList(void* ptr, void* i)
{
static_cast<QList<QModelIndex>*>(ptr)->append(*static_cast<QModelIndex*>(i));
}
void* QFileSystemModel___match_newList(void* ptr)
{
return new QList<QModelIndex>;
}
void* QFileSystemModel___persistentIndexList_atList(void* ptr, int i)
{
return new QModelIndex(static_cast<QList<QModelIndex>*>(ptr)->at(i));
}
void QFileSystemModel___persistentIndexList_setList(void* ptr, void* i)
{
static_cast<QList<QModelIndex>*>(ptr)->append(*static_cast<QModelIndex*>(i));
}
void* QFileSystemModel___persistentIndexList_newList(void* ptr)
{
return new QList<QModelIndex>;
}
int QFileSystemModel_____setItemData_keyList_atList(void* ptr, int i)
{
return static_cast<QList<int>*>(ptr)->at(i);
}
void QFileSystemModel_____setItemData_keyList_setList(void* ptr, int i)
{
static_cast<QList<int>*>(ptr)->append(i);
}
void* QFileSystemModel_____setItemData_keyList_newList(void* ptr)
{
return new QList<int>;
}
int QFileSystemModel_____doSetRoleNames_keyList_atList(void* ptr, int i)
{
return static_cast<QList<int>*>(ptr)->at(i);
}
void QFileSystemModel_____doSetRoleNames_keyList_setList(void* ptr, int i)
{
static_cast<QList<int>*>(ptr)->append(i);
}
void* QFileSystemModel_____doSetRoleNames_keyList_newList(void* ptr)
{
return new QList<int>;
}
int QFileSystemModel_____setRoleNames_keyList_atList(void* ptr, int i)
{
return static_cast<QList<int>*>(ptr)->at(i);
}
void QFileSystemModel_____setRoleNames_keyList_setList(void* ptr, int i)
{
static_cast<QList<int>*>(ptr)->append(i);
}
void* QFileSystemModel_____setRoleNames_keyList_newList(void* ptr)
{
return new QList<int>;
}
int QFileSystemModel_____roleNames_keyList_atList(void* ptr, int i)
{
return static_cast<QList<int>*>(ptr)->at(i);
}
void QFileSystemModel_____roleNames_keyList_setList(void* ptr, int i)
{
static_cast<QList<int>*>(ptr)->append(i);
}
void* QFileSystemModel_____roleNames_keyList_newList(void* ptr)
{
return new QList<int>;
}
int QFileSystemModel_____itemData_keyList_atList(void* ptr, int i)
{
return static_cast<QList<int>*>(ptr)->at(i);
}
void QFileSystemModel_____itemData_keyList_setList(void* ptr, int i)
{
static_cast<QList<int>*>(ptr)->append(i);
}
void* QFileSystemModel_____itemData_keyList_newList(void* ptr)
{
return new QList<int>;
}
void* QFileSystemModel___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QFileSystemModel___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QFileSystemModel___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QFileSystemModel___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QFileSystemModel___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QFileSystemModel___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QFileSystemModel___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QFileSystemModel___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QFileSystemModel___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QFileSystemModel___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QFileSystemModel___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QFileSystemModel___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QFileSystemModel___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QFileSystemModel___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QFileSystemModel___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QFileSystemModel_InsertColumnsDefault(void* ptr, int column, int count, void* parent)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::insertColumns(column, count, *static_cast<QModelIndex*>(parent));
}
char QFileSystemModel_InsertRowsDefault(void* ptr, int row, int count, void* parent)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::insertRows(row, count, *static_cast<QModelIndex*>(parent));
}
char QFileSystemModel_MoveColumnsDefault(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::moveColumns(*static_cast<QModelIndex*>(sourceParent), sourceColumn, count, *static_cast<QModelIndex*>(destinationParent), destinationChild);
}
char QFileSystemModel_MoveRowsDefault(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::moveRows(*static_cast<QModelIndex*>(sourceParent), sourceRow, count, *static_cast<QModelIndex*>(destinationParent), destinationChild);
}
char QFileSystemModel_RemoveColumnsDefault(void* ptr, int column, int count, void* parent)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::removeColumns(column, count, *static_cast<QModelIndex*>(parent));
}
char QFileSystemModel_RemoveRowsDefault(void* ptr, int row, int count, void* parent)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::removeRows(row, count, *static_cast<QModelIndex*>(parent));
}
char QFileSystemModel_SetHeaderDataDefault(void* ptr, int section, long long orientation, void* value, int role)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::setHeaderData(section, static_cast<Qt::Orientation>(orientation), *static_cast<QVariant*>(value), role);
}
char QFileSystemModel_SetItemDataDefault(void* ptr, void* index, void* roles)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::setItemData(*static_cast<QModelIndex*>(index), *static_cast<QMap<int, QVariant>*>(roles));
}
char QFileSystemModel_SubmitDefault(void* ptr)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::submit();
}
void QFileSystemModel_ResetInternalDataDefault(void* ptr)
{
static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::resetInternalData();
}
void QFileSystemModel_RevertDefault(void* ptr)
{
static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::revert();
}
struct QtWidgets_PackedList QFileSystemModel_RoleNamesDefault(void* ptr)
{
return ({ QHash<int, QByteArray>* tmpValue = new QHash<int, QByteArray>(static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::roleNames()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QFileSystemModel_ItemDataDefault(void* ptr, void* index)
{
return ({ QMap<int, QVariant>* tmpValue = new QMap<int, QVariant>(static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::itemData(*static_cast<QModelIndex*>(index))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QFileSystemModel_BuddyDefault(void* ptr, void* index)
{
return new QModelIndex(static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::buddy(*static_cast<QModelIndex*>(index)));
}
struct QtWidgets_PackedList QFileSystemModel_MatchDefault(void* ptr, void* start, int role, void* value, int hits, long long flags)
{
return ({ QList<QModelIndex>* tmpValue = new QList<QModelIndex>(static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::match(*static_cast<QModelIndex*>(start), role, *static_cast<QVariant*>(value), hits, static_cast<Qt::MatchFlag>(flags))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QFileSystemModel_SpanDefault(void* ptr, void* index)
{
return ({ QSize tmpValue = static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::span(*static_cast<QModelIndex*>(index)); new QSize(tmpValue.width(), tmpValue.height()); });
}
long long QFileSystemModel_SupportedDragActionsDefault(void* ptr)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::supportedDragActions();
}
char QFileSystemModel_CanDropMimeDataDefault(void* ptr, void* data, long long action, int row, int column, void* parent)
{
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::canDropMimeData(static_cast<QMimeData*>(data), static_cast<Qt::DropAction>(action), row, column, *static_cast<QModelIndex*>(parent));
}
char QFileSystemModel_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QFileSystemModel_ChildEventDefault(void* ptr, void* event)
{
static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::childEvent(static_cast<QChildEvent*>(event));
}
void QFileSystemModel_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QFileSystemModel_CustomEventDefault(void* ptr, void* event)
{
static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::customEvent(static_cast<QEvent*>(event));
}
void QFileSystemModel_DeleteLaterDefault(void* ptr)
{
static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::deleteLater();
}
void QFileSystemModel_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void* QFileSystemModel_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QFileSystemModel*>(ptr)->QFileSystemModel::metaObject());
}
class MyQFocusFrame: public QFocusFrame
{
public:
MyQFocusFrame(QWidget *parent) : QFocusFrame(parent) {};
void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QFocusFrame_NewQFocusFrame(void* parent)
{
return new MyQFocusFrame(static_cast<QWidget*>(parent));
}
void QFocusFrame_SetWidget(void* ptr, void* widget)
{
static_cast<QFocusFrame*>(ptr)->setWidget(static_cast<QWidget*>(widget));
}
void QFocusFrame_DestroyQFocusFrame(void* ptr)
{
static_cast<QFocusFrame*>(ptr)->~QFocusFrame();
}
void* QFocusFrame_Widget(void* ptr)
{
return static_cast<QFocusFrame*>(ptr)->widget();
}
void QFocusFrame_InitStyleOption(void* ptr, void* option)
{
static_cast<QFocusFrame*>(ptr)->initStyleOption(static_cast<QStyleOption*>(option));
}
class MyQFontComboBox: public QFontComboBox
{
public:
MyQFontComboBox(QWidget *parent) : QFontComboBox(parent) {};
void Signal_CurrentFontChanged(const QFont & font) { callbackQFontComboBox_CurrentFontChanged(this, const_cast<QFont*>(&font)); };
void setCurrentFont(const QFont & fo) { callbackQFontComboBox_SetCurrentFont(this, const_cast<QFont*>(&fo)); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void Signal_Activated2(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQComboBox_Activated2(this, textPacked); };
void Signal_Activated(int index) { callbackQComboBox_Activated(this, index); };
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void clear() { callbackQComboBox_Clear(this); };
void clearEditText() { callbackQComboBox_ClearEditText(this); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void Signal_CurrentIndexChanged2(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQComboBox_CurrentIndexChanged2(this, textPacked); };
void Signal_CurrentIndexChanged(int index) { callbackQComboBox_CurrentIndexChanged(this, index); };
void Signal_CurrentTextChanged(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQComboBox_CurrentTextChanged(this, textPacked); };
void Signal_EditTextChanged(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQComboBox_EditTextChanged(this, textPacked); };
void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); };
void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); };
void hideEvent(QHideEvent * e) { callbackQWidget_HideEvent(this, e); };
void hidePopup() { callbackQComboBox_HidePopup(this); };
void Signal_Highlighted2(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQComboBox_Highlighted2(this, textPacked); };
void Signal_Highlighted(int index) { callbackQComboBox_Highlighted(this, index); };
void inputMethodEvent(QInputMethodEvent * e) { callbackQWidget_InputMethodEvent(this, e); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); };
void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); };
void setCurrentIndex(int index) { callbackQComboBox_SetCurrentIndex(this, index); };
void setCurrentText(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQComboBox_SetCurrentText(this, textPacked); };
void setEditText(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQComboBox_SetEditText(this, textPacked); };
void showEvent(QShowEvent * e) { callbackQWidget_ShowEvent(this, e); };
void showPopup() { callbackQComboBox_ShowPopup(this); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QFontComboBox_ConnectCurrentFontChanged(void* ptr)
{
QObject::connect(static_cast<QFontComboBox*>(ptr), static_cast<void (QFontComboBox::*)(const QFont &)>(&QFontComboBox::currentFontChanged), static_cast<MyQFontComboBox*>(ptr), static_cast<void (MyQFontComboBox::*)(const QFont &)>(&MyQFontComboBox::Signal_CurrentFontChanged));
}
void QFontComboBox_DisconnectCurrentFontChanged(void* ptr)
{
QObject::disconnect(static_cast<QFontComboBox*>(ptr), static_cast<void (QFontComboBox::*)(const QFont &)>(&QFontComboBox::currentFontChanged), static_cast<MyQFontComboBox*>(ptr), static_cast<void (MyQFontComboBox::*)(const QFont &)>(&MyQFontComboBox::Signal_CurrentFontChanged));
}
void QFontComboBox_CurrentFontChanged(void* ptr, void* font)
{
static_cast<QFontComboBox*>(ptr)->currentFontChanged(*static_cast<QFont*>(font));
}
void QFontComboBox_SetCurrentFont(void* ptr, void* fo)
{
QMetaObject::invokeMethod(static_cast<QFontComboBox*>(ptr), "setCurrentFont", Q_ARG(QFont, *static_cast<QFont*>(fo)));
}
void QFontComboBox_SetCurrentFontDefault(void* ptr, void* fo)
{
static_cast<QFontComboBox*>(ptr)->QFontComboBox::setCurrentFont(*static_cast<QFont*>(fo));
}
void QFontComboBox_SetFontFilters(void* ptr, long long filters)
{
static_cast<QFontComboBox*>(ptr)->setFontFilters(static_cast<QFontComboBox::FontFilter>(filters));
}
void* QFontComboBox_NewQFontComboBox(void* parent)
{
return new MyQFontComboBox(static_cast<QWidget*>(parent));
}
void QFontComboBox_SetWritingSystem(void* ptr, long long vqf)
{
static_cast<QFontComboBox*>(ptr)->setWritingSystem(static_cast<QFontDatabase::WritingSystem>(vqf));
}
void QFontComboBox_DestroyQFontComboBox(void* ptr)
{
static_cast<QFontComboBox*>(ptr)->~QFontComboBox();
}
long long QFontComboBox_FontFilters(void* ptr)
{
return static_cast<QFontComboBox*>(ptr)->fontFilters();
}
void* QFontComboBox_CurrentFont(void* ptr)
{
return new QFont(static_cast<QFontComboBox*>(ptr)->currentFont());
}
class MyQFontDialog: public QFontDialog
{
public:
MyQFontDialog(QWidget *parent) : QFontDialog(parent) {};
MyQFontDialog(const QFont &initial, QWidget *parent) : QFontDialog(initial, parent) {};
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void Signal_CurrentFontChanged(const QFont & font) { callbackQFontDialog_CurrentFontChanged(this, const_cast<QFont*>(&font)); };
void done(int result) { callbackQFontDialog_Done(this, result); };
void Signal_FontSelected(const QFont & font) { callbackQFontDialog_FontSelected(this, const_cast<QFont*>(&font)); };
void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); };
int exec() { return callbackQDialog_Exec(this); };
void accept() { callbackQDialog_Accept(this); };
void Signal_Accepted() { callbackQDialog_Accepted(this); };
void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void Signal_Finished(int result) { callbackQDialog_Finished(this, result); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void open() { callbackQDialog_Open(this); };
void reject() { callbackQDialog_Reject(this); };
void Signal_Rejected() { callbackQDialog_Rejected(this); };
void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QFontDialog_Open(void* ptr, void* receiver, char* member)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(receiver))) {
static_cast<QFontDialog*>(ptr)->open(static_cast<QGraphicsObject*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(receiver))) {
static_cast<QFontDialog*>(ptr)->open(static_cast<QGraphicsWidget*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(receiver))) {
static_cast<QFontDialog*>(ptr)->open(static_cast<QLayout*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(receiver))) {
static_cast<QFontDialog*>(ptr)->open(static_cast<QWidget*>(receiver), const_cast<const char*>(member));
} else {
static_cast<QFontDialog*>(ptr)->open(static_cast<QObject*>(receiver), const_cast<const char*>(member));
}
}
void QFontDialog_SetOptions(void* ptr, long long options)
{
static_cast<QFontDialog*>(ptr)->setOptions(static_cast<QFontDialog::FontDialogOption>(options));
}
void* QFontDialog_QFontDialog_GetFont2(char ok, void* parent)
{
return new QFont(QFontDialog::getFont(NULL, static_cast<QWidget*>(parent)));
}
void* QFontDialog_QFontDialog_GetFont(char ok, void* initial, void* parent, char* title, long long options)
{
return new QFont(QFontDialog::getFont(NULL, *static_cast<QFont*>(initial), static_cast<QWidget*>(parent), QString(title), static_cast<QFontDialog::FontDialogOption>(options)));
}
void* QFontDialog_NewQFontDialog(void* parent)
{
return new MyQFontDialog(static_cast<QWidget*>(parent));
}
void* QFontDialog_NewQFontDialog2(void* initial, void* parent)
{
return new MyQFontDialog(*static_cast<QFont*>(initial), static_cast<QWidget*>(parent));
}
void QFontDialog_ConnectCurrentFontChanged(void* ptr)
{
QObject::connect(static_cast<QFontDialog*>(ptr), static_cast<void (QFontDialog::*)(const QFont &)>(&QFontDialog::currentFontChanged), static_cast<MyQFontDialog*>(ptr), static_cast<void (MyQFontDialog::*)(const QFont &)>(&MyQFontDialog::Signal_CurrentFontChanged));
}
void QFontDialog_DisconnectCurrentFontChanged(void* ptr)
{
QObject::disconnect(static_cast<QFontDialog*>(ptr), static_cast<void (QFontDialog::*)(const QFont &)>(&QFontDialog::currentFontChanged), static_cast<MyQFontDialog*>(ptr), static_cast<void (MyQFontDialog::*)(const QFont &)>(&MyQFontDialog::Signal_CurrentFontChanged));
}
void QFontDialog_CurrentFontChanged(void* ptr, void* font)
{
static_cast<QFontDialog*>(ptr)->currentFontChanged(*static_cast<QFont*>(font));
}
void QFontDialog_Done(void* ptr, int result)
{
static_cast<QFontDialog*>(ptr)->done(result);
}
void QFontDialog_DoneDefault(void* ptr, int result)
{
static_cast<QFontDialog*>(ptr)->QFontDialog::done(result);
}
void QFontDialog_ConnectFontSelected(void* ptr)
{
QObject::connect(static_cast<QFontDialog*>(ptr), static_cast<void (QFontDialog::*)(const QFont &)>(&QFontDialog::fontSelected), static_cast<MyQFontDialog*>(ptr), static_cast<void (MyQFontDialog::*)(const QFont &)>(&MyQFontDialog::Signal_FontSelected));
}
void QFontDialog_DisconnectFontSelected(void* ptr)
{
QObject::disconnect(static_cast<QFontDialog*>(ptr), static_cast<void (QFontDialog::*)(const QFont &)>(&QFontDialog::fontSelected), static_cast<MyQFontDialog*>(ptr), static_cast<void (MyQFontDialog::*)(const QFont &)>(&MyQFontDialog::Signal_FontSelected));
}
void QFontDialog_FontSelected(void* ptr, void* font)
{
static_cast<QFontDialog*>(ptr)->fontSelected(*static_cast<QFont*>(font));
}
void QFontDialog_SetCurrentFont(void* ptr, void* font)
{
static_cast<QFontDialog*>(ptr)->setCurrentFont(*static_cast<QFont*>(font));
}
void QFontDialog_SetOption(void* ptr, long long option, char on)
{
static_cast<QFontDialog*>(ptr)->setOption(static_cast<QFontDialog::FontDialogOption>(option), on != 0);
}
long long QFontDialog_Options(void* ptr)
{
return static_cast<QFontDialog*>(ptr)->options();
}
void* QFontDialog_CurrentFont(void* ptr)
{
return new QFont(static_cast<QFontDialog*>(ptr)->currentFont());
}
void* QFontDialog_SelectedFont(void* ptr)
{
return new QFont(static_cast<QFontDialog*>(ptr)->selectedFont());
}
char QFontDialog_TestOption(void* ptr, long long option)
{
return static_cast<QFontDialog*>(ptr)->testOption(static_cast<QFontDialog::FontDialogOption>(option));
}
class MyQFormLayout: public QFormLayout
{
public:
MyQFormLayout(QWidget *parent) : QFormLayout(parent) {};
QLayoutItem * takeAt(int index) { return static_cast<QLayoutItem*>(callbackQFormLayout_TakeAt(this, index)); };
void addItem(QLayoutItem * item) { callbackQFormLayout_AddItem(this, item); };
void invalidate() { callbackQLayoutItem_Invalidate(this); };
void setGeometry(const QRect & rect) { callbackQLayout_SetGeometry(this, const_cast<QRect*>(&rect)); };
QSize minimumSize() const { return *static_cast<QSize*>(callbackQLayout_MinimumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQFormLayout_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
Qt::Orientations expandingDirections() const { return static_cast<Qt::Orientation>(callbackQLayout_ExpandingDirections(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int count() const { return callbackQFormLayout_Count(const_cast<void*>(static_cast<const void*>(this))); };
int heightForWidth(int width) const { return callbackQLayoutItem_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), width); };
QLayout * layout() { return static_cast<QLayout*>(callbackQLayoutItem_Layout(this)); };
void childEvent(QChildEvent * e) { callbackQLayout_ChildEvent(this, e); };
QRect geometry() const { return *static_cast<QRect*>(callbackQLayout_Geometry(const_cast<void*>(static_cast<const void*>(this)))); };
QSize maximumSize() const { return *static_cast<QSize*>(callbackQLayout_MaximumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSizePolicy::ControlTypes controlTypes() const { return static_cast<QSizePolicy::ControlType>(callbackQLayoutItem_ControlTypes(const_cast<void*>(static_cast<const void*>(this)))); };
bool isEmpty() const { return callbackQLayout_IsEmpty(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int indexOf(QWidget * widget) const { return callbackQLayout_IndexOf(const_cast<void*>(static_cast<const void*>(this)), widget); };
bool event(QEvent * e) { return callbackQLayout_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQLayout_EventFilter(this, watched, event) != 0; };
void connectNotify(const QMetaMethod & sign) { callbackQLayout_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQLayout_CustomEvent(this, event); };
void deleteLater() { callbackQLayout_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQLayout_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQLayout_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQLayout_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQLayout_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQLayout_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
QSpacerItem * spacerItem() { return static_cast<QSpacerItem*>(callbackQLayoutItem_SpacerItem(this)); };
QWidget * widget() { return static_cast<QWidget*>(callbackQLayoutItem_Widget(this)); };
int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
};
void* QFormLayout_NewQFormLayout(void* parent)
{
return new MyQFormLayout(static_cast<QWidget*>(parent));
}
void* QFormLayout_TakeAt(void* ptr, int index)
{
return static_cast<QFormLayout*>(ptr)->takeAt(index);
}
void* QFormLayout_TakeAtDefault(void* ptr, int index)
{
return static_cast<QFormLayout*>(ptr)->QFormLayout::takeAt(index);
}
void QFormLayout_AddItem(void* ptr, void* item)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(item))) {
static_cast<QFormLayout*>(ptr)->addItem(static_cast<QLayout*>(item));
} else {
static_cast<QFormLayout*>(ptr)->addItem(static_cast<QLayoutItem*>(item));
}
}
void QFormLayout_AddItemDefault(void* ptr, void* item)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(item))) {
static_cast<QFormLayout*>(ptr)->QFormLayout::addItem(static_cast<QLayout*>(item));
} else {
static_cast<QFormLayout*>(ptr)->QFormLayout::addItem(static_cast<QLayoutItem*>(item));
}
}
void QFormLayout_AddRow6(void* ptr, void* layout)
{
static_cast<QFormLayout*>(ptr)->addRow(static_cast<QLayout*>(layout));
}
void QFormLayout_AddRow2(void* ptr, void* label, void* field)
{
static_cast<QFormLayout*>(ptr)->addRow(static_cast<QWidget*>(label), static_cast<QLayout*>(field));
}
void QFormLayout_AddRow(void* ptr, void* label, void* field)
{
static_cast<QFormLayout*>(ptr)->addRow(static_cast<QWidget*>(label), static_cast<QWidget*>(field));
}
void QFormLayout_AddRow5(void* ptr, void* widget)
{
static_cast<QFormLayout*>(ptr)->addRow(static_cast<QWidget*>(widget));
}
void QFormLayout_AddRow4(void* ptr, char* labelText, void* field)
{
static_cast<QFormLayout*>(ptr)->addRow(QString(labelText), static_cast<QLayout*>(field));
}
void QFormLayout_AddRow3(void* ptr, char* labelText, void* field)
{
static_cast<QFormLayout*>(ptr)->addRow(QString(labelText), static_cast<QWidget*>(field));
}
void QFormLayout_InsertRow6(void* ptr, int row, void* layout)
{
static_cast<QFormLayout*>(ptr)->insertRow(row, static_cast<QLayout*>(layout));
}
void QFormLayout_InsertRow2(void* ptr, int row, void* label, void* field)
{
static_cast<QFormLayout*>(ptr)->insertRow(row, static_cast<QWidget*>(label), static_cast<QLayout*>(field));
}
void QFormLayout_InsertRow(void* ptr, int row, void* label, void* field)
{
static_cast<QFormLayout*>(ptr)->insertRow(row, static_cast<QWidget*>(label), static_cast<QWidget*>(field));
}
void QFormLayout_InsertRow5(void* ptr, int row, void* widget)
{
static_cast<QFormLayout*>(ptr)->insertRow(row, static_cast<QWidget*>(widget));
}
void QFormLayout_InsertRow4(void* ptr, int row, char* labelText, void* field)
{
static_cast<QFormLayout*>(ptr)->insertRow(row, QString(labelText), static_cast<QLayout*>(field));
}
void QFormLayout_InsertRow3(void* ptr, int row, char* labelText, void* field)
{
static_cast<QFormLayout*>(ptr)->insertRow(row, QString(labelText), static_cast<QWidget*>(field));
}
void QFormLayout_RemoveRow3(void* ptr, void* layout)
{
static_cast<QFormLayout*>(ptr)->removeRow(static_cast<QLayout*>(layout));
}
void QFormLayout_RemoveRow2(void* ptr, void* widget)
{
static_cast<QFormLayout*>(ptr)->removeRow(static_cast<QWidget*>(widget));
}
void QFormLayout_RemoveRow(void* ptr, int row)
{
static_cast<QFormLayout*>(ptr)->removeRow(row);
}
void QFormLayout_SetFieldGrowthPolicy(void* ptr, long long policy)
{
static_cast<QFormLayout*>(ptr)->setFieldGrowthPolicy(static_cast<QFormLayout::FieldGrowthPolicy>(policy));
}
void QFormLayout_SetFormAlignment(void* ptr, long long alignment)
{
static_cast<QFormLayout*>(ptr)->setFormAlignment(static_cast<Qt::AlignmentFlag>(alignment));
}
void QFormLayout_SetHorizontalSpacing(void* ptr, int spacing)
{
static_cast<QFormLayout*>(ptr)->setHorizontalSpacing(spacing);
}
void QFormLayout_SetItem(void* ptr, int row, long long role, void* item)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(item))) {
static_cast<QFormLayout*>(ptr)->setItem(row, static_cast<QFormLayout::ItemRole>(role), static_cast<QLayout*>(item));
} else {
static_cast<QFormLayout*>(ptr)->setItem(row, static_cast<QFormLayout::ItemRole>(role), static_cast<QLayoutItem*>(item));
}
}
void QFormLayout_SetLabelAlignment(void* ptr, long long alignment)
{
static_cast<QFormLayout*>(ptr)->setLabelAlignment(static_cast<Qt::AlignmentFlag>(alignment));
}
void QFormLayout_SetLayout(void* ptr, int row, long long role, void* layout)
{
static_cast<QFormLayout*>(ptr)->setLayout(row, static_cast<QFormLayout::ItemRole>(role), static_cast<QLayout*>(layout));
}
void QFormLayout_SetRowWrapPolicy(void* ptr, long long policy)
{
static_cast<QFormLayout*>(ptr)->setRowWrapPolicy(static_cast<QFormLayout::RowWrapPolicy>(policy));
}
void QFormLayout_SetVerticalSpacing(void* ptr, int spacing)
{
static_cast<QFormLayout*>(ptr)->setVerticalSpacing(spacing);
}
void QFormLayout_SetWidget(void* ptr, int row, long long role, void* widget)
{
static_cast<QFormLayout*>(ptr)->setWidget(row, static_cast<QFormLayout::ItemRole>(role), static_cast<QWidget*>(widget));
}
void QFormLayout_DestroyQFormLayout(void* ptr)
{
static_cast<QFormLayout*>(ptr)->~QFormLayout();
}
long long QFormLayout_FieldGrowthPolicy(void* ptr)
{
return static_cast<QFormLayout*>(ptr)->fieldGrowthPolicy();
}
void* QFormLayout_SizeHint(void* ptr)
{
return ({ QSize tmpValue = static_cast<QFormLayout*>(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QFormLayout_SizeHintDefault(void* ptr)
{
return ({ QSize tmpValue = static_cast<QFormLayout*>(ptr)->QFormLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QFormLayout_LabelForField2(void* ptr, void* field)
{
return static_cast<QFormLayout*>(ptr)->labelForField(static_cast<QLayout*>(field));
}
void* QFormLayout_LabelForField(void* ptr, void* field)
{
return static_cast<QFormLayout*>(ptr)->labelForField(static_cast<QWidget*>(field));
}
long long QFormLayout_FormAlignment(void* ptr)
{
return static_cast<QFormLayout*>(ptr)->formAlignment();
}
long long QFormLayout_LabelAlignment(void* ptr)
{
return static_cast<QFormLayout*>(ptr)->labelAlignment();
}
long long QFormLayout_RowWrapPolicy(void* ptr)
{
return static_cast<QFormLayout*>(ptr)->rowWrapPolicy();
}
int QFormLayout_Count(void* ptr)
{
return static_cast<QFormLayout*>(ptr)->count();
}
int QFormLayout_CountDefault(void* ptr)
{
return static_cast<QFormLayout*>(ptr)->QFormLayout::count();
}
int QFormLayout_HorizontalSpacing(void* ptr)
{
return static_cast<QFormLayout*>(ptr)->horizontalSpacing();
}
int QFormLayout_RowCount(void* ptr)
{
return static_cast<QFormLayout*>(ptr)->rowCount();
}
int QFormLayout_VerticalSpacing(void* ptr)
{
return static_cast<QFormLayout*>(ptr)->verticalSpacing();
}
class MyQFrame: public QFrame
{
public:
MyQFrame(QWidget *parent, Qt::WindowFlags f) : QFrame(parent, f) {};
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QFrame_NewQFrame(void* parent, long long fo)
{
return new MyQFrame(static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(fo));
}
void QFrame_SetFrameRect(void* ptr, void* vqr)
{
static_cast<QFrame*>(ptr)->setFrameRect(*static_cast<QRect*>(vqr));
}
void QFrame_SetFrameShadow(void* ptr, long long vsh)
{
static_cast<QFrame*>(ptr)->setFrameShadow(static_cast<QFrame::Shadow>(vsh));
}
void QFrame_SetFrameShape(void* ptr, long long vsh)
{
static_cast<QFrame*>(ptr)->setFrameShape(static_cast<QFrame::Shape>(vsh));
}
void QFrame_SetFrameStyle(void* ptr, int style)
{
static_cast<QFrame*>(ptr)->setFrameStyle(style);
}
void QFrame_SetLineWidth(void* ptr, int vin)
{
static_cast<QFrame*>(ptr)->setLineWidth(vin);
}
void QFrame_SetMidLineWidth(void* ptr, int vin)
{
static_cast<QFrame*>(ptr)->setMidLineWidth(vin);
}
void QFrame_DestroyQFrame(void* ptr)
{
static_cast<QFrame*>(ptr)->~QFrame();
}
void* QFrame_FrameRect(void* ptr)
{
return ({ QRect tmpValue = static_cast<QFrame*>(ptr)->frameRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
long long QFrame_FrameShadow(void* ptr)
{
return static_cast<QFrame*>(ptr)->frameShadow();
}
long long QFrame_FrameShape(void* ptr)
{
return static_cast<QFrame*>(ptr)->frameShape();
}
int QFrame_FrameStyle(void* ptr)
{
return static_cast<QFrame*>(ptr)->frameStyle();
}
int QFrame_FrameWidth(void* ptr)
{
return static_cast<QFrame*>(ptr)->frameWidth();
}
int QFrame_LineWidth(void* ptr)
{
return static_cast<QFrame*>(ptr)->lineWidth();
}
int QFrame_MidLineWidth(void* ptr)
{
return static_cast<QFrame*>(ptr)->midLineWidth();
}
void QFrame_InitStyleOption(void* ptr, void* option)
{
static_cast<QFrame*>(ptr)->initStyleOption(static_cast<QStyleOptionFrame*>(option));
}
class MyQGesture: public QGesture
{
public:
MyQGesture(QObject *parent) : QGesture(parent) {};
bool event(QEvent * e) { return callbackQGesture_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGesture_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGesture_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGesture_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGesture_CustomEvent(this, event); };
void deleteLater() { callbackQGesture_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGesture_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGesture_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGesture_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGesture_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGesture_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QGesture_NewQGesture(void* parent)
{
return new MyQGesture(static_cast<QObject*>(parent));
}
void QGesture_SetGestureCancelPolicy(void* ptr, long long policy)
{
static_cast<QGesture*>(ptr)->setGestureCancelPolicy(static_cast<QGesture::GestureCancelPolicy>(policy));
}
void QGesture_SetHotSpot(void* ptr, void* value)
{
static_cast<QGesture*>(ptr)->setHotSpot(*static_cast<QPointF*>(value));
}
void QGesture_UnsetHotSpot(void* ptr)
{
static_cast<QGesture*>(ptr)->unsetHotSpot();
}
void QGesture_DestroyQGesture(void* ptr)
{
static_cast<QGesture*>(ptr)->~QGesture();
}
long long QGesture_GestureCancelPolicy(void* ptr)
{
return static_cast<QGesture*>(ptr)->gestureCancelPolicy();
}
void* QGesture_HotSpot(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGesture*>(ptr)->hotSpot(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
long long QGesture_State(void* ptr)
{
return static_cast<QGesture*>(ptr)->state();
}
long long QGesture_GestureType(void* ptr)
{
return static_cast<QGesture*>(ptr)->gestureType();
}
char QGesture_HasHotSpot(void* ptr)
{
return static_cast<QGesture*>(ptr)->hasHotSpot();
}
void* QGesture___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QGesture___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QGesture___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QGesture___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QGesture___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGesture___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QGesture___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QGesture___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGesture___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QGesture___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QGesture___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGesture___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QGesture___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QGesture___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGesture___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QGesture_EventDefault(void* ptr, void* e)
{
if (dynamic_cast<QTapGesture*>(static_cast<QObject*>(ptr))) {
return static_cast<QTapGesture*>(ptr)->QTapGesture::event(static_cast<QEvent*>(e));
} else if (dynamic_cast<QTapAndHoldGesture*>(static_cast<QObject*>(ptr))) {
return static_cast<QTapAndHoldGesture*>(ptr)->QTapAndHoldGesture::event(static_cast<QEvent*>(e));
} else if (dynamic_cast<QSwipeGesture*>(static_cast<QObject*>(ptr))) {
return static_cast<QSwipeGesture*>(ptr)->QSwipeGesture::event(static_cast<QEvent*>(e));
} else if (dynamic_cast<QPinchGesture*>(static_cast<QObject*>(ptr))) {
return static_cast<QPinchGesture*>(ptr)->QPinchGesture::event(static_cast<QEvent*>(e));
} else if (dynamic_cast<QPanGesture*>(static_cast<QObject*>(ptr))) {
return static_cast<QPanGesture*>(ptr)->QPanGesture::event(static_cast<QEvent*>(e));
} else {
return static_cast<QGesture*>(ptr)->QGesture::event(static_cast<QEvent*>(e));
}
}
char QGesture_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QTapGesture*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QTapGesture*>(ptr)->QTapGesture::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTapGesture*>(ptr)->QTapGesture::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QTapGesture*>(ptr)->QTapGesture::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTapGesture*>(ptr)->QTapGesture::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QTapGesture*>(ptr)->QTapGesture::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QTapAndHoldGesture*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QTapAndHoldGesture*>(ptr)->QTapAndHoldGesture::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTapAndHoldGesture*>(ptr)->QTapAndHoldGesture::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QTapAndHoldGesture*>(ptr)->QTapAndHoldGesture::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTapAndHoldGesture*>(ptr)->QTapAndHoldGesture::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QTapAndHoldGesture*>(ptr)->QTapAndHoldGesture::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QSwipeGesture*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QSwipeGesture*>(ptr)->QSwipeGesture::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSwipeGesture*>(ptr)->QSwipeGesture::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QSwipeGesture*>(ptr)->QSwipeGesture::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSwipeGesture*>(ptr)->QSwipeGesture::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QSwipeGesture*>(ptr)->QSwipeGesture::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QPinchGesture*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QPinchGesture*>(ptr)->QPinchGesture::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QPinchGesture*>(ptr)->QPinchGesture::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QPinchGesture*>(ptr)->QPinchGesture::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QPinchGesture*>(ptr)->QPinchGesture::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QPinchGesture*>(ptr)->QPinchGesture::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QPanGesture*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QPanGesture*>(ptr)->QPanGesture::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QPanGesture*>(ptr)->QPanGesture::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QPanGesture*>(ptr)->QPanGesture::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QPanGesture*>(ptr)->QPanGesture::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QPanGesture*>(ptr)->QPanGesture::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGesture*>(ptr)->QGesture::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGesture*>(ptr)->QGesture::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGesture*>(ptr)->QGesture::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGesture*>(ptr)->QGesture::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGesture*>(ptr)->QGesture::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
}
void QGesture_ChildEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QTapGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QTapGesture*>(ptr)->QTapGesture::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QTapAndHoldGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QTapAndHoldGesture*>(ptr)->QTapAndHoldGesture::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QSwipeGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QSwipeGesture*>(ptr)->QSwipeGesture::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QPinchGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QPinchGesture*>(ptr)->QPinchGesture::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QPanGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QPanGesture*>(ptr)->QPanGesture::childEvent(static_cast<QChildEvent*>(event));
} else {
static_cast<QGesture*>(ptr)->QGesture::childEvent(static_cast<QChildEvent*>(event));
}
}
void QGesture_ConnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QTapGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QTapGesture*>(ptr)->QTapGesture::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTapAndHoldGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QTapAndHoldGesture*>(ptr)->QTapAndHoldGesture::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QSwipeGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QSwipeGesture*>(ptr)->QSwipeGesture::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QPinchGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QPinchGesture*>(ptr)->QPinchGesture::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QPanGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QPanGesture*>(ptr)->QPanGesture::connectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QGesture*>(ptr)->QGesture::connectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QGesture_CustomEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QTapGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QTapGesture*>(ptr)->QTapGesture::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTapAndHoldGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QTapAndHoldGesture*>(ptr)->QTapAndHoldGesture::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSwipeGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QSwipeGesture*>(ptr)->QSwipeGesture::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QPinchGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QPinchGesture*>(ptr)->QPinchGesture::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QPanGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QPanGesture*>(ptr)->QPanGesture::customEvent(static_cast<QEvent*>(event));
} else {
static_cast<QGesture*>(ptr)->QGesture::customEvent(static_cast<QEvent*>(event));
}
}
void QGesture_DeleteLaterDefault(void* ptr)
{
if (dynamic_cast<QTapGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QTapGesture*>(ptr)->QTapGesture::deleteLater();
} else if (dynamic_cast<QTapAndHoldGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QTapAndHoldGesture*>(ptr)->QTapAndHoldGesture::deleteLater();
} else if (dynamic_cast<QSwipeGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QSwipeGesture*>(ptr)->QSwipeGesture::deleteLater();
} else if (dynamic_cast<QPinchGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QPinchGesture*>(ptr)->QPinchGesture::deleteLater();
} else if (dynamic_cast<QPanGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QPanGesture*>(ptr)->QPanGesture::deleteLater();
} else {
static_cast<QGesture*>(ptr)->QGesture::deleteLater();
}
}
void QGesture_DisconnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QTapGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QTapGesture*>(ptr)->QTapGesture::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTapAndHoldGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QTapAndHoldGesture*>(ptr)->QTapAndHoldGesture::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QSwipeGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QSwipeGesture*>(ptr)->QSwipeGesture::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QPinchGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QPinchGesture*>(ptr)->QPinchGesture::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QPanGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QPanGesture*>(ptr)->QPanGesture::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QGesture*>(ptr)->QGesture::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QGesture_TimerEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QTapGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QTapGesture*>(ptr)->QTapGesture::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QTapAndHoldGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QTapAndHoldGesture*>(ptr)->QTapAndHoldGesture::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QSwipeGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QSwipeGesture*>(ptr)->QSwipeGesture::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QPinchGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QPinchGesture*>(ptr)->QPinchGesture::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QPanGesture*>(static_cast<QObject*>(ptr))) {
static_cast<QPanGesture*>(ptr)->QPanGesture::timerEvent(static_cast<QTimerEvent*>(event));
} else {
static_cast<QGesture*>(ptr)->QGesture::timerEvent(static_cast<QTimerEvent*>(event));
}
}
void* QGesture_MetaObjectDefault(void* ptr)
{
if (dynamic_cast<QTapGesture*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QTapGesture*>(ptr)->QTapGesture::metaObject());
} else if (dynamic_cast<QTapAndHoldGesture*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QTapAndHoldGesture*>(ptr)->QTapAndHoldGesture::metaObject());
} else if (dynamic_cast<QSwipeGesture*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QSwipeGesture*>(ptr)->QSwipeGesture::metaObject());
} else if (dynamic_cast<QPinchGesture*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QPinchGesture*>(ptr)->QPinchGesture::metaObject());
} else if (dynamic_cast<QPanGesture*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QPanGesture*>(ptr)->QPanGesture::metaObject());
} else {
return const_cast<QMetaObject*>(static_cast<QGesture*>(ptr)->QGesture::metaObject());
}
}
class MyQGestureEvent: public QGestureEvent
{
public:
MyQGestureEvent(const QList<QGesture *> &gestures) : QGestureEvent(gestures) {};
};
void* QGestureEvent_NewQGestureEvent(void* gestures)
{
return new MyQGestureEvent(*static_cast<QList<QGesture *>*>(gestures));
}
void QGestureEvent_Accept(void* ptr, void* gesture)
{
static_cast<QGestureEvent*>(ptr)->accept(static_cast<QGesture*>(gesture));
}
void QGestureEvent_Accept2(void* ptr, long long gestureType)
{
static_cast<QGestureEvent*>(ptr)->accept(static_cast<Qt::GestureType>(gestureType));
}
void QGestureEvent_Ignore(void* ptr, void* gesture)
{
static_cast<QGestureEvent*>(ptr)->ignore(static_cast<QGesture*>(gesture));
}
void QGestureEvent_Ignore2(void* ptr, long long gestureType)
{
static_cast<QGestureEvent*>(ptr)->ignore(static_cast<Qt::GestureType>(gestureType));
}
void QGestureEvent_SetAccepted(void* ptr, void* gesture, char value)
{
static_cast<QGestureEvent*>(ptr)->setAccepted(static_cast<QGesture*>(gesture), value != 0);
}
void QGestureEvent_SetAccepted2(void* ptr, long long gestureType, char value)
{
static_cast<QGestureEvent*>(ptr)->setAccepted(static_cast<Qt::GestureType>(gestureType), value != 0);
}
void QGestureEvent_DestroyQGestureEvent(void* ptr)
{
static_cast<QGestureEvent*>(ptr)->~QGestureEvent();
}
void* QGestureEvent_Gesture(void* ptr, long long ty)
{
return static_cast<QGestureEvent*>(ptr)->gesture(static_cast<Qt::GestureType>(ty));
}
struct QtWidgets_PackedList QGestureEvent_ActiveGestures(void* ptr)
{
return ({ QList<QGesture *>* tmpValue = new QList<QGesture *>(static_cast<QGestureEvent*>(ptr)->activeGestures()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QGestureEvent_CanceledGestures(void* ptr)
{
return ({ QList<QGesture *>* tmpValue = new QList<QGesture *>(static_cast<QGestureEvent*>(ptr)->canceledGestures()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QGestureEvent_Gestures(void* ptr)
{
return ({ QList<QGesture *>* tmpValue = new QList<QGesture *>(static_cast<QGestureEvent*>(ptr)->gestures()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QGestureEvent_MapToGraphicsScene(void* ptr, void* gesturePoint)
{
return ({ QPointF tmpValue = static_cast<QGestureEvent*>(ptr)->mapToGraphicsScene(*static_cast<QPointF*>(gesturePoint)); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGestureEvent_Widget(void* ptr)
{
return static_cast<QGestureEvent*>(ptr)->widget();
}
char QGestureEvent_IsAccepted(void* ptr, void* gesture)
{
return static_cast<QGestureEvent*>(ptr)->isAccepted(static_cast<QGesture*>(gesture));
}
char QGestureEvent_IsAccepted2(void* ptr, long long gestureType)
{
return static_cast<QGestureEvent*>(ptr)->isAccepted(static_cast<Qt::GestureType>(gestureType));
}
void* QGestureEvent___QGestureEvent_gestures_atList(void* ptr, int i)
{
return const_cast<QGesture*>(static_cast<QList<QGesture *>*>(ptr)->at(i));
}
void QGestureEvent___QGestureEvent_gestures_setList(void* ptr, void* i)
{
static_cast<QList<QGesture *>*>(ptr)->append(static_cast<QGesture*>(i));
}
void* QGestureEvent___QGestureEvent_gestures_newList(void* ptr)
{
return new QList<QGesture *>;
}
void* QGestureEvent___activeGestures_atList(void* ptr, int i)
{
return const_cast<QGesture*>(static_cast<QList<QGesture *>*>(ptr)->at(i));
}
void QGestureEvent___activeGestures_setList(void* ptr, void* i)
{
static_cast<QList<QGesture *>*>(ptr)->append(static_cast<QGesture*>(i));
}
void* QGestureEvent___activeGestures_newList(void* ptr)
{
return new QList<QGesture *>;
}
void* QGestureEvent___canceledGestures_atList(void* ptr, int i)
{
return const_cast<QGesture*>(static_cast<QList<QGesture *>*>(ptr)->at(i));
}
void QGestureEvent___canceledGestures_setList(void* ptr, void* i)
{
static_cast<QList<QGesture *>*>(ptr)->append(static_cast<QGesture*>(i));
}
void* QGestureEvent___canceledGestures_newList(void* ptr)
{
return new QList<QGesture *>;
}
void* QGestureEvent___gestures_atList(void* ptr, int i)
{
return const_cast<QGesture*>(static_cast<QList<QGesture *>*>(ptr)->at(i));
}
void QGestureEvent___gestures_setList(void* ptr, void* i)
{
static_cast<QList<QGesture *>*>(ptr)->append(static_cast<QGesture*>(i));
}
void* QGestureEvent___gestures_newList(void* ptr)
{
return new QList<QGesture *>;
}
class MyQGestureRecognizer: public QGestureRecognizer
{
public:
MyQGestureRecognizer() : QGestureRecognizer() {};
QGesture * create(QObject * target) { return static_cast<QGesture*>(callbackQGestureRecognizer_Create(this, target)); };
Result recognize(QGesture * gesture, QObject * watched, QEvent * event) { return static_cast<QGestureRecognizer::ResultFlag>(callbackQGestureRecognizer_Recognize(this, gesture, watched, event)); };
void reset(QGesture * gesture) { callbackQGestureRecognizer_Reset(this, gesture); };
~MyQGestureRecognizer() { callbackQGestureRecognizer_DestroyQGestureRecognizer(this); };
};
void* QGestureRecognizer_Create(void* ptr, void* target)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(target))) {
return static_cast<QGestureRecognizer*>(ptr)->create(static_cast<QGraphicsObject*>(target));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(target))) {
return static_cast<QGestureRecognizer*>(ptr)->create(static_cast<QGraphicsWidget*>(target));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(target))) {
return static_cast<QGestureRecognizer*>(ptr)->create(static_cast<QLayout*>(target));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(target))) {
return static_cast<QGestureRecognizer*>(ptr)->create(static_cast<QWidget*>(target));
} else {
return static_cast<QGestureRecognizer*>(ptr)->create(static_cast<QObject*>(target));
}
}
void* QGestureRecognizer_CreateDefault(void* ptr, void* target)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(target))) {
return static_cast<QGestureRecognizer*>(ptr)->QGestureRecognizer::create(static_cast<QGraphicsObject*>(target));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(target))) {
return static_cast<QGestureRecognizer*>(ptr)->QGestureRecognizer::create(static_cast<QGraphicsWidget*>(target));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(target))) {
return static_cast<QGestureRecognizer*>(ptr)->QGestureRecognizer::create(static_cast<QLayout*>(target));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(target))) {
return static_cast<QGestureRecognizer*>(ptr)->QGestureRecognizer::create(static_cast<QWidget*>(target));
} else {
return static_cast<QGestureRecognizer*>(ptr)->QGestureRecognizer::create(static_cast<QObject*>(target));
}
}
void* QGestureRecognizer_NewQGestureRecognizer()
{
return new MyQGestureRecognizer();
}
long long QGestureRecognizer_QGestureRecognizer_RegisterRecognizer(void* recognizer)
{
return QGestureRecognizer::registerRecognizer(static_cast<QGestureRecognizer*>(recognizer));
}
long long QGestureRecognizer_Recognize(void* ptr, void* gesture, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGestureRecognizer*>(ptr)->recognize(static_cast<QGesture*>(gesture), static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGestureRecognizer*>(ptr)->recognize(static_cast<QGesture*>(gesture), static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGestureRecognizer*>(ptr)->recognize(static_cast<QGesture*>(gesture), static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGestureRecognizer*>(ptr)->recognize(static_cast<QGesture*>(gesture), static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGestureRecognizer*>(ptr)->recognize(static_cast<QGesture*>(gesture), static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QGestureRecognizer_Reset(void* ptr, void* gesture)
{
static_cast<QGestureRecognizer*>(ptr)->reset(static_cast<QGesture*>(gesture));
}
void QGestureRecognizer_ResetDefault(void* ptr, void* gesture)
{
static_cast<QGestureRecognizer*>(ptr)->QGestureRecognizer::reset(static_cast<QGesture*>(gesture));
}
void QGestureRecognizer_QGestureRecognizer_UnregisterRecognizer(long long ty)
{
QGestureRecognizer::unregisterRecognizer(static_cast<Qt::GestureType>(ty));
}
void QGestureRecognizer_DestroyQGestureRecognizer(void* ptr)
{
static_cast<QGestureRecognizer*>(ptr)->~QGestureRecognizer();
}
void QGestureRecognizer_DestroyQGestureRecognizerDefault(void* ptr)
{
}
class MyQGraphicsAnchor: public QGraphicsAnchor
{
public:
bool event(QEvent * e) { return callbackQGraphicsAnchor_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsAnchor_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGraphicsAnchor_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGraphicsAnchor_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGraphicsAnchor_CustomEvent(this, event); };
void deleteLater() { callbackQGraphicsAnchor_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGraphicsAnchor_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsAnchor_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGraphicsAnchor_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGraphicsAnchor_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGraphicsAnchor_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QGraphicsAnchor_SetSizePolicy(void* ptr, long long policy)
{
static_cast<QGraphicsAnchor*>(ptr)->setSizePolicy(static_cast<QSizePolicy::Policy>(policy));
}
void QGraphicsAnchor_SetSpacing(void* ptr, double spacing)
{
static_cast<QGraphicsAnchor*>(ptr)->setSpacing(spacing);
}
void QGraphicsAnchor_UnsetSpacing(void* ptr)
{
static_cast<QGraphicsAnchor*>(ptr)->unsetSpacing();
}
void QGraphicsAnchor_DestroyQGraphicsAnchor(void* ptr)
{
static_cast<QGraphicsAnchor*>(ptr)->~QGraphicsAnchor();
}
long long QGraphicsAnchor_SizePolicy(void* ptr)
{
return static_cast<QGraphicsAnchor*>(ptr)->sizePolicy();
}
double QGraphicsAnchor_Spacing(void* ptr)
{
return static_cast<QGraphicsAnchor*>(ptr)->spacing();
}
void* QGraphicsAnchor___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QGraphicsAnchor___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QGraphicsAnchor___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QGraphicsAnchor___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QGraphicsAnchor___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsAnchor___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QGraphicsAnchor___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QGraphicsAnchor___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsAnchor___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QGraphicsAnchor___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QGraphicsAnchor___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsAnchor___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QGraphicsAnchor___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QGraphicsAnchor___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsAnchor___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QGraphicsAnchor_EventDefault(void* ptr, void* e)
{
return static_cast<QGraphicsAnchor*>(ptr)->QGraphicsAnchor::event(static_cast<QEvent*>(e));
}
char QGraphicsAnchor_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsAnchor*>(ptr)->QGraphicsAnchor::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsAnchor*>(ptr)->QGraphicsAnchor::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsAnchor*>(ptr)->QGraphicsAnchor::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsAnchor*>(ptr)->QGraphicsAnchor::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsAnchor*>(ptr)->QGraphicsAnchor::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QGraphicsAnchor_ChildEventDefault(void* ptr, void* event)
{
static_cast<QGraphicsAnchor*>(ptr)->QGraphicsAnchor::childEvent(static_cast<QChildEvent*>(event));
}
void QGraphicsAnchor_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QGraphicsAnchor*>(ptr)->QGraphicsAnchor::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QGraphicsAnchor_CustomEventDefault(void* ptr, void* event)
{
static_cast<QGraphicsAnchor*>(ptr)->QGraphicsAnchor::customEvent(static_cast<QEvent*>(event));
}
void QGraphicsAnchor_DeleteLaterDefault(void* ptr)
{
static_cast<QGraphicsAnchor*>(ptr)->QGraphicsAnchor::deleteLater();
}
void QGraphicsAnchor_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QGraphicsAnchor*>(ptr)->QGraphicsAnchor::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QGraphicsAnchor_TimerEventDefault(void* ptr, void* event)
{
static_cast<QGraphicsAnchor*>(ptr)->QGraphicsAnchor::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QGraphicsAnchor_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QGraphicsAnchor*>(ptr)->QGraphicsAnchor::metaObject());
}
class MyQGraphicsAnchorLayout: public QGraphicsAnchorLayout
{
public:
MyQGraphicsAnchorLayout(QGraphicsLayoutItem *parent) : QGraphicsAnchorLayout(parent) {};
void invalidate() { callbackQGraphicsLayout_Invalidate(this); };
void removeAt(int index) { callbackQGraphicsAnchorLayout_RemoveAt(this, index); };
void setGeometry(const QRectF & geom) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast<QRectF*>(&geom)); };
~MyQGraphicsAnchorLayout() { callbackQGraphicsAnchorLayout_DestroyQGraphicsAnchorLayout(this); };
QGraphicsLayoutItem * itemAt(int index) const { return static_cast<QGraphicsLayoutItem*>(callbackQGraphicsAnchorLayout_ItemAt(const_cast<void*>(static_cast<const void*>(this)), index)); };
QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint) const { return *static_cast<QSizeF*>(callbackQGraphicsAnchorLayout_SizeHint(const_cast<void*>(static_cast<const void*>(this)), which, const_cast<QSizeF*>(&constraint))); };
int count() const { return callbackQGraphicsAnchorLayout_Count(const_cast<void*>(static_cast<const void*>(this))); };
void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); };
void widgetEvent(QEvent * e) { callbackQGraphicsLayout_WidgetEvent(this, e); };
void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom) const { callbackQGraphicsLayoutItem_GetContentsMargins(const_cast<void*>(static_cast<const void*>(this)), *left, *top, *right, *bottom); };
};
void* QGraphicsAnchorLayout_AddAnchor(void* ptr, void* firstItem, long long firstEdge, void* secondItem, long long secondEdge)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(firstItem))) {
return static_cast<QGraphicsAnchorLayout*>(ptr)->addAnchor(static_cast<QGraphicsWidget*>(firstItem), static_cast<Qt::AnchorPoint>(firstEdge), static_cast<QGraphicsLayoutItem*>(secondItem), static_cast<Qt::AnchorPoint>(secondEdge));
} else {
return static_cast<QGraphicsAnchorLayout*>(ptr)->addAnchor(static_cast<QGraphicsLayoutItem*>(firstItem), static_cast<Qt::AnchorPoint>(firstEdge), static_cast<QGraphicsLayoutItem*>(secondItem), static_cast<Qt::AnchorPoint>(secondEdge));
}
}
void* QGraphicsAnchorLayout_Anchor(void* ptr, void* firstItem, long long firstEdge, void* secondItem, long long secondEdge)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(firstItem))) {
return static_cast<QGraphicsAnchorLayout*>(ptr)->anchor(static_cast<QGraphicsWidget*>(firstItem), static_cast<Qt::AnchorPoint>(firstEdge), static_cast<QGraphicsLayoutItem*>(secondItem), static_cast<Qt::AnchorPoint>(secondEdge));
} else {
return static_cast<QGraphicsAnchorLayout*>(ptr)->anchor(static_cast<QGraphicsLayoutItem*>(firstItem), static_cast<Qt::AnchorPoint>(firstEdge), static_cast<QGraphicsLayoutItem*>(secondItem), static_cast<Qt::AnchorPoint>(secondEdge));
}
}
void* QGraphicsAnchorLayout_NewQGraphicsAnchorLayout(void* parent)
{
return new MyQGraphicsAnchorLayout(static_cast<QGraphicsLayoutItem*>(parent));
}
void QGraphicsAnchorLayout_AddAnchors(void* ptr, void* firstItem, void* secondItem, long long orientations)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(firstItem))) {
static_cast<QGraphicsAnchorLayout*>(ptr)->addAnchors(static_cast<QGraphicsWidget*>(firstItem), static_cast<QGraphicsLayoutItem*>(secondItem), static_cast<Qt::Orientation>(orientations));
} else {
static_cast<QGraphicsAnchorLayout*>(ptr)->addAnchors(static_cast<QGraphicsLayoutItem*>(firstItem), static_cast<QGraphicsLayoutItem*>(secondItem), static_cast<Qt::Orientation>(orientations));
}
}
void QGraphicsAnchorLayout_AddCornerAnchors(void* ptr, void* firstItem, long long firstCorner, void* secondItem, long long secondCorner)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(firstItem))) {
static_cast<QGraphicsAnchorLayout*>(ptr)->addCornerAnchors(static_cast<QGraphicsWidget*>(firstItem), static_cast<Qt::Corner>(firstCorner), static_cast<QGraphicsLayoutItem*>(secondItem), static_cast<Qt::Corner>(secondCorner));
} else {
static_cast<QGraphicsAnchorLayout*>(ptr)->addCornerAnchors(static_cast<QGraphicsLayoutItem*>(firstItem), static_cast<Qt::Corner>(firstCorner), static_cast<QGraphicsLayoutItem*>(secondItem), static_cast<Qt::Corner>(secondCorner));
}
}
void QGraphicsAnchorLayout_RemoveAt(void* ptr, int index)
{
static_cast<QGraphicsAnchorLayout*>(ptr)->removeAt(index);
}
void QGraphicsAnchorLayout_RemoveAtDefault(void* ptr, int index)
{
static_cast<QGraphicsAnchorLayout*>(ptr)->QGraphicsAnchorLayout::removeAt(index);
}
void QGraphicsAnchorLayout_SetHorizontalSpacing(void* ptr, double spacing)
{
static_cast<QGraphicsAnchorLayout*>(ptr)->setHorizontalSpacing(spacing);
}
void QGraphicsAnchorLayout_SetSpacing(void* ptr, double spacing)
{
static_cast<QGraphicsAnchorLayout*>(ptr)->setSpacing(spacing);
}
void QGraphicsAnchorLayout_SetVerticalSpacing(void* ptr, double spacing)
{
static_cast<QGraphicsAnchorLayout*>(ptr)->setVerticalSpacing(spacing);
}
void QGraphicsAnchorLayout_DestroyQGraphicsAnchorLayout(void* ptr)
{
static_cast<QGraphicsAnchorLayout*>(ptr)->~QGraphicsAnchorLayout();
}
void QGraphicsAnchorLayout_DestroyQGraphicsAnchorLayoutDefault(void* ptr)
{
}
void* QGraphicsAnchorLayout_ItemAt(void* ptr, int index)
{
return static_cast<QGraphicsAnchorLayout*>(ptr)->itemAt(index);
}
void* QGraphicsAnchorLayout_ItemAtDefault(void* ptr, int index)
{
return static_cast<QGraphicsAnchorLayout*>(ptr)->QGraphicsAnchorLayout::itemAt(index);
}
void* QGraphicsAnchorLayout_SizeHint(void* ptr, long long which, void* constraint)
{
return ({ QSizeF tmpValue = static_cast<QGraphicsAnchorLayout*>(ptr)->sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsAnchorLayout_SizeHintDefault(void* ptr, long long which, void* constraint)
{
return ({ QSizeF tmpValue = static_cast<QGraphicsAnchorLayout*>(ptr)->QGraphicsAnchorLayout::sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
int QGraphicsAnchorLayout_Count(void* ptr)
{
return static_cast<QGraphicsAnchorLayout*>(ptr)->count();
}
int QGraphicsAnchorLayout_CountDefault(void* ptr)
{
return static_cast<QGraphicsAnchorLayout*>(ptr)->QGraphicsAnchorLayout::count();
}
double QGraphicsAnchorLayout_HorizontalSpacing(void* ptr)
{
return static_cast<QGraphicsAnchorLayout*>(ptr)->horizontalSpacing();
}
double QGraphicsAnchorLayout_VerticalSpacing(void* ptr)
{
return static_cast<QGraphicsAnchorLayout*>(ptr)->verticalSpacing();
}
class MyQGraphicsBlurEffect: public QGraphicsBlurEffect
{
public:
MyQGraphicsBlurEffect(QObject *parent) : QGraphicsBlurEffect(parent) {};
void Signal_BlurHintsChanged(QGraphicsBlurEffect::BlurHints hints) { callbackQGraphicsBlurEffect_BlurHintsChanged(this, hints); };
void Signal_BlurRadiusChanged(qreal radius) { callbackQGraphicsBlurEffect_BlurRadiusChanged(this, radius); };
void setBlurHints(QGraphicsBlurEffect::BlurHints hints) { callbackQGraphicsBlurEffect_SetBlurHints(this, hints); };
void setBlurRadius(qreal blurRadius) { callbackQGraphicsBlurEffect_SetBlurRadius(this, blurRadius); };
void draw(QPainter * painter) { callbackQGraphicsBlurEffect_Draw(this, painter); };
QRectF boundingRectFor(const QRectF & rect) const { return *static_cast<QRectF*>(callbackQGraphicsEffect_BoundingRectFor(const_cast<void*>(static_cast<const void*>(this)), const_cast<QRectF*>(&rect))); };
void Signal_EnabledChanged(bool enabled) { callbackQGraphicsEffect_EnabledChanged(this, enabled); };
void setEnabled(bool enable) { callbackQGraphicsEffect_SetEnabled(this, enable); };
void sourceChanged(QGraphicsEffect::ChangeFlags flags) { callbackQGraphicsEffect_SourceChanged(this, flags); };
void update() { callbackQGraphicsEffect_Update(this); };
bool event(QEvent * e) { return callbackQGraphicsEffect_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsEffect_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGraphicsEffect_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGraphicsEffect_CustomEvent(this, event); };
void deleteLater() { callbackQGraphicsEffect_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGraphicsEffect_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGraphicsEffect_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGraphicsEffect_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGraphicsEffect_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QGraphicsBlurEffect_ConnectBlurHintsChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsBlurEffect*>(ptr), static_cast<void (QGraphicsBlurEffect::*)(QGraphicsBlurEffect::BlurHints)>(&QGraphicsBlurEffect::blurHintsChanged), static_cast<MyQGraphicsBlurEffect*>(ptr), static_cast<void (MyQGraphicsBlurEffect::*)(QGraphicsBlurEffect::BlurHints)>(&MyQGraphicsBlurEffect::Signal_BlurHintsChanged));
}
void QGraphicsBlurEffect_DisconnectBlurHintsChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsBlurEffect*>(ptr), static_cast<void (QGraphicsBlurEffect::*)(QGraphicsBlurEffect::BlurHints)>(&QGraphicsBlurEffect::blurHintsChanged), static_cast<MyQGraphicsBlurEffect*>(ptr), static_cast<void (MyQGraphicsBlurEffect::*)(QGraphicsBlurEffect::BlurHints)>(&MyQGraphicsBlurEffect::Signal_BlurHintsChanged));
}
void QGraphicsBlurEffect_BlurHintsChanged(void* ptr, long long hints)
{
static_cast<QGraphicsBlurEffect*>(ptr)->blurHintsChanged(static_cast<QGraphicsBlurEffect::BlurHint>(hints));
}
void QGraphicsBlurEffect_ConnectBlurRadiusChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsBlurEffect*>(ptr), static_cast<void (QGraphicsBlurEffect::*)(qreal)>(&QGraphicsBlurEffect::blurRadiusChanged), static_cast<MyQGraphicsBlurEffect*>(ptr), static_cast<void (MyQGraphicsBlurEffect::*)(qreal)>(&MyQGraphicsBlurEffect::Signal_BlurRadiusChanged));
}
void QGraphicsBlurEffect_DisconnectBlurRadiusChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsBlurEffect*>(ptr), static_cast<void (QGraphicsBlurEffect::*)(qreal)>(&QGraphicsBlurEffect::blurRadiusChanged), static_cast<MyQGraphicsBlurEffect*>(ptr), static_cast<void (MyQGraphicsBlurEffect::*)(qreal)>(&MyQGraphicsBlurEffect::Signal_BlurRadiusChanged));
}
void QGraphicsBlurEffect_BlurRadiusChanged(void* ptr, double radius)
{
static_cast<QGraphicsBlurEffect*>(ptr)->blurRadiusChanged(radius);
}
void QGraphicsBlurEffect_SetBlurHints(void* ptr, long long hints)
{
QMetaObject::invokeMethod(static_cast<QGraphicsBlurEffect*>(ptr), "setBlurHints", Q_ARG(QGraphicsBlurEffect::BlurHint, static_cast<QGraphicsBlurEffect::BlurHint>(hints)));
}
void QGraphicsBlurEffect_SetBlurHintsDefault(void* ptr, long long hints)
{
static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::setBlurHints(static_cast<QGraphicsBlurEffect::BlurHint>(hints));
}
void QGraphicsBlurEffect_SetBlurRadius(void* ptr, double blurRadius)
{
QMetaObject::invokeMethod(static_cast<QGraphicsBlurEffect*>(ptr), "setBlurRadius", Q_ARG(qreal, blurRadius));
}
void QGraphicsBlurEffect_SetBlurRadiusDefault(void* ptr, double blurRadius)
{
static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::setBlurRadius(blurRadius);
}
long long QGraphicsBlurEffect_BlurHints(void* ptr)
{
return static_cast<QGraphicsBlurEffect*>(ptr)->blurHints();
}
double QGraphicsBlurEffect_BlurRadius(void* ptr)
{
return static_cast<QGraphicsBlurEffect*>(ptr)->blurRadius();
}
void* QGraphicsBlurEffect_NewQGraphicsBlurEffect(void* parent)
{
return new MyQGraphicsBlurEffect(static_cast<QObject*>(parent));
}
void QGraphicsBlurEffect_Draw(void* ptr, void* painter)
{
static_cast<QGraphicsBlurEffect*>(ptr)->draw(static_cast<QPainter*>(painter));
}
void QGraphicsBlurEffect_DrawDefault(void* ptr, void* painter)
{
static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::draw(static_cast<QPainter*>(painter));
}
void QGraphicsBlurEffect_DestroyQGraphicsBlurEffect(void* ptr)
{
static_cast<QGraphicsBlurEffect*>(ptr)->~QGraphicsBlurEffect();
}
class MyQGraphicsColorizeEffect: public QGraphicsColorizeEffect
{
public:
MyQGraphicsColorizeEffect(QObject *parent) : QGraphicsColorizeEffect(parent) {};
void Signal_ColorChanged(const QColor & color) { callbackQGraphicsColorizeEffect_ColorChanged(this, const_cast<QColor*>(&color)); };
void draw(QPainter * painter) { callbackQGraphicsColorizeEffect_Draw(this, painter); };
void setColor(const QColor & c) { callbackQGraphicsColorizeEffect_SetColor(this, const_cast<QColor*>(&c)); };
void setStrength(qreal strength) { callbackQGraphicsColorizeEffect_SetStrength(this, strength); };
void Signal_StrengthChanged(qreal strength) { callbackQGraphicsColorizeEffect_StrengthChanged(this, strength); };
void Signal_EnabledChanged(bool enabled) { callbackQGraphicsEffect_EnabledChanged(this, enabled); };
void setEnabled(bool enable) { callbackQGraphicsEffect_SetEnabled(this, enable); };
void sourceChanged(QGraphicsEffect::ChangeFlags flags) { callbackQGraphicsEffect_SourceChanged(this, flags); };
void update() { callbackQGraphicsEffect_Update(this); };
QRectF boundingRectFor(const QRectF & rect) const { return *static_cast<QRectF*>(callbackQGraphicsEffect_BoundingRectFor(const_cast<void*>(static_cast<const void*>(this)), const_cast<QRectF*>(&rect))); };
bool event(QEvent * e) { return callbackQGraphicsEffect_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsEffect_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGraphicsEffect_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGraphicsEffect_CustomEvent(this, event); };
void deleteLater() { callbackQGraphicsEffect_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGraphicsEffect_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGraphicsEffect_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGraphicsEffect_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGraphicsEffect_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QGraphicsColorizeEffect_NewQGraphicsColorizeEffect(void* parent)
{
return new MyQGraphicsColorizeEffect(static_cast<QObject*>(parent));
}
void QGraphicsColorizeEffect_ConnectColorChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsColorizeEffect*>(ptr), static_cast<void (QGraphicsColorizeEffect::*)(const QColor &)>(&QGraphicsColorizeEffect::colorChanged), static_cast<MyQGraphicsColorizeEffect*>(ptr), static_cast<void (MyQGraphicsColorizeEffect::*)(const QColor &)>(&MyQGraphicsColorizeEffect::Signal_ColorChanged));
}
void QGraphicsColorizeEffect_DisconnectColorChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsColorizeEffect*>(ptr), static_cast<void (QGraphicsColorizeEffect::*)(const QColor &)>(&QGraphicsColorizeEffect::colorChanged), static_cast<MyQGraphicsColorizeEffect*>(ptr), static_cast<void (MyQGraphicsColorizeEffect::*)(const QColor &)>(&MyQGraphicsColorizeEffect::Signal_ColorChanged));
}
void QGraphicsColorizeEffect_ColorChanged(void* ptr, void* color)
{
static_cast<QGraphicsColorizeEffect*>(ptr)->colorChanged(*static_cast<QColor*>(color));
}
void QGraphicsColorizeEffect_Draw(void* ptr, void* painter)
{
static_cast<QGraphicsColorizeEffect*>(ptr)->draw(static_cast<QPainter*>(painter));
}
void QGraphicsColorizeEffect_DrawDefault(void* ptr, void* painter)
{
static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::draw(static_cast<QPainter*>(painter));
}
void QGraphicsColorizeEffect_SetColor(void* ptr, void* c)
{
QMetaObject::invokeMethod(static_cast<QGraphicsColorizeEffect*>(ptr), "setColor", Q_ARG(QColor, *static_cast<QColor*>(c)));
}
void QGraphicsColorizeEffect_SetColorDefault(void* ptr, void* c)
{
static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::setColor(*static_cast<QColor*>(c));
}
void QGraphicsColorizeEffect_SetStrength(void* ptr, double strength)
{
QMetaObject::invokeMethod(static_cast<QGraphicsColorizeEffect*>(ptr), "setStrength", Q_ARG(qreal, strength));
}
void QGraphicsColorizeEffect_SetStrengthDefault(void* ptr, double strength)
{
static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::setStrength(strength);
}
void QGraphicsColorizeEffect_ConnectStrengthChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsColorizeEffect*>(ptr), static_cast<void (QGraphicsColorizeEffect::*)(qreal)>(&QGraphicsColorizeEffect::strengthChanged), static_cast<MyQGraphicsColorizeEffect*>(ptr), static_cast<void (MyQGraphicsColorizeEffect::*)(qreal)>(&MyQGraphicsColorizeEffect::Signal_StrengthChanged));
}
void QGraphicsColorizeEffect_DisconnectStrengthChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsColorizeEffect*>(ptr), static_cast<void (QGraphicsColorizeEffect::*)(qreal)>(&QGraphicsColorizeEffect::strengthChanged), static_cast<MyQGraphicsColorizeEffect*>(ptr), static_cast<void (MyQGraphicsColorizeEffect::*)(qreal)>(&MyQGraphicsColorizeEffect::Signal_StrengthChanged));
}
void QGraphicsColorizeEffect_StrengthChanged(void* ptr, double strength)
{
static_cast<QGraphicsColorizeEffect*>(ptr)->strengthChanged(strength);
}
void QGraphicsColorizeEffect_DestroyQGraphicsColorizeEffect(void* ptr)
{
static_cast<QGraphicsColorizeEffect*>(ptr)->~QGraphicsColorizeEffect();
}
void* QGraphicsColorizeEffect_Color(void* ptr)
{
return new QColor(static_cast<QGraphicsColorizeEffect*>(ptr)->color());
}
double QGraphicsColorizeEffect_Strength(void* ptr)
{
return static_cast<QGraphicsColorizeEffect*>(ptr)->strength();
}
class MyQGraphicsDropShadowEffect: public QGraphicsDropShadowEffect
{
public:
MyQGraphicsDropShadowEffect(QObject *parent) : QGraphicsDropShadowEffect(parent) {};
void Signal_BlurRadiusChanged(qreal blurRadius) { callbackQGraphicsDropShadowEffect_BlurRadiusChanged(this, blurRadius); };
void Signal_ColorChanged(const QColor & color) { callbackQGraphicsDropShadowEffect_ColorChanged(this, const_cast<QColor*>(&color)); };
void draw(QPainter * painter) { callbackQGraphicsDropShadowEffect_Draw(this, painter); };
void Signal_OffsetChanged(const QPointF & offset) { callbackQGraphicsDropShadowEffect_OffsetChanged(this, const_cast<QPointF*>(&offset)); };
void setBlurRadius(qreal blurRadius) { callbackQGraphicsDropShadowEffect_SetBlurRadius(this, blurRadius); };
void setColor(const QColor & color) { callbackQGraphicsDropShadowEffect_SetColor(this, const_cast<QColor*>(&color)); };
void setOffset(const QPointF & ofs) { callbackQGraphicsDropShadowEffect_SetOffset(this, const_cast<QPointF*>(&ofs)); };
void setOffset(qreal d) { callbackQGraphicsDropShadowEffect_SetOffset2(this, d); };
void setOffset(qreal dx, qreal dy) { callbackQGraphicsDropShadowEffect_SetOffset3(this, dx, dy); };
void setXOffset(qreal dx) { callbackQGraphicsDropShadowEffect_SetXOffset(this, dx); };
void setYOffset(qreal dy) { callbackQGraphicsDropShadowEffect_SetYOffset(this, dy); };
QRectF boundingRectFor(const QRectF & rect) const { return *static_cast<QRectF*>(callbackQGraphicsEffect_BoundingRectFor(const_cast<void*>(static_cast<const void*>(this)), const_cast<QRectF*>(&rect))); };
void Signal_EnabledChanged(bool enabled) { callbackQGraphicsEffect_EnabledChanged(this, enabled); };
void setEnabled(bool enable) { callbackQGraphicsEffect_SetEnabled(this, enable); };
void sourceChanged(QGraphicsEffect::ChangeFlags flags) { callbackQGraphicsEffect_SourceChanged(this, flags); };
void update() { callbackQGraphicsEffect_Update(this); };
bool event(QEvent * e) { return callbackQGraphicsEffect_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsEffect_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGraphicsEffect_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGraphicsEffect_CustomEvent(this, event); };
void deleteLater() { callbackQGraphicsEffect_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGraphicsEffect_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGraphicsEffect_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGraphicsEffect_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGraphicsEffect_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QGraphicsDropShadowEffect_NewQGraphicsDropShadowEffect(void* parent)
{
return new MyQGraphicsDropShadowEffect(static_cast<QObject*>(parent));
}
void QGraphicsDropShadowEffect_ConnectBlurRadiusChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsDropShadowEffect*>(ptr), static_cast<void (QGraphicsDropShadowEffect::*)(qreal)>(&QGraphicsDropShadowEffect::blurRadiusChanged), static_cast<MyQGraphicsDropShadowEffect*>(ptr), static_cast<void (MyQGraphicsDropShadowEffect::*)(qreal)>(&MyQGraphicsDropShadowEffect::Signal_BlurRadiusChanged));
}
void QGraphicsDropShadowEffect_DisconnectBlurRadiusChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsDropShadowEffect*>(ptr), static_cast<void (QGraphicsDropShadowEffect::*)(qreal)>(&QGraphicsDropShadowEffect::blurRadiusChanged), static_cast<MyQGraphicsDropShadowEffect*>(ptr), static_cast<void (MyQGraphicsDropShadowEffect::*)(qreal)>(&MyQGraphicsDropShadowEffect::Signal_BlurRadiusChanged));
}
void QGraphicsDropShadowEffect_BlurRadiusChanged(void* ptr, double blurRadius)
{
static_cast<QGraphicsDropShadowEffect*>(ptr)->blurRadiusChanged(blurRadius);
}
void QGraphicsDropShadowEffect_ConnectColorChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsDropShadowEffect*>(ptr), static_cast<void (QGraphicsDropShadowEffect::*)(const QColor &)>(&QGraphicsDropShadowEffect::colorChanged), static_cast<MyQGraphicsDropShadowEffect*>(ptr), static_cast<void (MyQGraphicsDropShadowEffect::*)(const QColor &)>(&MyQGraphicsDropShadowEffect::Signal_ColorChanged));
}
void QGraphicsDropShadowEffect_DisconnectColorChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsDropShadowEffect*>(ptr), static_cast<void (QGraphicsDropShadowEffect::*)(const QColor &)>(&QGraphicsDropShadowEffect::colorChanged), static_cast<MyQGraphicsDropShadowEffect*>(ptr), static_cast<void (MyQGraphicsDropShadowEffect::*)(const QColor &)>(&MyQGraphicsDropShadowEffect::Signal_ColorChanged));
}
void QGraphicsDropShadowEffect_ColorChanged(void* ptr, void* color)
{
static_cast<QGraphicsDropShadowEffect*>(ptr)->colorChanged(*static_cast<QColor*>(color));
}
void QGraphicsDropShadowEffect_Draw(void* ptr, void* painter)
{
static_cast<QGraphicsDropShadowEffect*>(ptr)->draw(static_cast<QPainter*>(painter));
}
void QGraphicsDropShadowEffect_DrawDefault(void* ptr, void* painter)
{
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::draw(static_cast<QPainter*>(painter));
}
void QGraphicsDropShadowEffect_ConnectOffsetChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsDropShadowEffect*>(ptr), static_cast<void (QGraphicsDropShadowEffect::*)(const QPointF &)>(&QGraphicsDropShadowEffect::offsetChanged), static_cast<MyQGraphicsDropShadowEffect*>(ptr), static_cast<void (MyQGraphicsDropShadowEffect::*)(const QPointF &)>(&MyQGraphicsDropShadowEffect::Signal_OffsetChanged));
}
void QGraphicsDropShadowEffect_DisconnectOffsetChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsDropShadowEffect*>(ptr), static_cast<void (QGraphicsDropShadowEffect::*)(const QPointF &)>(&QGraphicsDropShadowEffect::offsetChanged), static_cast<MyQGraphicsDropShadowEffect*>(ptr), static_cast<void (MyQGraphicsDropShadowEffect::*)(const QPointF &)>(&MyQGraphicsDropShadowEffect::Signal_OffsetChanged));
}
void QGraphicsDropShadowEffect_OffsetChanged(void* ptr, void* offset)
{
static_cast<QGraphicsDropShadowEffect*>(ptr)->offsetChanged(*static_cast<QPointF*>(offset));
}
void QGraphicsDropShadowEffect_SetBlurRadius(void* ptr, double blurRadius)
{
QMetaObject::invokeMethod(static_cast<QGraphicsDropShadowEffect*>(ptr), "setBlurRadius", Q_ARG(qreal, blurRadius));
}
void QGraphicsDropShadowEffect_SetBlurRadiusDefault(void* ptr, double blurRadius)
{
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::setBlurRadius(blurRadius);
}
void QGraphicsDropShadowEffect_SetColor(void* ptr, void* color)
{
QMetaObject::invokeMethod(static_cast<QGraphicsDropShadowEffect*>(ptr), "setColor", Q_ARG(QColor, *static_cast<QColor*>(color)));
}
void QGraphicsDropShadowEffect_SetColorDefault(void* ptr, void* color)
{
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::setColor(*static_cast<QColor*>(color));
}
void QGraphicsDropShadowEffect_SetOffset(void* ptr, void* ofs)
{
QMetaObject::invokeMethod(static_cast<QGraphicsDropShadowEffect*>(ptr), "setOffset", Q_ARG(QPointF, *static_cast<QPointF*>(ofs)));
}
void QGraphicsDropShadowEffect_SetOffsetDefault(void* ptr, void* ofs)
{
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::setOffset(*static_cast<QPointF*>(ofs));
}
void QGraphicsDropShadowEffect_SetOffset2(void* ptr, double d)
{
QMetaObject::invokeMethod(static_cast<QGraphicsDropShadowEffect*>(ptr), "setOffset", Q_ARG(qreal, d));
}
void QGraphicsDropShadowEffect_SetOffset2Default(void* ptr, double d)
{
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::setOffset(d);
}
void QGraphicsDropShadowEffect_SetOffset3(void* ptr, double dx, double dy)
{
QMetaObject::invokeMethod(static_cast<QGraphicsDropShadowEffect*>(ptr), "setOffset", Q_ARG(qreal, dx), Q_ARG(qreal, dy));
}
void QGraphicsDropShadowEffect_SetOffset3Default(void* ptr, double dx, double dy)
{
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::setOffset(dx, dy);
}
void QGraphicsDropShadowEffect_SetXOffset(void* ptr, double dx)
{
QMetaObject::invokeMethod(static_cast<QGraphicsDropShadowEffect*>(ptr), "setXOffset", Q_ARG(qreal, dx));
}
void QGraphicsDropShadowEffect_SetXOffsetDefault(void* ptr, double dx)
{
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::setXOffset(dx);
}
void QGraphicsDropShadowEffect_SetYOffset(void* ptr, double dy)
{
QMetaObject::invokeMethod(static_cast<QGraphicsDropShadowEffect*>(ptr), "setYOffset", Q_ARG(qreal, dy));
}
void QGraphicsDropShadowEffect_SetYOffsetDefault(void* ptr, double dy)
{
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::setYOffset(dy);
}
void QGraphicsDropShadowEffect_DestroyQGraphicsDropShadowEffect(void* ptr)
{
static_cast<QGraphicsDropShadowEffect*>(ptr)->~QGraphicsDropShadowEffect();
}
void* QGraphicsDropShadowEffect_Color(void* ptr)
{
return new QColor(static_cast<QGraphicsDropShadowEffect*>(ptr)->color());
}
void* QGraphicsDropShadowEffect_Offset(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsDropShadowEffect*>(ptr)->offset(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
double QGraphicsDropShadowEffect_BlurRadius(void* ptr)
{
return static_cast<QGraphicsDropShadowEffect*>(ptr)->blurRadius();
}
double QGraphicsDropShadowEffect_XOffset(void* ptr)
{
return static_cast<QGraphicsDropShadowEffect*>(ptr)->xOffset();
}
double QGraphicsDropShadowEffect_YOffset(void* ptr)
{
return static_cast<QGraphicsDropShadowEffect*>(ptr)->yOffset();
}
class MyQGraphicsEffect: public QGraphicsEffect
{
public:
MyQGraphicsEffect(QObject *parent) : QGraphicsEffect(parent) {};
void Signal_EnabledChanged(bool enabled) { callbackQGraphicsEffect_EnabledChanged(this, enabled); };
void setEnabled(bool enable) { callbackQGraphicsEffect_SetEnabled(this, enable); };
void draw(QPainter * painter) { callbackQGraphicsEffect_Draw(this, painter); };
void sourceChanged(QGraphicsEffect::ChangeFlags flags) { callbackQGraphicsEffect_SourceChanged(this, flags); };
void update() { callbackQGraphicsEffect_Update(this); };
~MyQGraphicsEffect() { callbackQGraphicsEffect_DestroyQGraphicsEffect(this); };
QRectF boundingRectFor(const QRectF & rect) const { return *static_cast<QRectF*>(callbackQGraphicsEffect_BoundingRectFor(const_cast<void*>(static_cast<const void*>(this)), const_cast<QRectF*>(&rect))); };
bool event(QEvent * e) { return callbackQGraphicsEffect_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsEffect_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGraphicsEffect_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGraphicsEffect_CustomEvent(this, event); };
void deleteLater() { callbackQGraphicsEffect_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGraphicsEffect_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGraphicsEffect_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGraphicsEffect_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGraphicsEffect_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QGraphicsEffect_ConnectEnabledChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsEffect*>(ptr), static_cast<void (QGraphicsEffect::*)(bool)>(&QGraphicsEffect::enabledChanged), static_cast<MyQGraphicsEffect*>(ptr), static_cast<void (MyQGraphicsEffect::*)(bool)>(&MyQGraphicsEffect::Signal_EnabledChanged));
}
void QGraphicsEffect_DisconnectEnabledChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsEffect*>(ptr), static_cast<void (QGraphicsEffect::*)(bool)>(&QGraphicsEffect::enabledChanged), static_cast<MyQGraphicsEffect*>(ptr), static_cast<void (MyQGraphicsEffect::*)(bool)>(&MyQGraphicsEffect::Signal_EnabledChanged));
}
void QGraphicsEffect_EnabledChanged(void* ptr, char enabled)
{
static_cast<QGraphicsEffect*>(ptr)->enabledChanged(enabled != 0);
}
void QGraphicsEffect_SetEnabled(void* ptr, char enable)
{
QMetaObject::invokeMethod(static_cast<QGraphicsEffect*>(ptr), "setEnabled", Q_ARG(bool, enable != 0));
}
void QGraphicsEffect_SetEnabledDefault(void* ptr, char enable)
{
if (dynamic_cast<QGraphicsOpacityEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::setEnabled(enable != 0);
} else if (dynamic_cast<QGraphicsDropShadowEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::setEnabled(enable != 0);
} else if (dynamic_cast<QGraphicsColorizeEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::setEnabled(enable != 0);
} else if (dynamic_cast<QGraphicsBlurEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::setEnabled(enable != 0);
} else {
static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::setEnabled(enable != 0);
}
}
void* QGraphicsEffect_NewQGraphicsEffect(void* parent)
{
return new MyQGraphicsEffect(static_cast<QObject*>(parent));
}
void QGraphicsEffect_Draw(void* ptr, void* painter)
{
static_cast<QGraphicsEffect*>(ptr)->draw(static_cast<QPainter*>(painter));
}
void QGraphicsEffect_DrawSource(void* ptr, void* painter)
{
static_cast<QGraphicsEffect*>(ptr)->drawSource(static_cast<QPainter*>(painter));
}
void QGraphicsEffect_SourceChanged(void* ptr, long long flags)
{
static_cast<QGraphicsEffect*>(ptr)->sourceChanged(static_cast<QGraphicsEffect::ChangeFlag>(flags));
}
void QGraphicsEffect_SourceChangedDefault(void* ptr, long long flags)
{
if (dynamic_cast<QGraphicsOpacityEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::sourceChanged(static_cast<QGraphicsEffect::ChangeFlag>(flags));
} else if (dynamic_cast<QGraphicsDropShadowEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::sourceChanged(static_cast<QGraphicsEffect::ChangeFlag>(flags));
} else if (dynamic_cast<QGraphicsColorizeEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::sourceChanged(static_cast<QGraphicsEffect::ChangeFlag>(flags));
} else if (dynamic_cast<QGraphicsBlurEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::sourceChanged(static_cast<QGraphicsEffect::ChangeFlag>(flags));
} else {
static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::sourceChanged(static_cast<QGraphicsEffect::ChangeFlag>(flags));
}
}
void QGraphicsEffect_Update(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QGraphicsEffect*>(ptr), "update");
}
void QGraphicsEffect_UpdateDefault(void* ptr)
{
if (dynamic_cast<QGraphicsOpacityEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::update();
} else if (dynamic_cast<QGraphicsDropShadowEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::update();
} else if (dynamic_cast<QGraphicsColorizeEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::update();
} else if (dynamic_cast<QGraphicsBlurEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::update();
} else {
static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::update();
}
}
void QGraphicsEffect_UpdateBoundingRect(void* ptr)
{
static_cast<QGraphicsEffect*>(ptr)->updateBoundingRect();
}
void QGraphicsEffect_DestroyQGraphicsEffect(void* ptr)
{
static_cast<QGraphicsEffect*>(ptr)->~QGraphicsEffect();
}
void QGraphicsEffect_DestroyQGraphicsEffectDefault(void* ptr)
{
}
void* QGraphicsEffect_SourcePixmap(void* ptr, long long system, void* offset, long long mode)
{
return new QPixmap(static_cast<QGraphicsEffect*>(ptr)->sourcePixmap(static_cast<Qt::CoordinateSystem>(system), static_cast<QPoint*>(offset), static_cast<QGraphicsEffect::PixmapPadMode>(mode)));
}
void* QGraphicsEffect_BoundingRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsEffect*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsEffect_BoundingRectFor(void* ptr, void* rect)
{
return ({ QRectF tmpValue = static_cast<QGraphicsEffect*>(ptr)->boundingRectFor(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsEffect_BoundingRectForDefault(void* ptr, void* rect)
{
if (dynamic_cast<QGraphicsOpacityEffect*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::boundingRectFor(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsDropShadowEffect*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::boundingRectFor(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsColorizeEffect*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::boundingRectFor(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsBlurEffect*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::boundingRectFor(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::boundingRectFor(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsEffect_SourceBoundingRect(void* ptr, long long system)
{
return ({ QRectF tmpValue = static_cast<QGraphicsEffect*>(ptr)->sourceBoundingRect(static_cast<Qt::CoordinateSystem>(system)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
char QGraphicsEffect_IsEnabled(void* ptr)
{
return static_cast<QGraphicsEffect*>(ptr)->isEnabled();
}
char QGraphicsEffect_SourceIsPixmap(void* ptr)
{
return static_cast<QGraphicsEffect*>(ptr)->sourceIsPixmap();
}
void* QGraphicsEffect___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QGraphicsEffect___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QGraphicsEffect___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QGraphicsEffect___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QGraphicsEffect___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsEffect___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QGraphicsEffect___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QGraphicsEffect___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsEffect___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QGraphicsEffect___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QGraphicsEffect___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsEffect___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QGraphicsEffect___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QGraphicsEffect___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsEffect___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QGraphicsEffect_EventDefault(void* ptr, void* e)
{
if (dynamic_cast<QGraphicsOpacityEffect*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::event(static_cast<QEvent*>(e));
} else if (dynamic_cast<QGraphicsDropShadowEffect*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::event(static_cast<QEvent*>(e));
} else if (dynamic_cast<QGraphicsColorizeEffect*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::event(static_cast<QEvent*>(e));
} else if (dynamic_cast<QGraphicsBlurEffect*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::event(static_cast<QEvent*>(e));
} else {
return static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::event(static_cast<QEvent*>(e));
}
}
char QGraphicsEffect_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsOpacityEffect*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsDropShadowEffect*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsColorizeEffect*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsBlurEffect*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
}
void QGraphicsEffect_ChildEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsOpacityEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QGraphicsDropShadowEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QGraphicsColorizeEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QGraphicsBlurEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::childEvent(static_cast<QChildEvent*>(event));
} else {
static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::childEvent(static_cast<QChildEvent*>(event));
}
}
void QGraphicsEffect_ConnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QGraphicsOpacityEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGraphicsDropShadowEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGraphicsColorizeEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGraphicsBlurEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::connectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::connectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QGraphicsEffect_CustomEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsOpacityEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsDropShadowEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsColorizeEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsBlurEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::customEvent(static_cast<QEvent*>(event));
} else {
static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::customEvent(static_cast<QEvent*>(event));
}
}
void QGraphicsEffect_DeleteLaterDefault(void* ptr)
{
if (dynamic_cast<QGraphicsOpacityEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::deleteLater();
} else if (dynamic_cast<QGraphicsDropShadowEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::deleteLater();
} else if (dynamic_cast<QGraphicsColorizeEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::deleteLater();
} else if (dynamic_cast<QGraphicsBlurEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::deleteLater();
} else {
static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::deleteLater();
}
}
void QGraphicsEffect_DisconnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QGraphicsOpacityEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGraphicsDropShadowEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGraphicsColorizeEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGraphicsBlurEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QGraphicsEffect_TimerEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsOpacityEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QGraphicsDropShadowEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QGraphicsColorizeEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QGraphicsBlurEffect*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::timerEvent(static_cast<QTimerEvent*>(event));
} else {
static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::timerEvent(static_cast<QTimerEvent*>(event));
}
}
void* QGraphicsEffect_MetaObjectDefault(void* ptr)
{
if (dynamic_cast<QGraphicsOpacityEffect*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::metaObject());
} else if (dynamic_cast<QGraphicsDropShadowEffect*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QGraphicsDropShadowEffect*>(ptr)->QGraphicsDropShadowEffect::metaObject());
} else if (dynamic_cast<QGraphicsColorizeEffect*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QGraphicsColorizeEffect*>(ptr)->QGraphicsColorizeEffect::metaObject());
} else if (dynamic_cast<QGraphicsBlurEffect*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QGraphicsBlurEffect*>(ptr)->QGraphicsBlurEffect::metaObject());
} else {
return const_cast<QMetaObject*>(static_cast<QGraphicsEffect*>(ptr)->QGraphicsEffect::metaObject());
}
}
class MyQGraphicsEllipseItem: public QGraphicsEllipseItem
{
public:
MyQGraphicsEllipseItem(QGraphicsItem *parent) : QGraphicsEllipseItem(parent) {};
MyQGraphicsEllipseItem(const QRectF &rect, QGraphicsItem *parent) : QGraphicsEllipseItem(rect, parent) {};
MyQGraphicsEllipseItem(qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent) : QGraphicsEllipseItem(x, y, width, height, parent) {};
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsEllipseItem_Paint(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
QPainterPath opaqueArea() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_OpaqueArea(const_cast<void*>(static_cast<const void*>(this)))); };
QPainterPath shape() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_Shape(const_cast<void*>(static_cast<const void*>(this)))); };
QRectF boundingRect() const { return *static_cast<QRectF*>(callbackQGraphicsEllipseItem_BoundingRect(const_cast<void*>(static_cast<const void*>(this)))); };
bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&point)) != 0; };
bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(item)) != 0; };
int type() const { return callbackQGraphicsItem_Type(const_cast<void*>(static_cast<const void*>(this))); };
QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast<QVariant*>(callbackQGraphicsItem_ItemChange(this, change, const_cast<QVariant*>(&value))); };
bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; };
bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; };
void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); };
void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); };
void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); };
void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); };
void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); };
void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); };
void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); };
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); };
void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); };
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); };
void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); };
void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); };
void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsItem_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(other), mode) != 0; };
bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPainterPath*>(&path), mode) != 0; };
};
void* QGraphicsEllipseItem_NewQGraphicsEllipseItem(void* parent)
{
return new MyQGraphicsEllipseItem(static_cast<QGraphicsItem*>(parent));
}
void* QGraphicsEllipseItem_NewQGraphicsEllipseItem2(void* rect, void* parent)
{
return new MyQGraphicsEllipseItem(*static_cast<QRectF*>(rect), static_cast<QGraphicsItem*>(parent));
}
void* QGraphicsEllipseItem_NewQGraphicsEllipseItem3(double x, double y, double width, double height, void* parent)
{
return new MyQGraphicsEllipseItem(x, y, width, height, static_cast<QGraphicsItem*>(parent));
}
void QGraphicsEllipseItem_Paint(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsEllipseItem*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsEllipseItem_PaintDefault(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsEllipseItem_SetRect(void* ptr, void* rect)
{
static_cast<QGraphicsEllipseItem*>(ptr)->setRect(*static_cast<QRectF*>(rect));
}
void QGraphicsEllipseItem_SetRect2(void* ptr, double x, double y, double width, double height)
{
static_cast<QGraphicsEllipseItem*>(ptr)->setRect(x, y, width, height);
}
void QGraphicsEllipseItem_SetSpanAngle(void* ptr, int angle)
{
static_cast<QGraphicsEllipseItem*>(ptr)->setSpanAngle(angle);
}
void QGraphicsEllipseItem_SetStartAngle(void* ptr, int angle)
{
static_cast<QGraphicsEllipseItem*>(ptr)->setStartAngle(angle);
}
void QGraphicsEllipseItem_DestroyQGraphicsEllipseItem(void* ptr)
{
static_cast<QGraphicsEllipseItem*>(ptr)->~QGraphicsEllipseItem();
}
void* QGraphicsEllipseItem_BoundingRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsEllipseItem*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsEllipseItem_BoundingRectDefault(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsEllipseItem_Rect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsEllipseItem*>(ptr)->rect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
int QGraphicsEllipseItem_SpanAngle(void* ptr)
{
return static_cast<QGraphicsEllipseItem*>(ptr)->spanAngle();
}
int QGraphicsEllipseItem_StartAngle(void* ptr)
{
return static_cast<QGraphicsEllipseItem*>(ptr)->startAngle();
}
class MyQGraphicsGridLayout: public QGraphicsGridLayout
{
public:
MyQGraphicsGridLayout(QGraphicsLayoutItem *parent) : QGraphicsGridLayout(parent) {};
void invalidate() { callbackQGraphicsLayout_Invalidate(this); };
void removeAt(int index) { callbackQGraphicsGridLayout_RemoveAt(this, index); };
void setGeometry(const QRectF & rect) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast<QRectF*>(&rect)); };
~MyQGraphicsGridLayout() { callbackQGraphicsGridLayout_DestroyQGraphicsGridLayout(this); };
QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint) const { return *static_cast<QSizeF*>(callbackQGraphicsGridLayout_SizeHint(const_cast<void*>(static_cast<const void*>(this)), which, const_cast<QSizeF*>(&constraint))); };
int count() const { return callbackQGraphicsGridLayout_Count(const_cast<void*>(static_cast<const void*>(this))); };
void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); };
void widgetEvent(QEvent * e) { callbackQGraphicsLayout_WidgetEvent(this, e); };
void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom) const { callbackQGraphicsLayoutItem_GetContentsMargins(const_cast<void*>(static_cast<const void*>(this)), *left, *top, *right, *bottom); };
};
void* QGraphicsGridLayout_NewQGraphicsGridLayout(void* parent)
{
return new MyQGraphicsGridLayout(static_cast<QGraphicsLayoutItem*>(parent));
}
void QGraphicsGridLayout_AddItem2(void* ptr, void* item, int row, int column, long long alignment)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsGridLayout*>(ptr)->addItem(static_cast<QGraphicsWidget*>(item), row, column, static_cast<Qt::AlignmentFlag>(alignment));
} else {
static_cast<QGraphicsGridLayout*>(ptr)->addItem(static_cast<QGraphicsLayoutItem*>(item), row, column, static_cast<Qt::AlignmentFlag>(alignment));
}
}
void QGraphicsGridLayout_AddItem(void* ptr, void* item, int row, int column, int rowSpan, int columnSpan, long long alignment)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsGridLayout*>(ptr)->addItem(static_cast<QGraphicsWidget*>(item), row, column, rowSpan, columnSpan, static_cast<Qt::AlignmentFlag>(alignment));
} else {
static_cast<QGraphicsGridLayout*>(ptr)->addItem(static_cast<QGraphicsLayoutItem*>(item), row, column, rowSpan, columnSpan, static_cast<Qt::AlignmentFlag>(alignment));
}
}
void QGraphicsGridLayout_RemoveAt(void* ptr, int index)
{
static_cast<QGraphicsGridLayout*>(ptr)->removeAt(index);
}
void QGraphicsGridLayout_RemoveAtDefault(void* ptr, int index)
{
static_cast<QGraphicsGridLayout*>(ptr)->QGraphicsGridLayout::removeAt(index);
}
void QGraphicsGridLayout_RemoveItem(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsGridLayout*>(ptr)->removeItem(static_cast<QGraphicsWidget*>(item));
} else {
static_cast<QGraphicsGridLayout*>(ptr)->removeItem(static_cast<QGraphicsLayoutItem*>(item));
}
}
void QGraphicsGridLayout_SetAlignment(void* ptr, void* item, long long alignment)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsGridLayout*>(ptr)->setAlignment(static_cast<QGraphicsWidget*>(item), static_cast<Qt::AlignmentFlag>(alignment));
} else {
static_cast<QGraphicsGridLayout*>(ptr)->setAlignment(static_cast<QGraphicsLayoutItem*>(item), static_cast<Qt::AlignmentFlag>(alignment));
}
}
void QGraphicsGridLayout_SetColumnAlignment(void* ptr, int column, long long alignment)
{
static_cast<QGraphicsGridLayout*>(ptr)->setColumnAlignment(column, static_cast<Qt::AlignmentFlag>(alignment));
}
void QGraphicsGridLayout_SetColumnFixedWidth(void* ptr, int column, double width)
{
static_cast<QGraphicsGridLayout*>(ptr)->setColumnFixedWidth(column, width);
}
void QGraphicsGridLayout_SetColumnMaximumWidth(void* ptr, int column, double width)
{
static_cast<QGraphicsGridLayout*>(ptr)->setColumnMaximumWidth(column, width);
}
void QGraphicsGridLayout_SetColumnMinimumWidth(void* ptr, int column, double width)
{
static_cast<QGraphicsGridLayout*>(ptr)->setColumnMinimumWidth(column, width);
}
void QGraphicsGridLayout_SetColumnPreferredWidth(void* ptr, int column, double width)
{
static_cast<QGraphicsGridLayout*>(ptr)->setColumnPreferredWidth(column, width);
}
void QGraphicsGridLayout_SetColumnSpacing(void* ptr, int column, double spacing)
{
static_cast<QGraphicsGridLayout*>(ptr)->setColumnSpacing(column, spacing);
}
void QGraphicsGridLayout_SetColumnStretchFactor(void* ptr, int column, int stretch)
{
static_cast<QGraphicsGridLayout*>(ptr)->setColumnStretchFactor(column, stretch);
}
void QGraphicsGridLayout_SetHorizontalSpacing(void* ptr, double spacing)
{
static_cast<QGraphicsGridLayout*>(ptr)->setHorizontalSpacing(spacing);
}
void QGraphicsGridLayout_SetRowAlignment(void* ptr, int row, long long alignment)
{
static_cast<QGraphicsGridLayout*>(ptr)->setRowAlignment(row, static_cast<Qt::AlignmentFlag>(alignment));
}
void QGraphicsGridLayout_SetRowFixedHeight(void* ptr, int row, double height)
{
static_cast<QGraphicsGridLayout*>(ptr)->setRowFixedHeight(row, height);
}
void QGraphicsGridLayout_SetRowMaximumHeight(void* ptr, int row, double height)
{
static_cast<QGraphicsGridLayout*>(ptr)->setRowMaximumHeight(row, height);
}
void QGraphicsGridLayout_SetRowMinimumHeight(void* ptr, int row, double height)
{
static_cast<QGraphicsGridLayout*>(ptr)->setRowMinimumHeight(row, height);
}
void QGraphicsGridLayout_SetRowPreferredHeight(void* ptr, int row, double height)
{
static_cast<QGraphicsGridLayout*>(ptr)->setRowPreferredHeight(row, height);
}
void QGraphicsGridLayout_SetRowSpacing(void* ptr, int row, double spacing)
{
static_cast<QGraphicsGridLayout*>(ptr)->setRowSpacing(row, spacing);
}
void QGraphicsGridLayout_SetRowStretchFactor(void* ptr, int row, int stretch)
{
static_cast<QGraphicsGridLayout*>(ptr)->setRowStretchFactor(row, stretch);
}
void QGraphicsGridLayout_SetSpacing(void* ptr, double spacing)
{
static_cast<QGraphicsGridLayout*>(ptr)->setSpacing(spacing);
}
void QGraphicsGridLayout_SetVerticalSpacing(void* ptr, double spacing)
{
static_cast<QGraphicsGridLayout*>(ptr)->setVerticalSpacing(spacing);
}
void QGraphicsGridLayout_DestroyQGraphicsGridLayout(void* ptr)
{
static_cast<QGraphicsGridLayout*>(ptr)->~QGraphicsGridLayout();
}
void QGraphicsGridLayout_DestroyQGraphicsGridLayoutDefault(void* ptr)
{
}
void* QGraphicsGridLayout_SizeHint(void* ptr, long long which, void* constraint)
{
return ({ QSizeF tmpValue = static_cast<QGraphicsGridLayout*>(ptr)->sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsGridLayout_SizeHintDefault(void* ptr, long long which, void* constraint)
{
return ({ QSizeF tmpValue = static_cast<QGraphicsGridLayout*>(ptr)->QGraphicsGridLayout::sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
long long QGraphicsGridLayout_Alignment(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsGridLayout*>(ptr)->alignment(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsGridLayout*>(ptr)->alignment(static_cast<QGraphicsLayoutItem*>(item));
}
}
long long QGraphicsGridLayout_ColumnAlignment(void* ptr, int column)
{
return static_cast<QGraphicsGridLayout*>(ptr)->columnAlignment(column);
}
long long QGraphicsGridLayout_RowAlignment(void* ptr, int row)
{
return static_cast<QGraphicsGridLayout*>(ptr)->rowAlignment(row);
}
int QGraphicsGridLayout_ColumnCount(void* ptr)
{
return static_cast<QGraphicsGridLayout*>(ptr)->columnCount();
}
int QGraphicsGridLayout_ColumnStretchFactor(void* ptr, int column)
{
return static_cast<QGraphicsGridLayout*>(ptr)->columnStretchFactor(column);
}
int QGraphicsGridLayout_Count(void* ptr)
{
return static_cast<QGraphicsGridLayout*>(ptr)->count();
}
int QGraphicsGridLayout_CountDefault(void* ptr)
{
return static_cast<QGraphicsGridLayout*>(ptr)->QGraphicsGridLayout::count();
}
int QGraphicsGridLayout_RowCount(void* ptr)
{
return static_cast<QGraphicsGridLayout*>(ptr)->rowCount();
}
int QGraphicsGridLayout_RowStretchFactor(void* ptr, int row)
{
return static_cast<QGraphicsGridLayout*>(ptr)->rowStretchFactor(row);
}
double QGraphicsGridLayout_ColumnMaximumWidth(void* ptr, int column)
{
return static_cast<QGraphicsGridLayout*>(ptr)->columnMaximumWidth(column);
}
double QGraphicsGridLayout_ColumnMinimumWidth(void* ptr, int column)
{
return static_cast<QGraphicsGridLayout*>(ptr)->columnMinimumWidth(column);
}
double QGraphicsGridLayout_ColumnPreferredWidth(void* ptr, int column)
{
return static_cast<QGraphicsGridLayout*>(ptr)->columnPreferredWidth(column);
}
double QGraphicsGridLayout_ColumnSpacing(void* ptr, int column)
{
return static_cast<QGraphicsGridLayout*>(ptr)->columnSpacing(column);
}
double QGraphicsGridLayout_HorizontalSpacing(void* ptr)
{
return static_cast<QGraphicsGridLayout*>(ptr)->horizontalSpacing();
}
double QGraphicsGridLayout_RowMaximumHeight(void* ptr, int row)
{
return static_cast<QGraphicsGridLayout*>(ptr)->rowMaximumHeight(row);
}
double QGraphicsGridLayout_RowMinimumHeight(void* ptr, int row)
{
return static_cast<QGraphicsGridLayout*>(ptr)->rowMinimumHeight(row);
}
double QGraphicsGridLayout_RowPreferredHeight(void* ptr, int row)
{
return static_cast<QGraphicsGridLayout*>(ptr)->rowPreferredHeight(row);
}
double QGraphicsGridLayout_RowSpacing(void* ptr, int row)
{
return static_cast<QGraphicsGridLayout*>(ptr)->rowSpacing(row);
}
double QGraphicsGridLayout_VerticalSpacing(void* ptr)
{
return static_cast<QGraphicsGridLayout*>(ptr)->verticalSpacing();
}
class MyQGraphicsItem: public QGraphicsItem
{
public:
MyQGraphicsItem(QGraphicsItem *parent) : QGraphicsItem(parent) {};
QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast<QVariant*>(callbackQGraphicsItem_ItemChange(this, change, const_cast<QVariant*>(&value))); };
bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; };
bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; };
void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); };
void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); };
void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); };
void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); };
void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); };
void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); };
void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); };
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); };
void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); };
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); };
void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); };
void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); };
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsItem_Paint(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); };
~MyQGraphicsItem() { callbackQGraphicsItem_DestroyQGraphicsItem(this); };
QPainterPath opaqueArea() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_OpaqueArea(const_cast<void*>(static_cast<const void*>(this)))); };
QPainterPath shape() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_Shape(const_cast<void*>(static_cast<const void*>(this)))); };
QRectF boundingRect() const { return *static_cast<QRectF*>(callbackQGraphicsItem_BoundingRect(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsItem_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(other), mode) != 0; };
bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPainterPath*>(&path), mode) != 0; };
bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&point)) != 0; };
bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(item)) != 0; };
int type() const { return callbackQGraphicsItem_Type(const_cast<void*>(static_cast<const void*>(this))); };
};
void* QGraphicsItem_NewQGraphicsItem(void* parent)
{
return new MyQGraphicsItem(static_cast<QGraphicsItem*>(parent));
}
void* QGraphicsItem_ToGraphicsObject(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->toGraphicsObject();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->toGraphicsObject();
} else {
return static_cast<QGraphicsItem*>(ptr)->toGraphicsObject();
}
}
void* QGraphicsItem_ItemChange(void* ptr, long long change, void* value)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsObject*>(ptr)->itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsWidget*>(ptr)->itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
} else {
return new QVariant(static_cast<QGraphicsItem*>(ptr)->itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
}
}
void* QGraphicsItem_ItemChangeDefault(void* ptr, long long change, void* value)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
} else {
return new QVariant(static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value)));
}
}
char QGraphicsItem_SceneEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->sceneEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->sceneEvent(static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsItem*>(ptr)->sceneEvent(static_cast<QEvent*>(event));
}
}
char QGraphicsItem_SceneEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::sceneEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::sceneEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::sceneEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::sceneEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::sceneEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::sceneEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::sceneEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::sceneEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::sceneEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::sceneEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::sceneEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::sceneEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::sceneEvent(static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::sceneEvent(static_cast<QEvent*>(event));
}
}
char QGraphicsItem_SceneEventFilter(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsObject*>(ptr)->sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsObject*>(ptr)->sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsObject*>(ptr)->sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsWidget*>(ptr)->sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsWidget*>(ptr)->sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsWidget*>(ptr)->sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsItem*>(ptr)->sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsItem*>(ptr)->sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsItem*>(ptr)->sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
}
}
char QGraphicsItem_SceneEventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::sceneEventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::sceneEventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event));
}
}
}
void QGraphicsItem_Advance(void* ptr, int phase)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->advance(phase);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->advance(phase);
} else {
static_cast<QGraphicsItem*>(ptr)->advance(phase);
}
}
void QGraphicsItem_AdvanceDefault(void* ptr, int phase)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::advance(phase);
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::advance(phase);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::advance(phase);
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::advance(phase);
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::advance(phase);
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::advance(phase);
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::advance(phase);
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::advance(phase);
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::advance(phase);
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::advance(phase);
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::advance(phase);
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::advance(phase);
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::advance(phase);
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::advance(phase);
}
}
void QGraphicsItem_ClearFocus(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->clearFocus();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->clearFocus();
} else {
static_cast<QGraphicsItem*>(ptr)->clearFocus();
}
}
void QGraphicsItem_ContextMenuEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
}
}
void QGraphicsItem_ContextMenuEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(event));
}
}
void QGraphicsItem_DragEnterEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
}
void QGraphicsItem_DragEnterEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
}
void QGraphicsItem_DragLeaveEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
}
void QGraphicsItem_DragLeaveEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
}
void QGraphicsItem_DragMoveEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
}
void QGraphicsItem_DragMoveEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
}
void QGraphicsItem_DropEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
}
void QGraphicsItem_DropEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
}
void QGraphicsItem_EnsureVisible(void* ptr, void* rect, int xmargin, int ymargin)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->ensureVisible(*static_cast<QRectF*>(rect), xmargin, ymargin);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->ensureVisible(*static_cast<QRectF*>(rect), xmargin, ymargin);
} else {
static_cast<QGraphicsItem*>(ptr)->ensureVisible(*static_cast<QRectF*>(rect), xmargin, ymargin);
}
}
void QGraphicsItem_EnsureVisible2(void* ptr, double x, double y, double w, double h, int xmargin, int ymargin)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->ensureVisible(x, y, w, h, xmargin, ymargin);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->ensureVisible(x, y, w, h, xmargin, ymargin);
} else {
static_cast<QGraphicsItem*>(ptr)->ensureVisible(x, y, w, h, xmargin, ymargin);
}
}
void QGraphicsItem_FocusInEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->focusInEvent(static_cast<QFocusEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->focusInEvent(static_cast<QFocusEvent*>(event));
}
}
void QGraphicsItem_FocusInEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::focusInEvent(static_cast<QFocusEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::focusInEvent(static_cast<QFocusEvent*>(event));
}
}
void QGraphicsItem_FocusOutEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->focusOutEvent(static_cast<QFocusEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->focusOutEvent(static_cast<QFocusEvent*>(event));
}
}
void QGraphicsItem_FocusOutEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::focusOutEvent(static_cast<QFocusEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::focusOutEvent(static_cast<QFocusEvent*>(event));
}
}
void QGraphicsItem_GrabKeyboard(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->grabKeyboard();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->grabKeyboard();
} else {
static_cast<QGraphicsItem*>(ptr)->grabKeyboard();
}
}
void QGraphicsItem_GrabMouse(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->grabMouse();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->grabMouse();
} else {
static_cast<QGraphicsItem*>(ptr)->grabMouse();
}
}
void QGraphicsItem_Hide(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->hide();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->hide();
} else {
static_cast<QGraphicsItem*>(ptr)->hide();
}
}
void QGraphicsItem_HoverEnterEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
}
}
void QGraphicsItem_HoverEnterEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
}
}
void QGraphicsItem_HoverLeaveEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
}
}
void QGraphicsItem_HoverLeaveEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
}
}
void QGraphicsItem_HoverMoveEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
}
}
void QGraphicsItem_HoverMoveEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(event));
}
}
void QGraphicsItem_InputMethodEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->inputMethodEvent(static_cast<QInputMethodEvent*>(event));
}
}
void QGraphicsItem_InputMethodEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
}
}
void QGraphicsItem_InstallSceneEventFilter(void* ptr, void* filterItem)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(filterItem))) {
static_cast<QGraphicsObject*>(ptr)->installSceneEventFilter(static_cast<QGraphicsObject*>(filterItem));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(filterItem))) {
static_cast<QGraphicsObject*>(ptr)->installSceneEventFilter(static_cast<QGraphicsWidget*>(filterItem));
} else {
static_cast<QGraphicsObject*>(ptr)->installSceneEventFilter(static_cast<QGraphicsItem*>(filterItem));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(filterItem))) {
static_cast<QGraphicsWidget*>(ptr)->installSceneEventFilter(static_cast<QGraphicsObject*>(filterItem));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(filterItem))) {
static_cast<QGraphicsWidget*>(ptr)->installSceneEventFilter(static_cast<QGraphicsWidget*>(filterItem));
} else {
static_cast<QGraphicsWidget*>(ptr)->installSceneEventFilter(static_cast<QGraphicsItem*>(filterItem));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(filterItem))) {
static_cast<QGraphicsItem*>(ptr)->installSceneEventFilter(static_cast<QGraphicsObject*>(filterItem));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(filterItem))) {
static_cast<QGraphicsItem*>(ptr)->installSceneEventFilter(static_cast<QGraphicsWidget*>(filterItem));
} else {
static_cast<QGraphicsItem*>(ptr)->installSceneEventFilter(static_cast<QGraphicsItem*>(filterItem));
}
}
}
void QGraphicsItem_KeyPressEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->keyPressEvent(static_cast<QKeyEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->keyPressEvent(static_cast<QKeyEvent*>(event));
}
}
void QGraphicsItem_KeyPressEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::keyPressEvent(static_cast<QKeyEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::keyPressEvent(static_cast<QKeyEvent*>(event));
}
}
void QGraphicsItem_KeyReleaseEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->keyReleaseEvent(static_cast<QKeyEvent*>(event));
}
}
void QGraphicsItem_KeyReleaseEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::keyReleaseEvent(static_cast<QKeyEvent*>(event));
}
}
void QGraphicsItem_MouseDoubleClickEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
}
}
void QGraphicsItem_MouseDoubleClickEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
}
}
void QGraphicsItem_MouseMoveEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
}
}
void QGraphicsItem_MouseMoveEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
}
}
void QGraphicsItem_MousePressEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
}
}
void QGraphicsItem_MousePressEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
}
}
void QGraphicsItem_MouseReleaseEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
}
}
void QGraphicsItem_MouseReleaseEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
}
}
void QGraphicsItem_MoveBy(void* ptr, double dx, double dy)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->moveBy(dx, dy);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->moveBy(dx, dy);
} else {
static_cast<QGraphicsItem*>(ptr)->moveBy(dx, dy);
}
}
void QGraphicsItem_Paint(void* ptr, void* painter, void* option, void* widget)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
} else {
static_cast<QGraphicsItem*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
}
void QGraphicsItem_PrepareGeometryChange(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->prepareGeometryChange();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->prepareGeometryChange();
} else {
static_cast<QGraphicsItem*>(ptr)->prepareGeometryChange();
}
}
void QGraphicsItem_RemoveSceneEventFilter(void* ptr, void* filterItem)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(filterItem))) {
static_cast<QGraphicsObject*>(ptr)->removeSceneEventFilter(static_cast<QGraphicsObject*>(filterItem));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(filterItem))) {
static_cast<QGraphicsObject*>(ptr)->removeSceneEventFilter(static_cast<QGraphicsWidget*>(filterItem));
} else {
static_cast<QGraphicsObject*>(ptr)->removeSceneEventFilter(static_cast<QGraphicsItem*>(filterItem));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(filterItem))) {
static_cast<QGraphicsWidget*>(ptr)->removeSceneEventFilter(static_cast<QGraphicsObject*>(filterItem));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(filterItem))) {
static_cast<QGraphicsWidget*>(ptr)->removeSceneEventFilter(static_cast<QGraphicsWidget*>(filterItem));
} else {
static_cast<QGraphicsWidget*>(ptr)->removeSceneEventFilter(static_cast<QGraphicsItem*>(filterItem));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(filterItem))) {
static_cast<QGraphicsItem*>(ptr)->removeSceneEventFilter(static_cast<QGraphicsObject*>(filterItem));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(filterItem))) {
static_cast<QGraphicsItem*>(ptr)->removeSceneEventFilter(static_cast<QGraphicsWidget*>(filterItem));
} else {
static_cast<QGraphicsItem*>(ptr)->removeSceneEventFilter(static_cast<QGraphicsItem*>(filterItem));
}
}
}
void QGraphicsItem_ResetTransform(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->resetTransform();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->resetTransform();
} else {
static_cast<QGraphicsItem*>(ptr)->resetTransform();
}
}
void QGraphicsItem_Scroll(void* ptr, double dx, double dy, void* rect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->scroll(dx, dy, *static_cast<QRectF*>(rect));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->scroll(dx, dy, *static_cast<QRectF*>(rect));
} else {
static_cast<QGraphicsItem*>(ptr)->scroll(dx, dy, *static_cast<QRectF*>(rect));
}
}
void QGraphicsItem_SetAcceptDrops(void* ptr, char on)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setAcceptDrops(on != 0);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setAcceptDrops(on != 0);
} else {
static_cast<QGraphicsItem*>(ptr)->setAcceptDrops(on != 0);
}
}
void QGraphicsItem_SetAcceptHoverEvents(void* ptr, char enabled)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setAcceptHoverEvents(enabled != 0);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setAcceptHoverEvents(enabled != 0);
} else {
static_cast<QGraphicsItem*>(ptr)->setAcceptHoverEvents(enabled != 0);
}
}
void QGraphicsItem_SetAcceptTouchEvents(void* ptr, char enabled)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setAcceptTouchEvents(enabled != 0);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setAcceptTouchEvents(enabled != 0);
} else {
static_cast<QGraphicsItem*>(ptr)->setAcceptTouchEvents(enabled != 0);
}
}
void QGraphicsItem_SetAcceptedMouseButtons(void* ptr, long long buttons)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setAcceptedMouseButtons(static_cast<Qt::MouseButton>(buttons));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setAcceptedMouseButtons(static_cast<Qt::MouseButton>(buttons));
} else {
static_cast<QGraphicsItem*>(ptr)->setAcceptedMouseButtons(static_cast<Qt::MouseButton>(buttons));
}
}
void QGraphicsItem_SetActive(void* ptr, char active)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setActive(active != 0);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setActive(active != 0);
} else {
static_cast<QGraphicsItem*>(ptr)->setActive(active != 0);
}
}
void QGraphicsItem_SetBoundingRegionGranularity(void* ptr, double granularity)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setBoundingRegionGranularity(granularity);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setBoundingRegionGranularity(granularity);
} else {
static_cast<QGraphicsItem*>(ptr)->setBoundingRegionGranularity(granularity);
}
}
void QGraphicsItem_SetCacheMode(void* ptr, long long mode, void* logicalCacheSize)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setCacheMode(static_cast<QGraphicsItem::CacheMode>(mode), *static_cast<QSize*>(logicalCacheSize));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setCacheMode(static_cast<QGraphicsItem::CacheMode>(mode), *static_cast<QSize*>(logicalCacheSize));
} else {
static_cast<QGraphicsItem*>(ptr)->setCacheMode(static_cast<QGraphicsItem::CacheMode>(mode), *static_cast<QSize*>(logicalCacheSize));
}
}
void QGraphicsItem_SetCursor(void* ptr, void* cursor)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setCursor(*static_cast<QCursor*>(cursor));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setCursor(*static_cast<QCursor*>(cursor));
} else {
static_cast<QGraphicsItem*>(ptr)->setCursor(*static_cast<QCursor*>(cursor));
}
}
void QGraphicsItem_SetData(void* ptr, int key, void* value)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setData(key, *static_cast<QVariant*>(value));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setData(key, *static_cast<QVariant*>(value));
} else {
static_cast<QGraphicsItem*>(ptr)->setData(key, *static_cast<QVariant*>(value));
}
}
void QGraphicsItem_SetEnabled(void* ptr, char enabled)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setEnabled(enabled != 0);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setEnabled(enabled != 0);
} else {
static_cast<QGraphicsItem*>(ptr)->setEnabled(enabled != 0);
}
}
void QGraphicsItem_SetFiltersChildEvents(void* ptr, char enabled)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setFiltersChildEvents(enabled != 0);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setFiltersChildEvents(enabled != 0);
} else {
static_cast<QGraphicsItem*>(ptr)->setFiltersChildEvents(enabled != 0);
}
}
void QGraphicsItem_SetFlag(void* ptr, long long flag, char enabled)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setFlag(static_cast<QGraphicsItem::GraphicsItemFlag>(flag), enabled != 0);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setFlag(static_cast<QGraphicsItem::GraphicsItemFlag>(flag), enabled != 0);
} else {
static_cast<QGraphicsItem*>(ptr)->setFlag(static_cast<QGraphicsItem::GraphicsItemFlag>(flag), enabled != 0);
}
}
void QGraphicsItem_SetFlags(void* ptr, long long flags)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setFlags(static_cast<QGraphicsItem::GraphicsItemFlag>(flags));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setFlags(static_cast<QGraphicsItem::GraphicsItemFlag>(flags));
} else {
static_cast<QGraphicsItem*>(ptr)->setFlags(static_cast<QGraphicsItem::GraphicsItemFlag>(flags));
}
}
void QGraphicsItem_SetFocus(void* ptr, long long focusReason)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setFocus(static_cast<Qt::FocusReason>(focusReason));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setFocus(static_cast<Qt::FocusReason>(focusReason));
} else {
static_cast<QGraphicsItem*>(ptr)->setFocus(static_cast<Qt::FocusReason>(focusReason));
}
}
void QGraphicsItem_SetFocusProxy(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsObject*>(ptr)->setFocusProxy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsObject*>(ptr)->setFocusProxy(static_cast<QGraphicsWidget*>(item));
} else {
static_cast<QGraphicsObject*>(ptr)->setFocusProxy(static_cast<QGraphicsItem*>(item));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsWidget*>(ptr)->setFocusProxy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsWidget*>(ptr)->setFocusProxy(static_cast<QGraphicsWidget*>(item));
} else {
static_cast<QGraphicsWidget*>(ptr)->setFocusProxy(static_cast<QGraphicsItem*>(item));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsItem*>(ptr)->setFocusProxy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsItem*>(ptr)->setFocusProxy(static_cast<QGraphicsWidget*>(item));
} else {
static_cast<QGraphicsItem*>(ptr)->setFocusProxy(static_cast<QGraphicsItem*>(item));
}
}
}
void QGraphicsItem_SetGraphicsEffect(void* ptr, void* effect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setGraphicsEffect(static_cast<QGraphicsEffect*>(effect));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setGraphicsEffect(static_cast<QGraphicsEffect*>(effect));
} else {
static_cast<QGraphicsItem*>(ptr)->setGraphicsEffect(static_cast<QGraphicsEffect*>(effect));
}
}
void QGraphicsItem_SetGroup(void* ptr, void* group)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setGroup(static_cast<QGraphicsItemGroup*>(group));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setGroup(static_cast<QGraphicsItemGroup*>(group));
} else {
static_cast<QGraphicsItem*>(ptr)->setGroup(static_cast<QGraphicsItemGroup*>(group));
}
}
void QGraphicsItem_SetInputMethodHints(void* ptr, long long hints)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setInputMethodHints(static_cast<Qt::InputMethodHint>(hints));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setInputMethodHints(static_cast<Qt::InputMethodHint>(hints));
} else {
static_cast<QGraphicsItem*>(ptr)->setInputMethodHints(static_cast<Qt::InputMethodHint>(hints));
}
}
void QGraphicsItem_SetOpacity(void* ptr, double opacity)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setOpacity(opacity);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setOpacity(opacity);
} else {
static_cast<QGraphicsItem*>(ptr)->setOpacity(opacity);
}
}
void QGraphicsItem_SetPanelModality(void* ptr, long long panelModality)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setPanelModality(static_cast<QGraphicsItem::PanelModality>(panelModality));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setPanelModality(static_cast<QGraphicsItem::PanelModality>(panelModality));
} else {
static_cast<QGraphicsItem*>(ptr)->setPanelModality(static_cast<QGraphicsItem::PanelModality>(panelModality));
}
}
void QGraphicsItem_SetParentItem(void* ptr, void* newParent)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(newParent))) {
static_cast<QGraphicsObject*>(ptr)->setParentItem(static_cast<QGraphicsObject*>(newParent));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(newParent))) {
static_cast<QGraphicsObject*>(ptr)->setParentItem(static_cast<QGraphicsWidget*>(newParent));
} else {
static_cast<QGraphicsObject*>(ptr)->setParentItem(static_cast<QGraphicsItem*>(newParent));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(newParent))) {
static_cast<QGraphicsWidget*>(ptr)->setParentItem(static_cast<QGraphicsObject*>(newParent));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(newParent))) {
static_cast<QGraphicsWidget*>(ptr)->setParentItem(static_cast<QGraphicsWidget*>(newParent));
} else {
static_cast<QGraphicsWidget*>(ptr)->setParentItem(static_cast<QGraphicsItem*>(newParent));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(newParent))) {
static_cast<QGraphicsItem*>(ptr)->setParentItem(static_cast<QGraphicsObject*>(newParent));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(newParent))) {
static_cast<QGraphicsItem*>(ptr)->setParentItem(static_cast<QGraphicsWidget*>(newParent));
} else {
static_cast<QGraphicsItem*>(ptr)->setParentItem(static_cast<QGraphicsItem*>(newParent));
}
}
}
void QGraphicsItem_SetPos(void* ptr, void* pos)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setPos(*static_cast<QPointF*>(pos));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setPos(*static_cast<QPointF*>(pos));
} else {
static_cast<QGraphicsItem*>(ptr)->setPos(*static_cast<QPointF*>(pos));
}
}
void QGraphicsItem_SetPos2(void* ptr, double x, double y)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setPos(x, y);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setPos(x, y);
} else {
static_cast<QGraphicsItem*>(ptr)->setPos(x, y);
}
}
void QGraphicsItem_SetRotation(void* ptr, double angle)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setRotation(angle);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setRotation(angle);
} else {
static_cast<QGraphicsItem*>(ptr)->setRotation(angle);
}
}
void QGraphicsItem_SetScale(void* ptr, double factor)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setScale(factor);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setScale(factor);
} else {
static_cast<QGraphicsItem*>(ptr)->setScale(factor);
}
}
void QGraphicsItem_SetSelected(void* ptr, char selected)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setSelected(selected != 0);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setSelected(selected != 0);
} else {
static_cast<QGraphicsItem*>(ptr)->setSelected(selected != 0);
}
}
void QGraphicsItem_SetToolTip(void* ptr, char* toolTip)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setToolTip(QString(toolTip));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setToolTip(QString(toolTip));
} else {
static_cast<QGraphicsItem*>(ptr)->setToolTip(QString(toolTip));
}
}
void QGraphicsItem_SetTransform(void* ptr, void* matrix, char combine)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setTransform(*static_cast<QTransform*>(matrix), combine != 0);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setTransform(*static_cast<QTransform*>(matrix), combine != 0);
} else {
static_cast<QGraphicsItem*>(ptr)->setTransform(*static_cast<QTransform*>(matrix), combine != 0);
}
}
void QGraphicsItem_SetTransformOriginPoint(void* ptr, void* origin)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setTransformOriginPoint(*static_cast<QPointF*>(origin));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setTransformOriginPoint(*static_cast<QPointF*>(origin));
} else {
static_cast<QGraphicsItem*>(ptr)->setTransformOriginPoint(*static_cast<QPointF*>(origin));
}
}
void QGraphicsItem_SetTransformOriginPoint2(void* ptr, double x, double y)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setTransformOriginPoint(x, y);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setTransformOriginPoint(x, y);
} else {
static_cast<QGraphicsItem*>(ptr)->setTransformOriginPoint(x, y);
}
}
void QGraphicsItem_SetTransformations(void* ptr, void* transformations)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setTransformations(*static_cast<QList<QGraphicsTransform *>*>(transformations));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setTransformations(*static_cast<QList<QGraphicsTransform *>*>(transformations));
} else {
static_cast<QGraphicsItem*>(ptr)->setTransformations(*static_cast<QList<QGraphicsTransform *>*>(transformations));
}
}
void QGraphicsItem_SetVisible(void* ptr, char visible)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setVisible(visible != 0);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setVisible(visible != 0);
} else {
static_cast<QGraphicsItem*>(ptr)->setVisible(visible != 0);
}
}
void QGraphicsItem_SetX(void* ptr, double x)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setX(x);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setX(x);
} else {
static_cast<QGraphicsItem*>(ptr)->setX(x);
}
}
void QGraphicsItem_SetY(void* ptr, double y)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setY(y);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setY(y);
} else {
static_cast<QGraphicsItem*>(ptr)->setY(y);
}
}
void QGraphicsItem_SetZValue(void* ptr, double z)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->setZValue(z);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setZValue(z);
} else {
static_cast<QGraphicsItem*>(ptr)->setZValue(z);
}
}
void QGraphicsItem_Show(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->show();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->show();
} else {
static_cast<QGraphicsItem*>(ptr)->show();
}
}
void QGraphicsItem_StackBefore(void* ptr, void* sibling)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(sibling))) {
static_cast<QGraphicsObject*>(ptr)->stackBefore(static_cast<QGraphicsObject*>(sibling));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(sibling))) {
static_cast<QGraphicsObject*>(ptr)->stackBefore(static_cast<QGraphicsWidget*>(sibling));
} else {
static_cast<QGraphicsObject*>(ptr)->stackBefore(static_cast<QGraphicsItem*>(sibling));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(sibling))) {
static_cast<QGraphicsWidget*>(ptr)->stackBefore(static_cast<QGraphicsObject*>(sibling));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(sibling))) {
static_cast<QGraphicsWidget*>(ptr)->stackBefore(static_cast<QGraphicsWidget*>(sibling));
} else {
static_cast<QGraphicsWidget*>(ptr)->stackBefore(static_cast<QGraphicsItem*>(sibling));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(sibling))) {
static_cast<QGraphicsItem*>(ptr)->stackBefore(static_cast<QGraphicsObject*>(sibling));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(sibling))) {
static_cast<QGraphicsItem*>(ptr)->stackBefore(static_cast<QGraphicsWidget*>(sibling));
} else {
static_cast<QGraphicsItem*>(ptr)->stackBefore(static_cast<QGraphicsItem*>(sibling));
}
}
}
void QGraphicsItem_UngrabKeyboard(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->ungrabKeyboard();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->ungrabKeyboard();
} else {
static_cast<QGraphicsItem*>(ptr)->ungrabKeyboard();
}
}
void QGraphicsItem_UngrabMouse(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->ungrabMouse();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->ungrabMouse();
} else {
static_cast<QGraphicsItem*>(ptr)->ungrabMouse();
}
}
void QGraphicsItem_UnsetCursor(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->unsetCursor();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->unsetCursor();
} else {
static_cast<QGraphicsItem*>(ptr)->unsetCursor();
}
}
void QGraphicsItem_Update(void* ptr, void* rect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->update(*static_cast<QRectF*>(rect));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->update(*static_cast<QRectF*>(rect));
} else {
static_cast<QGraphicsItem*>(ptr)->update(*static_cast<QRectF*>(rect));
}
}
void QGraphicsItem_Update2(void* ptr, double x, double y, double width, double height)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->update(x, y, width, height);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->update(x, y, width, height);
} else {
static_cast<QGraphicsItem*>(ptr)->update(x, y, width, height);
}
}
void QGraphicsItem_WheelEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
}
}
void QGraphicsItem_WheelEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
} else {
static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
}
}
void QGraphicsItem_DestroyQGraphicsItem(void* ptr)
{
static_cast<QGraphicsItem*>(ptr)->~QGraphicsItem();
}
void QGraphicsItem_DestroyQGraphicsItemDefault(void* ptr)
{
}
long long QGraphicsItem_CacheMode(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->cacheMode();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->cacheMode();
} else {
return static_cast<QGraphicsItem*>(ptr)->cacheMode();
}
}
long long QGraphicsItem_Flags(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->flags();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->flags();
} else {
return static_cast<QGraphicsItem*>(ptr)->flags();
}
}
long long QGraphicsItem_PanelModality(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->panelModality();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->panelModality();
} else {
return static_cast<QGraphicsItem*>(ptr)->panelModality();
}
}
void* QGraphicsItem_Cursor(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QCursor(static_cast<QGraphicsObject*>(ptr)->cursor());
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QCursor(static_cast<QGraphicsWidget*>(ptr)->cursor());
} else {
return new QCursor(static_cast<QGraphicsItem*>(ptr)->cursor());
}
}
void* QGraphicsItem_GraphicsEffect(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->graphicsEffect();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->graphicsEffect();
} else {
return static_cast<QGraphicsItem*>(ptr)->graphicsEffect();
}
}
void* QGraphicsItem_CommonAncestorItem(void* ptr, void* other)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsObject*>(ptr)->commonAncestorItem(static_cast<QGraphicsObject*>(other));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsObject*>(ptr)->commonAncestorItem(static_cast<QGraphicsWidget*>(other));
} else {
return static_cast<QGraphicsObject*>(ptr)->commonAncestorItem(static_cast<QGraphicsItem*>(other));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsWidget*>(ptr)->commonAncestorItem(static_cast<QGraphicsObject*>(other));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsWidget*>(ptr)->commonAncestorItem(static_cast<QGraphicsWidget*>(other));
} else {
return static_cast<QGraphicsWidget*>(ptr)->commonAncestorItem(static_cast<QGraphicsItem*>(other));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsItem*>(ptr)->commonAncestorItem(static_cast<QGraphicsObject*>(other));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsItem*>(ptr)->commonAncestorItem(static_cast<QGraphicsWidget*>(other));
} else {
return static_cast<QGraphicsItem*>(ptr)->commonAncestorItem(static_cast<QGraphicsItem*>(other));
}
}
}
void* QGraphicsItem_FocusItem(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->focusItem();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->focusItem();
} else {
return static_cast<QGraphicsItem*>(ptr)->focusItem();
}
}
void* QGraphicsItem_FocusProxy(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->focusProxy();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->focusProxy();
} else {
return static_cast<QGraphicsItem*>(ptr)->focusProxy();
}
}
void* QGraphicsItem_Panel(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->panel();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->panel();
} else {
return static_cast<QGraphicsItem*>(ptr)->panel();
}
}
void* QGraphicsItem_ParentItem(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->parentItem();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->parentItem();
} else {
return static_cast<QGraphicsItem*>(ptr)->parentItem();
}
}
void* QGraphicsItem_TopLevelItem(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->topLevelItem();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->topLevelItem();
} else {
return static_cast<QGraphicsItem*>(ptr)->topLevelItem();
}
}
void* QGraphicsItem_Group(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->group();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->group();
} else {
return static_cast<QGraphicsItem*>(ptr)->group();
}
}
void* QGraphicsItem_ParentObject(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->parentObject();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->parentObject();
} else {
return static_cast<QGraphicsItem*>(ptr)->parentObject();
}
}
void* QGraphicsItem_Scene(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->scene();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->scene();
} else {
return static_cast<QGraphicsItem*>(ptr)->scene();
}
}
void* QGraphicsItem_ParentWidget(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->parentWidget();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->parentWidget();
} else {
return static_cast<QGraphicsItem*>(ptr)->parentWidget();
}
}
void* QGraphicsItem_TopLevelWidget(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->topLevelWidget();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->topLevelWidget();
} else {
return static_cast<QGraphicsItem*>(ptr)->topLevelWidget();
}
}
void* QGraphicsItem_Window(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->window();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->window();
} else {
return static_cast<QGraphicsItem*>(ptr)->window();
}
}
struct QtWidgets_PackedList QGraphicsItem_ChildItems(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsObject*>(ptr)->childItems()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsWidget*>(ptr)->childItems()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else {
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsItem*>(ptr)->childItems()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
}
struct QtWidgets_PackedList QGraphicsItem_CollidingItems(void* ptr, long long mode)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsObject*>(ptr)->collidingItems(static_cast<Qt::ItemSelectionMode>(mode))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsWidget*>(ptr)->collidingItems(static_cast<Qt::ItemSelectionMode>(mode))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else {
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsItem*>(ptr)->collidingItems(static_cast<Qt::ItemSelectionMode>(mode))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
}
struct QtWidgets_PackedList QGraphicsItem_Transformations(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QList<QGraphicsTransform *>* tmpValue = new QList<QGraphicsTransform *>(static_cast<QGraphicsObject*>(ptr)->transformations()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QList<QGraphicsTransform *>* tmpValue = new QList<QGraphicsTransform *>(static_cast<QGraphicsWidget*>(ptr)->transformations()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else {
return ({ QList<QGraphicsTransform *>* tmpValue = new QList<QGraphicsTransform *>(static_cast<QGraphicsItem*>(ptr)->transformations()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
}
void* QGraphicsItem_ClipPath(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsObject*>(ptr)->clipPath());
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsWidget*>(ptr)->clipPath());
} else {
return new QPainterPath(static_cast<QGraphicsItem*>(ptr)->clipPath());
}
}
void* QGraphicsItem_MapFromItem4(void* ptr, void* item, void* path)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPainterPath(static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), *static_cast<QPainterPath*>(path)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPainterPath(static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPainterPath*>(path)));
} else {
return new QPainterPath(static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), *static_cast<QPainterPath*>(path)));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPainterPath(static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), *static_cast<QPainterPath*>(path)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPainterPath(static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPainterPath*>(path)));
} else {
return new QPainterPath(static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), *static_cast<QPainterPath*>(path)));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPainterPath(static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), *static_cast<QPainterPath*>(path)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPainterPath(static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPainterPath*>(path)));
} else {
return new QPainterPath(static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), *static_cast<QPainterPath*>(path)));
}
}
}
void* QGraphicsItem_MapFromParent4(void* ptr, void* path)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsObject*>(ptr)->mapFromParent(*static_cast<QPainterPath*>(path)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsWidget*>(ptr)->mapFromParent(*static_cast<QPainterPath*>(path)));
} else {
return new QPainterPath(static_cast<QGraphicsItem*>(ptr)->mapFromParent(*static_cast<QPainterPath*>(path)));
}
}
void* QGraphicsItem_MapFromScene4(void* ptr, void* path)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsObject*>(ptr)->mapFromScene(*static_cast<QPainterPath*>(path)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsWidget*>(ptr)->mapFromScene(*static_cast<QPainterPath*>(path)));
} else {
return new QPainterPath(static_cast<QGraphicsItem*>(ptr)->mapFromScene(*static_cast<QPainterPath*>(path)));
}
}
void* QGraphicsItem_MapToItem4(void* ptr, void* item, void* path)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPainterPath(static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), *static_cast<QPainterPath*>(path)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPainterPath(static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPainterPath*>(path)));
} else {
return new QPainterPath(static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), *static_cast<QPainterPath*>(path)));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPainterPath(static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), *static_cast<QPainterPath*>(path)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPainterPath(static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPainterPath*>(path)));
} else {
return new QPainterPath(static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), *static_cast<QPainterPath*>(path)));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPainterPath(static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), *static_cast<QPainterPath*>(path)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPainterPath(static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPainterPath*>(path)));
} else {
return new QPainterPath(static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), *static_cast<QPainterPath*>(path)));
}
}
}
void* QGraphicsItem_MapToParent4(void* ptr, void* path)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsObject*>(ptr)->mapToParent(*static_cast<QPainterPath*>(path)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsWidget*>(ptr)->mapToParent(*static_cast<QPainterPath*>(path)));
} else {
return new QPainterPath(static_cast<QGraphicsItem*>(ptr)->mapToParent(*static_cast<QPainterPath*>(path)));
}
}
void* QGraphicsItem_MapToScene4(void* ptr, void* path)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsObject*>(ptr)->mapToScene(*static_cast<QPainterPath*>(path)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsWidget*>(ptr)->mapToScene(*static_cast<QPainterPath*>(path)));
} else {
return new QPainterPath(static_cast<QGraphicsItem*>(ptr)->mapToScene(*static_cast<QPainterPath*>(path)));
}
}
void* QGraphicsItem_OpaqueArea(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsObject*>(ptr)->opaqueArea());
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsWidget*>(ptr)->opaqueArea());
} else {
return new QPainterPath(static_cast<QGraphicsItem*>(ptr)->opaqueArea());
}
}
void* QGraphicsItem_OpaqueAreaDefault(void* ptr)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::opaqueArea());
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::opaqueArea());
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::opaqueArea());
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::opaqueArea());
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::opaqueArea());
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::opaqueArea());
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::opaqueArea());
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::opaqueArea());
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::opaqueArea());
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::opaqueArea());
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::opaqueArea());
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::opaqueArea());
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::opaqueArea());
} else {
return new QPainterPath(static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::opaqueArea());
}
}
void* QGraphicsItem_Shape(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsObject*>(ptr)->shape());
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsWidget*>(ptr)->shape());
} else {
return new QPainterPath(static_cast<QGraphicsItem*>(ptr)->shape());
}
}
void* QGraphicsItem_ShapeDefault(void* ptr)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::shape());
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::shape());
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::shape());
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::shape());
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::shape());
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::shape());
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::shape());
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::shape());
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::shape());
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::shape());
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::shape());
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::shape());
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
return new QPainterPath(static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::shape());
} else {
return new QPainterPath(static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::shape());
}
}
void* QGraphicsItem_MapFromItem(void* ptr, void* item, void* point)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
}
void* QGraphicsItem_MapFromItem5(void* ptr, void* item, double x, double y)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
}
void* QGraphicsItem_MapFromParent(void* ptr, void* point)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapFromParent(*static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapFromParent(*static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapFromParent(*static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
void* QGraphicsItem_MapFromParent5(void* ptr, double x, double y)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapFromParent(x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapFromParent(x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapFromParent(x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
void* QGraphicsItem_MapFromScene(void* ptr, void* point)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapFromScene(*static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapFromScene(*static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapFromScene(*static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
void* QGraphicsItem_MapFromScene5(void* ptr, double x, double y)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapFromScene(x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapFromScene(x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapFromScene(x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
void* QGraphicsItem_MapToItem(void* ptr, void* item, void* point)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), *static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
}
void* QGraphicsItem_MapToItem5(void* ptr, void* item, double x, double y)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
}
void* QGraphicsItem_MapToParent(void* ptr, void* point)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapToParent(*static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapToParent(*static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapToParent(*static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
void* QGraphicsItem_MapToParent5(void* ptr, double x, double y)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapToParent(x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapToParent(x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapToParent(x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
void* QGraphicsItem_MapToScene(void* ptr, void* point)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapToScene(*static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapToScene(*static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapToScene(*static_cast<QPointF*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
void* QGraphicsItem_MapToScene5(void* ptr, double x, double y)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapToScene(x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapToScene(x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapToScene(x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
void* QGraphicsItem_Pos(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
void* QGraphicsItem_ScenePos(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
void* QGraphicsItem_TransformOriginPoint(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->transformOriginPoint(); new QPointF(tmpValue.x(), tmpValue.y()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->transformOriginPoint(); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsItem*>(ptr)->transformOriginPoint(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
void* QGraphicsItem_MapFromItem3(void* ptr, void* item, void* polygon)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), *static_cast<QPolygonF*>(polygon)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPolygonF*>(polygon)));
} else {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), *static_cast<QPolygonF*>(polygon)));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), *static_cast<QPolygonF*>(polygon)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPolygonF*>(polygon)));
} else {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), *static_cast<QPolygonF*>(polygon)));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), *static_cast<QPolygonF*>(polygon)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPolygonF*>(polygon)));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), *static_cast<QPolygonF*>(polygon)));
}
}
}
void* QGraphicsItem_MapFromItem2(void* ptr, void* item, void* rect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), *static_cast<QRectF*>(rect)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), *static_cast<QRectF*>(rect)));
} else {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), *static_cast<QRectF*>(rect)));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), *static_cast<QRectF*>(rect)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), *static_cast<QRectF*>(rect)));
} else {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), *static_cast<QRectF*>(rect)));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), *static_cast<QRectF*>(rect)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), *static_cast<QRectF*>(rect)));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), *static_cast<QRectF*>(rect)));
}
}
}
void* QGraphicsItem_MapFromItem6(void* ptr, void* item, double x, double y, double w, double h)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), x, y, w, h));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), x, y, w, h));
} else {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), x, y, w, h));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), x, y, w, h));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), x, y, w, h));
} else {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), x, y, w, h));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsObject*>(item), x, y, w, h));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsWidget*>(item), x, y, w, h));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapFromItem(static_cast<QGraphicsItem*>(item), x, y, w, h));
}
}
}
void* QGraphicsItem_MapFromParent3(void* ptr, void* polygon)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapFromParent(*static_cast<QPolygonF*>(polygon)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapFromParent(*static_cast<QPolygonF*>(polygon)));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapFromParent(*static_cast<QPolygonF*>(polygon)));
}
}
void* QGraphicsItem_MapFromParent2(void* ptr, void* rect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapFromParent(*static_cast<QRectF*>(rect)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapFromParent(*static_cast<QRectF*>(rect)));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapFromParent(*static_cast<QRectF*>(rect)));
}
}
void* QGraphicsItem_MapFromParent6(void* ptr, double x, double y, double w, double h)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapFromParent(x, y, w, h));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapFromParent(x, y, w, h));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapFromParent(x, y, w, h));
}
}
void* QGraphicsItem_MapFromScene3(void* ptr, void* polygon)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapFromScene(*static_cast<QPolygonF*>(polygon)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapFromScene(*static_cast<QPolygonF*>(polygon)));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapFromScene(*static_cast<QPolygonF*>(polygon)));
}
}
void* QGraphicsItem_MapFromScene2(void* ptr, void* rect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapFromScene(*static_cast<QRectF*>(rect)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapFromScene(*static_cast<QRectF*>(rect)));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapFromScene(*static_cast<QRectF*>(rect)));
}
}
void* QGraphicsItem_MapFromScene6(void* ptr, double x, double y, double w, double h)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapFromScene(x, y, w, h));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapFromScene(x, y, w, h));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapFromScene(x, y, w, h));
}
}
void* QGraphicsItem_MapToItem3(void* ptr, void* item, void* polygon)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), *static_cast<QPolygonF*>(polygon)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPolygonF*>(polygon)));
} else {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), *static_cast<QPolygonF*>(polygon)));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), *static_cast<QPolygonF*>(polygon)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPolygonF*>(polygon)));
} else {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), *static_cast<QPolygonF*>(polygon)));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), *static_cast<QPolygonF*>(polygon)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), *static_cast<QPolygonF*>(polygon)));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), *static_cast<QPolygonF*>(polygon)));
}
}
}
void* QGraphicsItem_MapToItem2(void* ptr, void* item, void* rect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), *static_cast<QRectF*>(rect)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), *static_cast<QRectF*>(rect)));
} else {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), *static_cast<QRectF*>(rect)));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), *static_cast<QRectF*>(rect)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), *static_cast<QRectF*>(rect)));
} else {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), *static_cast<QRectF*>(rect)));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), *static_cast<QRectF*>(rect)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), *static_cast<QRectF*>(rect)));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), *static_cast<QRectF*>(rect)));
}
}
}
void* QGraphicsItem_MapToItem6(void* ptr, void* item, double x, double y, double w, double h)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), x, y, w, h));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), x, y, w, h));
} else {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), x, y, w, h));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), x, y, w, h));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), x, y, w, h));
} else {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), x, y, w, h));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsObject*>(item), x, y, w, h));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsWidget*>(item), x, y, w, h));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapToItem(static_cast<QGraphicsItem*>(item), x, y, w, h));
}
}
}
void* QGraphicsItem_MapToParent3(void* ptr, void* polygon)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapToParent(*static_cast<QPolygonF*>(polygon)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapToParent(*static_cast<QPolygonF*>(polygon)));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapToParent(*static_cast<QPolygonF*>(polygon)));
}
}
void* QGraphicsItem_MapToParent2(void* ptr, void* rect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapToParent(*static_cast<QRectF*>(rect)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapToParent(*static_cast<QRectF*>(rect)));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapToParent(*static_cast<QRectF*>(rect)));
}
}
void* QGraphicsItem_MapToParent6(void* ptr, double x, double y, double w, double h)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapToParent(x, y, w, h));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapToParent(x, y, w, h));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapToParent(x, y, w, h));
}
}
void* QGraphicsItem_MapToScene3(void* ptr, void* polygon)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapToScene(*static_cast<QPolygonF*>(polygon)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapToScene(*static_cast<QPolygonF*>(polygon)));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapToScene(*static_cast<QPolygonF*>(polygon)));
}
}
void* QGraphicsItem_MapToScene2(void* ptr, void* rect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapToScene(*static_cast<QRectF*>(rect)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapToScene(*static_cast<QRectF*>(rect)));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapToScene(*static_cast<QRectF*>(rect)));
}
}
void* QGraphicsItem_MapToScene6(void* ptr, double x, double y, double w, double h)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsObject*>(ptr)->mapToScene(x, y, w, h));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QPolygonF(static_cast<QGraphicsWidget*>(ptr)->mapToScene(x, y, w, h));
} else {
return new QPolygonF(static_cast<QGraphicsItem*>(ptr)->mapToScene(x, y, w, h));
}
}
void* QGraphicsItem_BoundingRect(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsItem_ChildrenBoundingRect(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->childrenBoundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->childrenBoundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->childrenBoundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsItem_MapRectFromItem(void* ptr, void* item, void* rect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectFromItem(static_cast<QGraphicsObject*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectFromItem(static_cast<QGraphicsWidget*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectFromItem(static_cast<QGraphicsItem*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectFromItem(static_cast<QGraphicsObject*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectFromItem(static_cast<QGraphicsWidget*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectFromItem(static_cast<QGraphicsItem*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectFromItem(static_cast<QGraphicsObject*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectFromItem(static_cast<QGraphicsWidget*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectFromItem(static_cast<QGraphicsItem*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
}
void* QGraphicsItem_MapRectFromItem2(void* ptr, void* item, double x, double y, double w, double h)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectFromItem(static_cast<QGraphicsObject*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectFromItem(static_cast<QGraphicsWidget*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectFromItem(static_cast<QGraphicsItem*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectFromItem(static_cast<QGraphicsObject*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectFromItem(static_cast<QGraphicsWidget*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectFromItem(static_cast<QGraphicsItem*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectFromItem(static_cast<QGraphicsObject*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectFromItem(static_cast<QGraphicsWidget*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectFromItem(static_cast<QGraphicsItem*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
}
void* QGraphicsItem_MapRectFromParent(void* ptr, void* rect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectFromParent(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectFromParent(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectFromParent(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsItem_MapRectFromParent2(void* ptr, double x, double y, double w, double h)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectFromParent(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectFromParent(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectFromParent(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsItem_MapRectFromScene(void* ptr, void* rect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectFromScene(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectFromScene(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectFromScene(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsItem_MapRectFromScene2(void* ptr, double x, double y, double w, double h)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectFromScene(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectFromScene(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectFromScene(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsItem_MapRectToItem(void* ptr, void* item, void* rect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectToItem(static_cast<QGraphicsObject*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectToItem(static_cast<QGraphicsWidget*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectToItem(static_cast<QGraphicsItem*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectToItem(static_cast<QGraphicsObject*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectToItem(static_cast<QGraphicsWidget*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectToItem(static_cast<QGraphicsItem*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectToItem(static_cast<QGraphicsObject*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectToItem(static_cast<QGraphicsWidget*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectToItem(static_cast<QGraphicsItem*>(item), *static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
}
void* QGraphicsItem_MapRectToItem2(void* ptr, void* item, double x, double y, double w, double h)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectToItem(static_cast<QGraphicsObject*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectToItem(static_cast<QGraphicsWidget*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectToItem(static_cast<QGraphicsItem*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectToItem(static_cast<QGraphicsObject*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectToItem(static_cast<QGraphicsWidget*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectToItem(static_cast<QGraphicsItem*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectToItem(static_cast<QGraphicsObject*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectToItem(static_cast<QGraphicsWidget*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectToItem(static_cast<QGraphicsItem*>(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
}
void* QGraphicsItem_MapRectToParent(void* ptr, void* rect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectToParent(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectToParent(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectToParent(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsItem_MapRectToParent2(void* ptr, double x, double y, double w, double h)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectToParent(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectToParent(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectToParent(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsItem_MapRectToScene(void* ptr, void* rect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectToScene(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectToScene(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectToScene(*static_cast<QRectF*>(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsItem_MapRectToScene2(void* ptr, double x, double y, double w, double h)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->mapRectToScene(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->mapRectToScene(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->mapRectToScene(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsItem_SceneBoundingRect(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsObject*>(ptr)->sceneBoundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->sceneBoundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsItem*>(ptr)->sceneBoundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsItem_BoundingRegion(void* ptr, void* itemToDeviceTransform)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QRegion(static_cast<QGraphicsObject*>(ptr)->boundingRegion(*static_cast<QTransform*>(itemToDeviceTransform)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QRegion(static_cast<QGraphicsWidget*>(ptr)->boundingRegion(*static_cast<QTransform*>(itemToDeviceTransform)));
} else {
return new QRegion(static_cast<QGraphicsItem*>(ptr)->boundingRegion(*static_cast<QTransform*>(itemToDeviceTransform)));
}
}
struct QtWidgets_PackedString QGraphicsItem_ToolTip(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return ({ QByteArray t7daf65 = static_cast<QGraphicsObject*>(ptr)->toolTip().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t7daf65.prepend("WHITESPACE").constData()+10), t7daf65.size()-10 }; });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QByteArray t7daf65 = static_cast<QGraphicsWidget*>(ptr)->toolTip().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t7daf65.prepend("WHITESPACE").constData()+10), t7daf65.size()-10 }; });
} else {
return ({ QByteArray t7daf65 = static_cast<QGraphicsItem*>(ptr)->toolTip().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t7daf65.prepend("WHITESPACE").constData()+10), t7daf65.size()-10 }; });
}
}
void* QGraphicsItem_DeviceTransform(void* ptr, void* viewportTransform)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QTransform(static_cast<QGraphicsObject*>(ptr)->deviceTransform(*static_cast<QTransform*>(viewportTransform)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QTransform(static_cast<QGraphicsWidget*>(ptr)->deviceTransform(*static_cast<QTransform*>(viewportTransform)));
} else {
return new QTransform(static_cast<QGraphicsItem*>(ptr)->deviceTransform(*static_cast<QTransform*>(viewportTransform)));
}
}
void* QGraphicsItem_ItemTransform(void* ptr, void* other, char ok)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return new QTransform(static_cast<QGraphicsObject*>(ptr)->itemTransform(static_cast<QGraphicsObject*>(other), NULL));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return new QTransform(static_cast<QGraphicsObject*>(ptr)->itemTransform(static_cast<QGraphicsWidget*>(other), NULL));
} else {
return new QTransform(static_cast<QGraphicsObject*>(ptr)->itemTransform(static_cast<QGraphicsItem*>(other), NULL));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return new QTransform(static_cast<QGraphicsWidget*>(ptr)->itemTransform(static_cast<QGraphicsObject*>(other), NULL));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return new QTransform(static_cast<QGraphicsWidget*>(ptr)->itemTransform(static_cast<QGraphicsWidget*>(other), NULL));
} else {
return new QTransform(static_cast<QGraphicsWidget*>(ptr)->itemTransform(static_cast<QGraphicsItem*>(other), NULL));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return new QTransform(static_cast<QGraphicsItem*>(ptr)->itemTransform(static_cast<QGraphicsObject*>(other), NULL));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return new QTransform(static_cast<QGraphicsItem*>(ptr)->itemTransform(static_cast<QGraphicsWidget*>(other), NULL));
} else {
return new QTransform(static_cast<QGraphicsItem*>(ptr)->itemTransform(static_cast<QGraphicsItem*>(other), NULL));
}
}
}
void* QGraphicsItem_SceneTransform(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QTransform(static_cast<QGraphicsObject*>(ptr)->sceneTransform());
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QTransform(static_cast<QGraphicsWidget*>(ptr)->sceneTransform());
} else {
return new QTransform(static_cast<QGraphicsItem*>(ptr)->sceneTransform());
}
}
void* QGraphicsItem_Transform(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QTransform(static_cast<QGraphicsObject*>(ptr)->transform());
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QTransform(static_cast<QGraphicsWidget*>(ptr)->transform());
} else {
return new QTransform(static_cast<QGraphicsItem*>(ptr)->transform());
}
}
void* QGraphicsItem_Data(void* ptr, int key)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsObject*>(ptr)->data(key));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsWidget*>(ptr)->data(key));
} else {
return new QVariant(static_cast<QGraphicsItem*>(ptr)->data(key));
}
}
void* QGraphicsItem_InputMethodQuery(void* ptr, long long query)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsObject*>(ptr)->inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsWidget*>(ptr)->inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else {
return new QVariant(static_cast<QGraphicsItem*>(ptr)->inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
}
}
void* QGraphicsItem_InputMethodQueryDefault(void* ptr, long long query)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else {
return new QVariant(static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
}
}
long long QGraphicsItem_InputMethodHints(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->inputMethodHints();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->inputMethodHints();
} else {
return static_cast<QGraphicsItem*>(ptr)->inputMethodHints();
}
}
long long QGraphicsItem_AcceptedMouseButtons(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->acceptedMouseButtons();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->acceptedMouseButtons();
} else {
return static_cast<QGraphicsItem*>(ptr)->acceptedMouseButtons();
}
}
char QGraphicsItem_AcceptDrops(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->acceptDrops();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->acceptDrops();
} else {
return static_cast<QGraphicsItem*>(ptr)->acceptDrops();
}
}
char QGraphicsItem_AcceptHoverEvents(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->acceptHoverEvents();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->acceptHoverEvents();
} else {
return static_cast<QGraphicsItem*>(ptr)->acceptHoverEvents();
}
}
char QGraphicsItem_AcceptTouchEvents(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->acceptTouchEvents();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->acceptTouchEvents();
} else {
return static_cast<QGraphicsItem*>(ptr)->acceptTouchEvents();
}
}
char QGraphicsItem_CollidesWithItem(void* ptr, void* other, long long mode)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsObject*>(ptr)->collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsObject*>(ptr)->collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsObject*>(ptr)->collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsWidget*>(ptr)->collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsWidget*>(ptr)->collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsWidget*>(ptr)->collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsItem*>(ptr)->collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsItem*>(ptr)->collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsItem*>(ptr)->collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
}
}
char QGraphicsItem_CollidesWithItemDefault(void* ptr, void* other, long long mode)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::collidesWithItem(static_cast<QGraphicsObject*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(other))) {
return static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::collidesWithItem(static_cast<QGraphicsWidget*>(other), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode));
}
}
}
char QGraphicsItem_CollidesWithPath(void* ptr, void* path, long long mode)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsItem*>(ptr)->collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
}
}
char QGraphicsItem_CollidesWithPathDefault(void* ptr, void* path, long long mode)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
} else {
return static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode));
}
}
char QGraphicsItem_Contains(void* ptr, void* point)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->contains(*static_cast<QPointF*>(point));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->contains(*static_cast<QPointF*>(point));
} else {
return static_cast<QGraphicsItem*>(ptr)->contains(*static_cast<QPointF*>(point));
}
}
char QGraphicsItem_ContainsDefault(void* ptr, void* point)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::contains(*static_cast<QPointF*>(point));
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::contains(*static_cast<QPointF*>(point));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::contains(*static_cast<QPointF*>(point));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::contains(*static_cast<QPointF*>(point));
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::contains(*static_cast<QPointF*>(point));
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::contains(*static_cast<QPointF*>(point));
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::contains(*static_cast<QPointF*>(point));
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::contains(*static_cast<QPointF*>(point));
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::contains(*static_cast<QPointF*>(point));
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::contains(*static_cast<QPointF*>(point));
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::contains(*static_cast<QPointF*>(point));
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::contains(*static_cast<QPointF*>(point));
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::contains(*static_cast<QPointF*>(point));
} else {
return static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::contains(*static_cast<QPointF*>(point));
}
}
char QGraphicsItem_FiltersChildEvents(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->filtersChildEvents();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->filtersChildEvents();
} else {
return static_cast<QGraphicsItem*>(ptr)->filtersChildEvents();
}
}
char QGraphicsItem_HasCursor(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->hasCursor();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->hasCursor();
} else {
return static_cast<QGraphicsItem*>(ptr)->hasCursor();
}
}
char QGraphicsItem_HasFocus(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->hasFocus();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->hasFocus();
} else {
return static_cast<QGraphicsItem*>(ptr)->hasFocus();
}
}
char QGraphicsItem_IsActive(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->isActive();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->isActive();
} else {
return static_cast<QGraphicsItem*>(ptr)->isActive();
}
}
char QGraphicsItem_IsAncestorOf(void* ptr, void* child)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(child))) {
return static_cast<QGraphicsObject*>(ptr)->isAncestorOf(static_cast<QGraphicsObject*>(child));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(child))) {
return static_cast<QGraphicsObject*>(ptr)->isAncestorOf(static_cast<QGraphicsWidget*>(child));
} else {
return static_cast<QGraphicsObject*>(ptr)->isAncestorOf(static_cast<QGraphicsItem*>(child));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(child))) {
return static_cast<QGraphicsWidget*>(ptr)->isAncestorOf(static_cast<QGraphicsObject*>(child));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(child))) {
return static_cast<QGraphicsWidget*>(ptr)->isAncestorOf(static_cast<QGraphicsWidget*>(child));
} else {
return static_cast<QGraphicsWidget*>(ptr)->isAncestorOf(static_cast<QGraphicsItem*>(child));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(child))) {
return static_cast<QGraphicsItem*>(ptr)->isAncestorOf(static_cast<QGraphicsObject*>(child));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(child))) {
return static_cast<QGraphicsItem*>(ptr)->isAncestorOf(static_cast<QGraphicsWidget*>(child));
} else {
return static_cast<QGraphicsItem*>(ptr)->isAncestorOf(static_cast<QGraphicsItem*>(child));
}
}
}
char QGraphicsItem_IsClipped(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->isClipped();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->isClipped();
} else {
return static_cast<QGraphicsItem*>(ptr)->isClipped();
}
}
char QGraphicsItem_IsEnabled(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->isEnabled();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->isEnabled();
} else {
return static_cast<QGraphicsItem*>(ptr)->isEnabled();
}
}
char QGraphicsItem_IsObscured(void* ptr, void* rect)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->isObscured(*static_cast<QRectF*>(rect));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->isObscured(*static_cast<QRectF*>(rect));
} else {
return static_cast<QGraphicsItem*>(ptr)->isObscured(*static_cast<QRectF*>(rect));
}
}
char QGraphicsItem_IsObscured2(void* ptr, double x, double y, double w, double h)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->isObscured(x, y, w, h);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->isObscured(x, y, w, h);
} else {
return static_cast<QGraphicsItem*>(ptr)->isObscured(x, y, w, h);
}
}
char QGraphicsItem_IsObscuredBy(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsObject*>(ptr)->isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsObject*>(ptr)->isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsObject*>(ptr)->isObscuredBy(static_cast<QGraphicsItem*>(item));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsWidget*>(ptr)->isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsWidget*>(ptr)->isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsWidget*>(ptr)->isObscuredBy(static_cast<QGraphicsItem*>(item));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsItem*>(ptr)->isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsItem*>(ptr)->isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsItem*>(ptr)->isObscuredBy(static_cast<QGraphicsItem*>(item));
}
}
}
char QGraphicsItem_IsObscuredByDefault(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::isObscuredBy(static_cast<QGraphicsItem*>(item));
}
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::isObscuredBy(static_cast<QGraphicsItem*>(item));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::isObscuredBy(static_cast<QGraphicsItem*>(item));
}
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::isObscuredBy(static_cast<QGraphicsItem*>(item));
}
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::isObscuredBy(static_cast<QGraphicsItem*>(item));
}
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::isObscuredBy(static_cast<QGraphicsItem*>(item));
}
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::isObscuredBy(static_cast<QGraphicsItem*>(item));
}
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::isObscuredBy(static_cast<QGraphicsItem*>(item));
}
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::isObscuredBy(static_cast<QGraphicsItem*>(item));
}
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::isObscuredBy(static_cast<QGraphicsItem*>(item));
}
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::isObscuredBy(static_cast<QGraphicsItem*>(item));
}
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::isObscuredBy(static_cast<QGraphicsItem*>(item));
}
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::isObscuredBy(static_cast<QGraphicsItem*>(item));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::isObscuredBy(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::isObscuredBy(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::isObscuredBy(static_cast<QGraphicsItem*>(item));
}
}
}
char QGraphicsItem_IsPanel(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->isPanel();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->isPanel();
} else {
return static_cast<QGraphicsItem*>(ptr)->isPanel();
}
}
char QGraphicsItem_IsSelected(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->isSelected();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->isSelected();
} else {
return static_cast<QGraphicsItem*>(ptr)->isSelected();
}
}
char QGraphicsItem_IsUnderMouse(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->isUnderMouse();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->isUnderMouse();
} else {
return static_cast<QGraphicsItem*>(ptr)->isUnderMouse();
}
}
char QGraphicsItem_IsVisible(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->isVisible();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->isVisible();
} else {
return static_cast<QGraphicsItem*>(ptr)->isVisible();
}
}
char QGraphicsItem_IsVisibleTo(void* ptr, void* parent)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(parent))) {
return static_cast<QGraphicsObject*>(ptr)->isVisibleTo(static_cast<QGraphicsObject*>(parent));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(parent))) {
return static_cast<QGraphicsObject*>(ptr)->isVisibleTo(static_cast<QGraphicsWidget*>(parent));
} else {
return static_cast<QGraphicsObject*>(ptr)->isVisibleTo(static_cast<QGraphicsItem*>(parent));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(parent))) {
return static_cast<QGraphicsWidget*>(ptr)->isVisibleTo(static_cast<QGraphicsObject*>(parent));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(parent))) {
return static_cast<QGraphicsWidget*>(ptr)->isVisibleTo(static_cast<QGraphicsWidget*>(parent));
} else {
return static_cast<QGraphicsWidget*>(ptr)->isVisibleTo(static_cast<QGraphicsItem*>(parent));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(parent))) {
return static_cast<QGraphicsItem*>(ptr)->isVisibleTo(static_cast<QGraphicsObject*>(parent));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(parent))) {
return static_cast<QGraphicsItem*>(ptr)->isVisibleTo(static_cast<QGraphicsWidget*>(parent));
} else {
return static_cast<QGraphicsItem*>(ptr)->isVisibleTo(static_cast<QGraphicsItem*>(parent));
}
}
}
char QGraphicsItem_IsWidget(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->isWidget();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->isWidget();
} else {
return static_cast<QGraphicsItem*>(ptr)->isWidget();
}
}
char QGraphicsItem_IsWindow(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->isWindow();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->isWindow();
} else {
return static_cast<QGraphicsItem*>(ptr)->isWindow();
}
}
void* QGraphicsItem_ToGraphicsObject2(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return const_cast<QGraphicsObject*>(static_cast<QGraphicsObject*>(ptr)->toGraphicsObject());
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QGraphicsObject*>(static_cast<QGraphicsWidget*>(ptr)->toGraphicsObject());
} else {
return const_cast<QGraphicsObject*>(static_cast<QGraphicsItem*>(ptr)->toGraphicsObject());
}
}
int QGraphicsItem_Type(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->type();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->type();
} else {
return static_cast<QGraphicsItem*>(ptr)->type();
}
}
int QGraphicsItem_TypeDefault(void* ptr)
{
if (dynamic_cast<QGraphicsPixmapItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::type();
} else if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::type();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::type();
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::type();
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::type();
} else if (dynamic_cast<QGraphicsLineItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::type();
} else if (dynamic_cast<QGraphicsItemGroup*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::type();
} else if (dynamic_cast<QGraphicsSimpleTextItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::type();
} else if (dynamic_cast<QGraphicsRectItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::type();
} else if (dynamic_cast<QGraphicsPolygonItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::type();
} else if (dynamic_cast<QGraphicsPathItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::type();
} else if (dynamic_cast<QGraphicsEllipseItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsEllipseItem*>(ptr)->QGraphicsEllipseItem::type();
} else if (dynamic_cast<QAbstractGraphicsShapeItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractGraphicsShapeItem*>(ptr)->QAbstractGraphicsShapeItem::type();
} else {
return static_cast<QGraphicsItem*>(ptr)->QGraphicsItem::type();
}
}
double QGraphicsItem_BoundingRegionGranularity(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->boundingRegionGranularity();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->boundingRegionGranularity();
} else {
return static_cast<QGraphicsItem*>(ptr)->boundingRegionGranularity();
}
}
double QGraphicsItem_EffectiveOpacity(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->effectiveOpacity();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->effectiveOpacity();
} else {
return static_cast<QGraphicsItem*>(ptr)->effectiveOpacity();
}
}
double QGraphicsItem_Opacity(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->opacity();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->opacity();
} else {
return static_cast<QGraphicsItem*>(ptr)->opacity();
}
}
double QGraphicsItem_Rotation(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->rotation();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->rotation();
} else {
return static_cast<QGraphicsItem*>(ptr)->rotation();
}
}
double QGraphicsItem_Scale(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->scale();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->scale();
} else {
return static_cast<QGraphicsItem*>(ptr)->scale();
}
}
double QGraphicsItem_X(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->x();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->x();
} else {
return static_cast<QGraphicsItem*>(ptr)->x();
}
}
double QGraphicsItem_Y(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->y();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->y();
} else {
return static_cast<QGraphicsItem*>(ptr)->y();
}
}
double QGraphicsItem_ZValue(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsObject*>(ptr)->zValue();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->zValue();
} else {
return static_cast<QGraphicsItem*>(ptr)->zValue();
}
}
int QGraphicsItem_QGraphicsItem_UserType()
{
return QGraphicsItem::UserType;
}
void* QGraphicsItem___setTransformations_transformations_atList(void* ptr, int i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return const_cast<QGraphicsTransform*>(static_cast<QList<QGraphicsTransform *>*>(ptr)->at(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QGraphicsTransform*>(static_cast<QList<QGraphicsTransform *>*>(ptr)->at(i));
} else {
return const_cast<QGraphicsTransform*>(static_cast<QList<QGraphicsTransform *>*>(ptr)->at(i));
}
}
void QGraphicsItem___setTransformations_transformations_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QList<QGraphicsTransform *>*>(ptr)->append(static_cast<QGraphicsTransform*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QList<QGraphicsTransform *>*>(ptr)->append(static_cast<QGraphicsTransform*>(i));
} else {
static_cast<QList<QGraphicsTransform *>*>(ptr)->append(static_cast<QGraphicsTransform*>(i));
}
}
void* QGraphicsItem___setTransformations_transformations_newList(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QList<QGraphicsTransform *>;
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QList<QGraphicsTransform *>;
} else {
return new QList<QGraphicsTransform *>;
}
}
void* QGraphicsItem___childItems_atList(void* ptr, int i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
} else {
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
}
void QGraphicsItem___childItems_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
}
void* QGraphicsItem___childItems_newList(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QList<QGraphicsItem *>;
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QList<QGraphicsItem *>;
} else {
return new QList<QGraphicsItem *>;
}
}
void* QGraphicsItem___children_atList(void* ptr, int i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
} else {
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
}
void QGraphicsItem___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
}
void* QGraphicsItem___children_newList(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QList<QGraphicsItem *>;
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QList<QGraphicsItem *>;
} else {
return new QList<QGraphicsItem *>;
}
}
void* QGraphicsItem___collidingItems_atList(void* ptr, int i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
} else {
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
}
void QGraphicsItem___collidingItems_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
}
void* QGraphicsItem___collidingItems_newList(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QList<QGraphicsItem *>;
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QList<QGraphicsItem *>;
} else {
return new QList<QGraphicsItem *>;
}
}
void* QGraphicsItem___transformations_atList(void* ptr, int i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return const_cast<QGraphicsTransform*>(static_cast<QList<QGraphicsTransform *>*>(ptr)->at(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QGraphicsTransform*>(static_cast<QList<QGraphicsTransform *>*>(ptr)->at(i));
} else {
return const_cast<QGraphicsTransform*>(static_cast<QList<QGraphicsTransform *>*>(ptr)->at(i));
}
}
void QGraphicsItem___transformations_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
static_cast<QList<QGraphicsTransform *>*>(ptr)->append(static_cast<QGraphicsTransform*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QList<QGraphicsTransform *>*>(ptr)->append(static_cast<QGraphicsTransform*>(i));
} else {
static_cast<QList<QGraphicsTransform *>*>(ptr)->append(static_cast<QGraphicsTransform*>(i));
}
}
void* QGraphicsItem___transformations_newList(void* ptr)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(ptr))) {
return new QList<QGraphicsTransform *>;
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QList<QGraphicsTransform *>;
} else {
return new QList<QGraphicsTransform *>;
}
}
class MyQGraphicsItemGroup: public QGraphicsItemGroup
{
public:
MyQGraphicsItemGroup(QGraphicsItem *parent) : QGraphicsItemGroup(parent) {};
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsItemGroup_Paint(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
QPainterPath opaqueArea() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_OpaqueArea(const_cast<void*>(static_cast<const void*>(this)))); };
QRectF boundingRect() const { return *static_cast<QRectF*>(callbackQGraphicsItemGroup_BoundingRect(const_cast<void*>(static_cast<const void*>(this)))); };
bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(item)) != 0; };
int type() const { return callbackQGraphicsItem_Type(const_cast<void*>(static_cast<const void*>(this))); };
QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast<QVariant*>(callbackQGraphicsItem_ItemChange(this, change, const_cast<QVariant*>(&value))); };
bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; };
bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; };
void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); };
void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); };
void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); };
void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); };
void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); };
void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); };
void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); };
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); };
void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); };
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); };
void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); };
void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); };
void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); };
QPainterPath shape() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_Shape(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsItem_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(other), mode) != 0; };
bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPainterPath*>(&path), mode) != 0; };
bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&point)) != 0; };
};
void* QGraphicsItemGroup_NewQGraphicsItemGroup(void* parent)
{
return new MyQGraphicsItemGroup(static_cast<QGraphicsItem*>(parent));
}
void QGraphicsItemGroup_AddToGroup(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsItemGroup*>(ptr)->addToGroup(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsItemGroup*>(ptr)->addToGroup(static_cast<QGraphicsWidget*>(item));
} else {
static_cast<QGraphicsItemGroup*>(ptr)->addToGroup(static_cast<QGraphicsItem*>(item));
}
}
void QGraphicsItemGroup_Paint(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsItemGroup*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsItemGroup_PaintDefault(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsItemGroup_RemoveFromGroup(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsItemGroup*>(ptr)->removeFromGroup(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsItemGroup*>(ptr)->removeFromGroup(static_cast<QGraphicsWidget*>(item));
} else {
static_cast<QGraphicsItemGroup*>(ptr)->removeFromGroup(static_cast<QGraphicsItem*>(item));
}
}
void QGraphicsItemGroup_DestroyQGraphicsItemGroup(void* ptr)
{
static_cast<QGraphicsItemGroup*>(ptr)->~QGraphicsItemGroup();
}
void* QGraphicsItemGroup_BoundingRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsItemGroup*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsItemGroup_BoundingRectDefault(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsItemGroup*>(ptr)->QGraphicsItemGroup::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
class MyQGraphicsLayout: public QGraphicsLayout
{
public:
MyQGraphicsLayout(QGraphicsLayoutItem *parent) : QGraphicsLayout(parent) {};
void invalidate() { callbackQGraphicsLayout_Invalidate(this); };
void removeAt(int index) { callbackQGraphicsLayout_RemoveAt(this, index); };
void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); };
void widgetEvent(QEvent * e) { callbackQGraphicsLayout_WidgetEvent(this, e); };
QGraphicsLayoutItem * itemAt(int i) const { return static_cast<QGraphicsLayoutItem*>(callbackQGraphicsLayout_ItemAt(const_cast<void*>(static_cast<const void*>(this)), i)); };
int count() const { return callbackQGraphicsLayout_Count(const_cast<void*>(static_cast<const void*>(this))); };
void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom) const { callbackQGraphicsLayoutItem_GetContentsMargins(const_cast<void*>(static_cast<const void*>(this)), *left, *top, *right, *bottom); };
void setGeometry(const QRectF & rect) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast<QRectF*>(&rect)); };
QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint) const { return *static_cast<QSizeF*>(callbackQGraphicsLayout_SizeHint(const_cast<void*>(static_cast<const void*>(this)), which, const_cast<QSizeF*>(&constraint))); };
};
void* QGraphicsLayout_NewQGraphicsLayout(void* parent)
{
return new MyQGraphicsLayout(static_cast<QGraphicsLayoutItem*>(parent));
}
void QGraphicsLayout_Activate(void* ptr)
{
static_cast<QGraphicsLayout*>(ptr)->activate();
}
void QGraphicsLayout_AddChildLayoutItem(void* ptr, void* layoutItem)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(layoutItem))) {
static_cast<QGraphicsLayout*>(ptr)->addChildLayoutItem(static_cast<QGraphicsWidget*>(layoutItem));
} else {
static_cast<QGraphicsLayout*>(ptr)->addChildLayoutItem(static_cast<QGraphicsLayoutItem*>(layoutItem));
}
}
void QGraphicsLayout_Invalidate(void* ptr)
{
static_cast<QGraphicsLayout*>(ptr)->invalidate();
}
void QGraphicsLayout_InvalidateDefault(void* ptr)
{
if (dynamic_cast<QGraphicsLinearLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLinearLayout*>(ptr)->QGraphicsLinearLayout::invalidate();
} else if (dynamic_cast<QGraphicsGridLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsGridLayout*>(ptr)->QGraphicsGridLayout::invalidate();
} else if (dynamic_cast<QGraphicsAnchorLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsAnchorLayout*>(ptr)->QGraphicsAnchorLayout::invalidate();
} else {
static_cast<QGraphicsLayout*>(ptr)->QGraphicsLayout::invalidate();
}
}
void QGraphicsLayout_RemoveAt(void* ptr, int index)
{
static_cast<QGraphicsLayout*>(ptr)->removeAt(index);
}
void QGraphicsLayout_SetContentsMargins(void* ptr, double left, double top, double right, double bottom)
{
static_cast<QGraphicsLayout*>(ptr)->setContentsMargins(left, top, right, bottom);
}
void QGraphicsLayout_WidgetEvent(void* ptr, void* e)
{
static_cast<QGraphicsLayout*>(ptr)->widgetEvent(static_cast<QEvent*>(e));
}
void QGraphicsLayout_WidgetEventDefault(void* ptr, void* e)
{
if (dynamic_cast<QGraphicsLinearLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLinearLayout*>(ptr)->QGraphicsLinearLayout::widgetEvent(static_cast<QEvent*>(e));
} else if (dynamic_cast<QGraphicsGridLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsGridLayout*>(ptr)->QGraphicsGridLayout::widgetEvent(static_cast<QEvent*>(e));
} else if (dynamic_cast<QGraphicsAnchorLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsAnchorLayout*>(ptr)->QGraphicsAnchorLayout::widgetEvent(static_cast<QEvent*>(e));
} else {
static_cast<QGraphicsLayout*>(ptr)->QGraphicsLayout::widgetEvent(static_cast<QEvent*>(e));
}
}
void QGraphicsLayout_DestroyQGraphicsLayout(void* ptr)
{
static_cast<QGraphicsLayout*>(ptr)->~QGraphicsLayout();
}
void* QGraphicsLayout_ItemAt(void* ptr, int i)
{
return static_cast<QGraphicsLayout*>(ptr)->itemAt(i);
}
char QGraphicsLayout_IsActivated(void* ptr)
{
return static_cast<QGraphicsLayout*>(ptr)->isActivated();
}
int QGraphicsLayout_Count(void* ptr)
{
return static_cast<QGraphicsLayout*>(ptr)->count();
}
void* QGraphicsLayout_SizeHint(void* ptr, long long which, void* constraint)
{
return ({ QSizeF tmpValue = static_cast<QGraphicsLayout*>(ptr)->sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsLayout_SizeHintDefault(void* ptr, long long which, void* constraint)
{
if (dynamic_cast<QGraphicsLinearLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSizeF tmpValue = static_cast<QGraphicsLinearLayout*>(ptr)->QGraphicsLinearLayout::sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsGridLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSizeF tmpValue = static_cast<QGraphicsGridLayout*>(ptr)->QGraphicsGridLayout::sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsAnchorLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSizeF tmpValue = static_cast<QGraphicsAnchorLayout*>(ptr)->QGraphicsAnchorLayout::sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
} else {
}
}
class MyQGraphicsLayoutItem: public QGraphicsLayoutItem
{
public:
MyQGraphicsLayoutItem(QGraphicsLayoutItem *parent, bool isLayout) : QGraphicsLayoutItem(parent, isLayout) {};
void setGeometry(const QRectF & rect) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast<QRectF*>(&rect)); };
void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); };
~MyQGraphicsLayoutItem() { callbackQGraphicsLayoutItem_DestroyQGraphicsLayoutItem(this); };
QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint) const { return *static_cast<QSizeF*>(callbackQGraphicsLayoutItem_SizeHint(const_cast<void*>(static_cast<const void*>(this)), which, const_cast<QSizeF*>(&constraint))); };
void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom) const { callbackQGraphicsLayoutItem_GetContentsMargins(const_cast<void*>(static_cast<const void*>(this)), *left, *top, *right, *bottom); };
};
void* QGraphicsLayoutItem_NewQGraphicsLayoutItem(void* parent, char isLayout)
{
return new MyQGraphicsLayoutItem(static_cast<QGraphicsLayoutItem*>(parent), isLayout != 0);
}
void QGraphicsLayoutItem_SetGeometry(void* ptr, void* rect)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setGeometry(*static_cast<QRectF*>(rect));
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setGeometry(*static_cast<QRectF*>(rect));
}
}
void QGraphicsLayoutItem_SetGeometryDefault(void* ptr, void* rect)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::setGeometry(*static_cast<QRectF*>(rect));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::setGeometry(*static_cast<QRectF*>(rect));
} else if (dynamic_cast<QGraphicsLinearLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLinearLayout*>(ptr)->QGraphicsLinearLayout::setGeometry(*static_cast<QRectF*>(rect));
} else if (dynamic_cast<QGraphicsGridLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsGridLayout*>(ptr)->QGraphicsGridLayout::setGeometry(*static_cast<QRectF*>(rect));
} else if (dynamic_cast<QGraphicsAnchorLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsAnchorLayout*>(ptr)->QGraphicsAnchorLayout::setGeometry(*static_cast<QRectF*>(rect));
} else if (dynamic_cast<QGraphicsLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLayout*>(ptr)->QGraphicsLayout::setGeometry(*static_cast<QRectF*>(rect));
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->QGraphicsLayoutItem::setGeometry(*static_cast<QRectF*>(rect));
}
}
void QGraphicsLayoutItem_SetGraphicsItem(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsWidget*>(ptr)->setGraphicsItem(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsWidget*>(ptr)->setGraphicsItem(static_cast<QGraphicsWidget*>(item));
} else {
static_cast<QGraphicsWidget*>(ptr)->setGraphicsItem(static_cast<QGraphicsItem*>(item));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsLayoutItem*>(ptr)->setGraphicsItem(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsLayoutItem*>(ptr)->setGraphicsItem(static_cast<QGraphicsWidget*>(item));
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setGraphicsItem(static_cast<QGraphicsItem*>(item));
}
}
}
void QGraphicsLayoutItem_SetMaximumHeight(void* ptr, double height)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setMaximumHeight(height);
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setMaximumHeight(height);
}
}
void QGraphicsLayoutItem_SetMaximumSize(void* ptr, void* size)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setMaximumSize(*static_cast<QSizeF*>(size));
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setMaximumSize(*static_cast<QSizeF*>(size));
}
}
void QGraphicsLayoutItem_SetMaximumSize2(void* ptr, double w, double h)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setMaximumSize(w, h);
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setMaximumSize(w, h);
}
}
void QGraphicsLayoutItem_SetMaximumWidth(void* ptr, double width)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setMaximumWidth(width);
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setMaximumWidth(width);
}
}
void QGraphicsLayoutItem_SetMinimumHeight(void* ptr, double height)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setMinimumHeight(height);
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setMinimumHeight(height);
}
}
void QGraphicsLayoutItem_SetMinimumSize(void* ptr, void* size)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setMinimumSize(*static_cast<QSizeF*>(size));
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setMinimumSize(*static_cast<QSizeF*>(size));
}
}
void QGraphicsLayoutItem_SetMinimumSize2(void* ptr, double w, double h)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setMinimumSize(w, h);
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setMinimumSize(w, h);
}
}
void QGraphicsLayoutItem_SetMinimumWidth(void* ptr, double width)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setMinimumWidth(width);
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setMinimumWidth(width);
}
}
void QGraphicsLayoutItem_SetOwnedByLayout(void* ptr, char ownership)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setOwnedByLayout(ownership != 0);
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setOwnedByLayout(ownership != 0);
}
}
void QGraphicsLayoutItem_SetParentLayoutItem(void* ptr, void* parent)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(parent))) {
static_cast<QGraphicsWidget*>(ptr)->setParentLayoutItem(static_cast<QGraphicsWidget*>(parent));
} else {
static_cast<QGraphicsWidget*>(ptr)->setParentLayoutItem(static_cast<QGraphicsLayoutItem*>(parent));
}
} else {
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(parent))) {
static_cast<QGraphicsLayoutItem*>(ptr)->setParentLayoutItem(static_cast<QGraphicsWidget*>(parent));
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setParentLayoutItem(static_cast<QGraphicsLayoutItem*>(parent));
}
}
}
void QGraphicsLayoutItem_SetPreferredHeight(void* ptr, double height)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setPreferredHeight(height);
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setPreferredHeight(height);
}
}
void QGraphicsLayoutItem_SetPreferredSize(void* ptr, void* size)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setPreferredSize(*static_cast<QSizeF*>(size));
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setPreferredSize(*static_cast<QSizeF*>(size));
}
}
void QGraphicsLayoutItem_SetPreferredSize2(void* ptr, double w, double h)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setPreferredSize(w, h);
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setPreferredSize(w, h);
}
}
void QGraphicsLayoutItem_SetPreferredWidth(void* ptr, double width)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setPreferredWidth(width);
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setPreferredWidth(width);
}
}
void QGraphicsLayoutItem_SetSizePolicy2(void* ptr, long long hPolicy, long long vPolicy, long long controlType)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setSizePolicy(static_cast<QSizePolicy::Policy>(hPolicy), static_cast<QSizePolicy::Policy>(vPolicy), static_cast<QSizePolicy::ControlType>(controlType));
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setSizePolicy(static_cast<QSizePolicy::Policy>(hPolicy), static_cast<QSizePolicy::Policy>(vPolicy), static_cast<QSizePolicy::ControlType>(controlType));
}
}
void QGraphicsLayoutItem_SetSizePolicy(void* ptr, void* policy)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setSizePolicy(*static_cast<QSizePolicy*>(policy));
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->setSizePolicy(*static_cast<QSizePolicy*>(policy));
}
}
void QGraphicsLayoutItem_UpdateGeometry(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->updateGeometry();
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->updateGeometry();
}
}
void QGraphicsLayoutItem_UpdateGeometryDefault(void* ptr)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::updateGeometry();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::updateGeometry();
} else if (dynamic_cast<QGraphicsLinearLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLinearLayout*>(ptr)->QGraphicsLinearLayout::updateGeometry();
} else if (dynamic_cast<QGraphicsGridLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsGridLayout*>(ptr)->QGraphicsGridLayout::updateGeometry();
} else if (dynamic_cast<QGraphicsAnchorLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsAnchorLayout*>(ptr)->QGraphicsAnchorLayout::updateGeometry();
} else if (dynamic_cast<QGraphicsLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLayout*>(ptr)->QGraphicsLayout::updateGeometry();
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->QGraphicsLayoutItem::updateGeometry();
}
}
void QGraphicsLayoutItem_DestroyQGraphicsLayoutItem(void* ptr)
{
static_cast<QGraphicsLayoutItem*>(ptr)->~QGraphicsLayoutItem();
}
void QGraphicsLayoutItem_DestroyQGraphicsLayoutItemDefault(void* ptr)
{
}
void* QGraphicsLayoutItem_GraphicsItem(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->graphicsItem();
} else {
return static_cast<QGraphicsLayoutItem*>(ptr)->graphicsItem();
}
}
void* QGraphicsLayoutItem_ParentLayoutItem(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->parentLayoutItem();
} else {
return static_cast<QGraphicsLayoutItem*>(ptr)->parentLayoutItem();
}
}
void* QGraphicsLayoutItem_ContentsRect(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->contentsRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsLayoutItem*>(ptr)->contentsRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsLayoutItem_Geometry(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->geometry(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsLayoutItem*>(ptr)->geometry(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsLayoutItem_EffectiveSizeHint(void* ptr, long long which, void* constraint)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSizeF tmpValue = static_cast<QGraphicsWidget*>(ptr)->effectiveSizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSizeF tmpValue = static_cast<QGraphicsLayoutItem*>(ptr)->effectiveSizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsLayoutItem_MaximumSize(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSizeF tmpValue = static_cast<QGraphicsWidget*>(ptr)->maximumSize(); new QSizeF(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSizeF tmpValue = static_cast<QGraphicsLayoutItem*>(ptr)->maximumSize(); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsLayoutItem_MinimumSize(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSizeF tmpValue = static_cast<QGraphicsWidget*>(ptr)->minimumSize(); new QSizeF(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSizeF tmpValue = static_cast<QGraphicsLayoutItem*>(ptr)->minimumSize(); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsLayoutItem_PreferredSize(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSizeF tmpValue = static_cast<QGraphicsWidget*>(ptr)->preferredSize(); new QSizeF(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSizeF tmpValue = static_cast<QGraphicsLayoutItem*>(ptr)->preferredSize(); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsLayoutItem_SizeHint(void* ptr, long long which, void* constraint)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSizeF tmpValue = static_cast<QGraphicsWidget*>(ptr)->sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSizeF tmpValue = static_cast<QGraphicsLayoutItem*>(ptr)->sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsLayoutItem_SizePolicy(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QSizePolicy(static_cast<QGraphicsWidget*>(ptr)->sizePolicy());
} else {
return new QSizePolicy(static_cast<QGraphicsLayoutItem*>(ptr)->sizePolicy());
}
}
char QGraphicsLayoutItem_IsLayout(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->isLayout();
} else {
return static_cast<QGraphicsLayoutItem*>(ptr)->isLayout();
}
}
char QGraphicsLayoutItem_OwnedByLayout(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->ownedByLayout();
} else {
return static_cast<QGraphicsLayoutItem*>(ptr)->ownedByLayout();
}
}
double QGraphicsLayoutItem_MaximumHeight(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->maximumHeight();
} else {
return static_cast<QGraphicsLayoutItem*>(ptr)->maximumHeight();
}
}
double QGraphicsLayoutItem_MaximumWidth(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->maximumWidth();
} else {
return static_cast<QGraphicsLayoutItem*>(ptr)->maximumWidth();
}
}
double QGraphicsLayoutItem_MinimumHeight(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->minimumHeight();
} else {
return static_cast<QGraphicsLayoutItem*>(ptr)->minimumHeight();
}
}
double QGraphicsLayoutItem_MinimumWidth(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->minimumWidth();
} else {
return static_cast<QGraphicsLayoutItem*>(ptr)->minimumWidth();
}
}
double QGraphicsLayoutItem_PreferredHeight(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->preferredHeight();
} else {
return static_cast<QGraphicsLayoutItem*>(ptr)->preferredHeight();
}
}
double QGraphicsLayoutItem_PreferredWidth(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->preferredWidth();
} else {
return static_cast<QGraphicsLayoutItem*>(ptr)->preferredWidth();
}
}
void QGraphicsLayoutItem_GetContentsMargins(void* ptr, double left, double top, double right, double bottom)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->getContentsMargins(&left, &top, &right, &bottom);
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->getContentsMargins(&left, &top, &right, &bottom);
}
}
void QGraphicsLayoutItem_GetContentsMarginsDefault(void* ptr, double left, double top, double right, double bottom)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::getContentsMargins(&left, &top, &right, &bottom);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::getContentsMargins(&left, &top, &right, &bottom);
} else if (dynamic_cast<QGraphicsLinearLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLinearLayout*>(ptr)->QGraphicsLinearLayout::getContentsMargins(&left, &top, &right, &bottom);
} else if (dynamic_cast<QGraphicsGridLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsGridLayout*>(ptr)->QGraphicsGridLayout::getContentsMargins(&left, &top, &right, &bottom);
} else if (dynamic_cast<QGraphicsAnchorLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsAnchorLayout*>(ptr)->QGraphicsAnchorLayout::getContentsMargins(&left, &top, &right, &bottom);
} else if (dynamic_cast<QGraphicsLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsLayout*>(ptr)->QGraphicsLayout::getContentsMargins(&left, &top, &right, &bottom);
} else {
static_cast<QGraphicsLayoutItem*>(ptr)->QGraphicsLayoutItem::getContentsMargins(&left, &top, &right, &bottom);
}
}
class MyQGraphicsLineItem: public QGraphicsLineItem
{
public:
MyQGraphicsLineItem(QGraphicsItem *parent) : QGraphicsLineItem(parent) {};
MyQGraphicsLineItem(const QLineF &line, QGraphicsItem *parent) : QGraphicsLineItem(line, parent) {};
MyQGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem *parent) : QGraphicsLineItem(x1, y1, x2, y2, parent) {};
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsLineItem_Paint(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
QPainterPath opaqueArea() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_OpaqueArea(const_cast<void*>(static_cast<const void*>(this)))); };
QPainterPath shape() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_Shape(const_cast<void*>(static_cast<const void*>(this)))); };
QRectF boundingRect() const { return *static_cast<QRectF*>(callbackQGraphicsLineItem_BoundingRect(const_cast<void*>(static_cast<const void*>(this)))); };
bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&point)) != 0; };
bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(item)) != 0; };
int type() const { return callbackQGraphicsItem_Type(const_cast<void*>(static_cast<const void*>(this))); };
QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast<QVariant*>(callbackQGraphicsItem_ItemChange(this, change, const_cast<QVariant*>(&value))); };
bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; };
bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; };
void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); };
void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); };
void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); };
void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); };
void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); };
void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); };
void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); };
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); };
void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); };
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); };
void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); };
void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); };
void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsItem_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(other), mode) != 0; };
bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPainterPath*>(&path), mode) != 0; };
};
void* QGraphicsLineItem_NewQGraphicsLineItem(void* parent)
{
return new MyQGraphicsLineItem(static_cast<QGraphicsItem*>(parent));
}
void* QGraphicsLineItem_NewQGraphicsLineItem2(void* line, void* parent)
{
return new MyQGraphicsLineItem(*static_cast<QLineF*>(line), static_cast<QGraphicsItem*>(parent));
}
void* QGraphicsLineItem_NewQGraphicsLineItem3(double x1, double y1, double x2, double y2, void* parent)
{
return new MyQGraphicsLineItem(x1, y1, x2, y2, static_cast<QGraphicsItem*>(parent));
}
void QGraphicsLineItem_Paint(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsLineItem*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsLineItem_PaintDefault(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsLineItem_SetLine(void* ptr, void* line)
{
static_cast<QGraphicsLineItem*>(ptr)->setLine(*static_cast<QLineF*>(line));
}
void QGraphicsLineItem_SetLine2(void* ptr, double x1, double y1, double x2, double y2)
{
static_cast<QGraphicsLineItem*>(ptr)->setLine(x1, y1, x2, y2);
}
void QGraphicsLineItem_SetPen(void* ptr, void* pen)
{
static_cast<QGraphicsLineItem*>(ptr)->setPen(*static_cast<QPen*>(pen));
}
void QGraphicsLineItem_DestroyQGraphicsLineItem(void* ptr)
{
static_cast<QGraphicsLineItem*>(ptr)->~QGraphicsLineItem();
}
void* QGraphicsLineItem_Line(void* ptr)
{
return ({ QLineF tmpValue = static_cast<QGraphicsLineItem*>(ptr)->line(); new QLineF(tmpValue.p1(), tmpValue.p2()); });
}
void* QGraphicsLineItem_Pen(void* ptr)
{
return new QPen(static_cast<QGraphicsLineItem*>(ptr)->pen());
}
void* QGraphicsLineItem_BoundingRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsLineItem*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsLineItem_BoundingRectDefault(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsLineItem*>(ptr)->QGraphicsLineItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
class MyQGraphicsLinearLayout: public QGraphicsLinearLayout
{
public:
MyQGraphicsLinearLayout(QGraphicsLayoutItem *parent) : QGraphicsLinearLayout(parent) {};
MyQGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem *parent) : QGraphicsLinearLayout(orientation, parent) {};
void invalidate() { callbackQGraphicsLayout_Invalidate(this); };
void removeAt(int index) { callbackQGraphicsLinearLayout_RemoveAt(this, index); };
void setGeometry(const QRectF & rect) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast<QRectF*>(&rect)); };
~MyQGraphicsLinearLayout() { callbackQGraphicsLinearLayout_DestroyQGraphicsLinearLayout(this); };
QGraphicsLayoutItem * itemAt(int index) const { return static_cast<QGraphicsLayoutItem*>(callbackQGraphicsLinearLayout_ItemAt(const_cast<void*>(static_cast<const void*>(this)), index)); };
QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint) const { return *static_cast<QSizeF*>(callbackQGraphicsLinearLayout_SizeHint(const_cast<void*>(static_cast<const void*>(this)), which, const_cast<QSizeF*>(&constraint))); };
int count() const { return callbackQGraphicsLinearLayout_Count(const_cast<void*>(static_cast<const void*>(this))); };
void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); };
void widgetEvent(QEvent * e) { callbackQGraphicsLayout_WidgetEvent(this, e); };
void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom) const { callbackQGraphicsLayoutItem_GetContentsMargins(const_cast<void*>(static_cast<const void*>(this)), *left, *top, *right, *bottom); };
};
void* QGraphicsLinearLayout_NewQGraphicsLinearLayout(void* parent)
{
return new MyQGraphicsLinearLayout(static_cast<QGraphicsLayoutItem*>(parent));
}
void* QGraphicsLinearLayout_NewQGraphicsLinearLayout2(long long orientation, void* parent)
{
return new MyQGraphicsLinearLayout(static_cast<Qt::Orientation>(orientation), static_cast<QGraphicsLayoutItem*>(parent));
}
void QGraphicsLinearLayout_AddItem(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsLinearLayout*>(ptr)->addItem(static_cast<QGraphicsWidget*>(item));
} else {
static_cast<QGraphicsLinearLayout*>(ptr)->addItem(static_cast<QGraphicsLayoutItem*>(item));
}
}
void QGraphicsLinearLayout_AddStretch(void* ptr, int stretch)
{
static_cast<QGraphicsLinearLayout*>(ptr)->addStretch(stretch);
}
void QGraphicsLinearLayout_InsertItem(void* ptr, int index, void* item)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsLinearLayout*>(ptr)->insertItem(index, static_cast<QGraphicsWidget*>(item));
} else {
static_cast<QGraphicsLinearLayout*>(ptr)->insertItem(index, static_cast<QGraphicsLayoutItem*>(item));
}
}
void QGraphicsLinearLayout_InsertStretch(void* ptr, int index, int stretch)
{
static_cast<QGraphicsLinearLayout*>(ptr)->insertStretch(index, stretch);
}
void QGraphicsLinearLayout_RemoveAt(void* ptr, int index)
{
static_cast<QGraphicsLinearLayout*>(ptr)->removeAt(index);
}
void QGraphicsLinearLayout_RemoveAtDefault(void* ptr, int index)
{
static_cast<QGraphicsLinearLayout*>(ptr)->QGraphicsLinearLayout::removeAt(index);
}
void QGraphicsLinearLayout_RemoveItem(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsLinearLayout*>(ptr)->removeItem(static_cast<QGraphicsWidget*>(item));
} else {
static_cast<QGraphicsLinearLayout*>(ptr)->removeItem(static_cast<QGraphicsLayoutItem*>(item));
}
}
void QGraphicsLinearLayout_SetAlignment(void* ptr, void* item, long long alignment)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsLinearLayout*>(ptr)->setAlignment(static_cast<QGraphicsWidget*>(item), static_cast<Qt::AlignmentFlag>(alignment));
} else {
static_cast<QGraphicsLinearLayout*>(ptr)->setAlignment(static_cast<QGraphicsLayoutItem*>(item), static_cast<Qt::AlignmentFlag>(alignment));
}
}
void QGraphicsLinearLayout_SetItemSpacing(void* ptr, int index, double spacing)
{
static_cast<QGraphicsLinearLayout*>(ptr)->setItemSpacing(index, spacing);
}
void QGraphicsLinearLayout_SetOrientation(void* ptr, long long orientation)
{
static_cast<QGraphicsLinearLayout*>(ptr)->setOrientation(static_cast<Qt::Orientation>(orientation));
}
void QGraphicsLinearLayout_SetSpacing(void* ptr, double spacing)
{
static_cast<QGraphicsLinearLayout*>(ptr)->setSpacing(spacing);
}
void QGraphicsLinearLayout_SetStretchFactor(void* ptr, void* item, int stretch)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsLinearLayout*>(ptr)->setStretchFactor(static_cast<QGraphicsWidget*>(item), stretch);
} else {
static_cast<QGraphicsLinearLayout*>(ptr)->setStretchFactor(static_cast<QGraphicsLayoutItem*>(item), stretch);
}
}
void QGraphicsLinearLayout_DestroyQGraphicsLinearLayout(void* ptr)
{
static_cast<QGraphicsLinearLayout*>(ptr)->~QGraphicsLinearLayout();
}
void QGraphicsLinearLayout_DestroyQGraphicsLinearLayoutDefault(void* ptr)
{
}
void* QGraphicsLinearLayout_ItemAt(void* ptr, int index)
{
return static_cast<QGraphicsLinearLayout*>(ptr)->itemAt(index);
}
void* QGraphicsLinearLayout_ItemAtDefault(void* ptr, int index)
{
return static_cast<QGraphicsLinearLayout*>(ptr)->QGraphicsLinearLayout::itemAt(index);
}
void* QGraphicsLinearLayout_SizeHint(void* ptr, long long which, void* constraint)
{
return ({ QSizeF tmpValue = static_cast<QGraphicsLinearLayout*>(ptr)->sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsLinearLayout_SizeHintDefault(void* ptr, long long which, void* constraint)
{
return ({ QSizeF tmpValue = static_cast<QGraphicsLinearLayout*>(ptr)->QGraphicsLinearLayout::sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
long long QGraphicsLinearLayout_Alignment(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsLinearLayout*>(ptr)->alignment(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsLinearLayout*>(ptr)->alignment(static_cast<QGraphicsLayoutItem*>(item));
}
}
long long QGraphicsLinearLayout_Orientation(void* ptr)
{
return static_cast<QGraphicsLinearLayout*>(ptr)->orientation();
}
int QGraphicsLinearLayout_Count(void* ptr)
{
return static_cast<QGraphicsLinearLayout*>(ptr)->count();
}
int QGraphicsLinearLayout_CountDefault(void* ptr)
{
return static_cast<QGraphicsLinearLayout*>(ptr)->QGraphicsLinearLayout::count();
}
int QGraphicsLinearLayout_StretchFactor(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsLinearLayout*>(ptr)->stretchFactor(static_cast<QGraphicsWidget*>(item));
} else {
return static_cast<QGraphicsLinearLayout*>(ptr)->stretchFactor(static_cast<QGraphicsLayoutItem*>(item));
}
}
double QGraphicsLinearLayout_ItemSpacing(void* ptr, int index)
{
return static_cast<QGraphicsLinearLayout*>(ptr)->itemSpacing(index);
}
double QGraphicsLinearLayout_Spacing(void* ptr)
{
return static_cast<QGraphicsLinearLayout*>(ptr)->spacing();
}
class MyQGraphicsObject: public QGraphicsObject
{
public:
MyQGraphicsObject(QGraphicsItem *parent) : QGraphicsObject(parent) {};
bool event(QEvent * ev) { return callbackQGraphicsObject_Event(this, ev) != 0; };
void Signal_EnabledChanged() { callbackQGraphicsObject_EnabledChanged(this); };
void Signal_OpacityChanged() { callbackQGraphicsObject_OpacityChanged(this); };
void Signal_ParentChanged() { callbackQGraphicsObject_ParentChanged(this); };
void Signal_RotationChanged() { callbackQGraphicsObject_RotationChanged(this); };
void Signal_ScaleChanged() { callbackQGraphicsObject_ScaleChanged(this); };
void updateMicroFocus() { callbackQGraphicsObject_UpdateMicroFocus(this); };
void Signal_VisibleChanged() { callbackQGraphicsObject_VisibleChanged(this); };
void Signal_XChanged() { callbackQGraphicsObject_XChanged(this); };
void Signal_YChanged() { callbackQGraphicsObject_YChanged(this); };
void Signal_ZChanged() { callbackQGraphicsObject_ZChanged(this); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsObject_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGraphicsObject_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGraphicsObject_CustomEvent(this, event); };
void deleteLater() { callbackQGraphicsObject_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGraphicsObject_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGraphicsObject_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGraphicsObject_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGraphicsObject_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast<QVariant*>(callbackQGraphicsItem_ItemChange(this, change, const_cast<QVariant*>(&value))); };
bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; };
bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; };
void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); };
void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); };
void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); };
void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); };
void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); };
void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); };
void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); };
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); };
void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); };
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); };
void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); };
void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); };
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsObject_Paint(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); };
QPainterPath opaqueArea() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_OpaqueArea(const_cast<void*>(static_cast<const void*>(this)))); };
QPainterPath shape() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_Shape(const_cast<void*>(static_cast<const void*>(this)))); };
QRectF boundingRect() const { return *static_cast<QRectF*>(callbackQGraphicsObject_BoundingRect(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsItem_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(other), mode) != 0; };
bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPainterPath*>(&path), mode) != 0; };
bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&point)) != 0; };
bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(item)) != 0; };
int type() const { return callbackQGraphicsItem_Type(const_cast<void*>(static_cast<const void*>(this))); };
};
void* QGraphicsObject_NewQGraphicsObject(void* parent)
{
return new MyQGraphicsObject(static_cast<QGraphicsItem*>(parent));
}
char QGraphicsObject_Event(void* ptr, void* ev)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->event(static_cast<QEvent*>(ev));
} else {
return static_cast<QGraphicsObject*>(ptr)->event(static_cast<QEvent*>(ev));
}
}
char QGraphicsObject_EventDefault(void* ptr, void* ev)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::event(static_cast<QEvent*>(ev));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::event(static_cast<QEvent*>(ev));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::event(static_cast<QEvent*>(ev));
} else {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::event(static_cast<QEvent*>(ev));
}
}
void QGraphicsObject_ConnectEnabledChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::enabledChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_EnabledChanged));
}
void QGraphicsObject_DisconnectEnabledChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::enabledChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_EnabledChanged));
}
void QGraphicsObject_EnabledChanged(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->enabledChanged();
} else {
static_cast<QGraphicsObject*>(ptr)->enabledChanged();
}
}
void QGraphicsObject_GrabGesture(void* ptr, long long gesture, long long flags)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->grabGesture(static_cast<Qt::GestureType>(gesture), static_cast<Qt::GestureFlag>(flags));
} else {
static_cast<QGraphicsObject*>(ptr)->grabGesture(static_cast<Qt::GestureType>(gesture), static_cast<Qt::GestureFlag>(flags));
}
}
void QGraphicsObject_ConnectOpacityChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::opacityChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_OpacityChanged));
}
void QGraphicsObject_DisconnectOpacityChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::opacityChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_OpacityChanged));
}
void QGraphicsObject_OpacityChanged(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->opacityChanged();
} else {
static_cast<QGraphicsObject*>(ptr)->opacityChanged();
}
}
void QGraphicsObject_ConnectParentChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::parentChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_ParentChanged));
}
void QGraphicsObject_DisconnectParentChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::parentChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_ParentChanged));
}
void QGraphicsObject_ParentChanged(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->parentChanged();
} else {
static_cast<QGraphicsObject*>(ptr)->parentChanged();
}
}
void QGraphicsObject_ConnectRotationChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::rotationChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_RotationChanged));
}
void QGraphicsObject_DisconnectRotationChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::rotationChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_RotationChanged));
}
void QGraphicsObject_RotationChanged(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->rotationChanged();
} else {
static_cast<QGraphicsObject*>(ptr)->rotationChanged();
}
}
void QGraphicsObject_ConnectScaleChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::scaleChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_ScaleChanged));
}
void QGraphicsObject_DisconnectScaleChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::scaleChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_ScaleChanged));
}
void QGraphicsObject_ScaleChanged(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->scaleChanged();
} else {
static_cast<QGraphicsObject*>(ptr)->scaleChanged();
}
}
void QGraphicsObject_UngrabGesture(void* ptr, long long gesture)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->ungrabGesture(static_cast<Qt::GestureType>(gesture));
} else {
static_cast<QGraphicsObject*>(ptr)->ungrabGesture(static_cast<Qt::GestureType>(gesture));
}
}
void QGraphicsObject_UpdateMicroFocus(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
QMetaObject::invokeMethod(static_cast<QGraphicsWidget*>(ptr), "updateMicroFocus");
} else {
QMetaObject::invokeMethod(static_cast<QGraphicsObject*>(ptr), "updateMicroFocus");
}
}
void QGraphicsObject_UpdateMicroFocusDefault(void* ptr)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::updateMicroFocus();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::updateMicroFocus();
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::updateMicroFocus();
} else {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::updateMicroFocus();
}
}
void QGraphicsObject_ConnectVisibleChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::visibleChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_VisibleChanged));
}
void QGraphicsObject_DisconnectVisibleChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::visibleChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_VisibleChanged));
}
void QGraphicsObject_VisibleChanged(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->visibleChanged();
} else {
static_cast<QGraphicsObject*>(ptr)->visibleChanged();
}
}
void QGraphicsObject_ConnectXChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::xChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_XChanged));
}
void QGraphicsObject_DisconnectXChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::xChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_XChanged));
}
void QGraphicsObject_XChanged(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->xChanged();
} else {
static_cast<QGraphicsObject*>(ptr)->xChanged();
}
}
void QGraphicsObject_ConnectYChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::yChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_YChanged));
}
void QGraphicsObject_DisconnectYChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::yChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_YChanged));
}
void QGraphicsObject_YChanged(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->yChanged();
} else {
static_cast<QGraphicsObject*>(ptr)->yChanged();
}
}
void QGraphicsObject_ConnectZChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::zChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_ZChanged));
}
void QGraphicsObject_DisconnectZChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsObject*>(ptr), static_cast<void (QGraphicsObject::*)()>(&QGraphicsObject::zChanged), static_cast<MyQGraphicsObject*>(ptr), static_cast<void (MyQGraphicsObject::*)()>(&MyQGraphicsObject::Signal_ZChanged));
}
void QGraphicsObject_ZChanged(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->zChanged();
} else {
static_cast<QGraphicsObject*>(ptr)->zChanged();
}
}
void QGraphicsObject_DestroyQGraphicsObject(void* ptr)
{
static_cast<QGraphicsObject*>(ptr)->~QGraphicsObject();
}
void* QGraphicsObject_GraphicsEffect(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->graphicsEffect();
} else {
return static_cast<QGraphicsObject*>(ptr)->graphicsEffect();
}
}
void QGraphicsObject_SetGraphicsEffect(void* ptr, void* effect)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setGraphicsEffect(static_cast<QGraphicsEffect*>(effect));
} else {
static_cast<QGraphicsObject*>(ptr)->setGraphicsEffect(static_cast<QGraphicsEffect*>(effect));
}
}
char QGraphicsObject_IsEnabled(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->isEnabled();
} else {
return static_cast<QGraphicsObject*>(ptr)->isEnabled();
}
}
void QGraphicsObject_SetEnabled(void* ptr, char enabled)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setEnabled(enabled != 0);
} else {
static_cast<QGraphicsObject*>(ptr)->setEnabled(enabled != 0);
}
}
double QGraphicsObject_Opacity(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->opacity();
} else {
return static_cast<QGraphicsObject*>(ptr)->opacity();
}
}
void QGraphicsObject_SetOpacity(void* ptr, double opacity)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setOpacity(opacity);
} else {
static_cast<QGraphicsObject*>(ptr)->setOpacity(opacity);
}
}
void* QGraphicsObject_Parent(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->parent();
} else {
return static_cast<QGraphicsObject*>(ptr)->parent();
}
}
void QGraphicsObject_SetParent(void* ptr, void* parent)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(parent))) {
static_cast<QGraphicsWidget*>(ptr)->setParent(static_cast<QGraphicsWidget*>(parent));
} else {
static_cast<QGraphicsWidget*>(ptr)->setParent(static_cast<QGraphicsObject*>(parent));
}
} else {
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(parent))) {
static_cast<QGraphicsObject*>(ptr)->setParent(static_cast<QGraphicsWidget*>(parent));
} else {
static_cast<QGraphicsObject*>(ptr)->setParent(static_cast<QGraphicsObject*>(parent));
}
}
}
void* QGraphicsObject_Pos(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
void QGraphicsObject_SetPos(void* ptr, void* pos)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setPos(*static_cast<QPointF*>(pos));
} else {
static_cast<QGraphicsObject*>(ptr)->setPos(*static_cast<QPointF*>(pos));
}
}
double QGraphicsObject_Rotation(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->rotation();
} else {
return static_cast<QGraphicsObject*>(ptr)->rotation();
}
}
void QGraphicsObject_SetRotation(void* ptr, double rotation)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setRotation(rotation);
} else {
static_cast<QGraphicsObject*>(ptr)->setRotation(rotation);
}
}
double QGraphicsObject_Scale(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->scale();
} else {
return static_cast<QGraphicsObject*>(ptr)->scale();
}
}
void QGraphicsObject_SetScale(void* ptr, double scale)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setScale(scale);
} else {
static_cast<QGraphicsObject*>(ptr)->setScale(scale);
}
}
void* QGraphicsObject_TransformOriginPoint(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QPointF tmpValue = static_cast<QGraphicsWidget*>(ptr)->transformOriginPoint(); new QPointF(tmpValue.x(), tmpValue.y()); });
} else {
return ({ QPointF tmpValue = static_cast<QGraphicsObject*>(ptr)->transformOriginPoint(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
}
void QGraphicsObject_SetTransformOriginPoint(void* ptr, void* transformOriginPoint)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setTransformOriginPoint(*static_cast<QPointF*>(transformOriginPoint));
} else {
static_cast<QGraphicsObject*>(ptr)->setTransformOriginPoint(*static_cast<QPointF*>(transformOriginPoint));
}
}
char QGraphicsObject_IsVisible(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->isVisible();
} else {
return static_cast<QGraphicsObject*>(ptr)->isVisible();
}
}
void QGraphicsObject_SetVisible(void* ptr, char visible)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setVisible(visible != 0);
} else {
static_cast<QGraphicsObject*>(ptr)->setVisible(visible != 0);
}
}
double QGraphicsObject_X(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->x();
} else {
return static_cast<QGraphicsObject*>(ptr)->x();
}
}
void QGraphicsObject_SetX(void* ptr, double x)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setX(x);
} else {
static_cast<QGraphicsObject*>(ptr)->setX(x);
}
}
double QGraphicsObject_Y(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->y();
} else {
return static_cast<QGraphicsObject*>(ptr)->y();
}
}
void QGraphicsObject_SetY(void* ptr, double y)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setY(y);
} else {
static_cast<QGraphicsObject*>(ptr)->setY(y);
}
}
double QGraphicsObject_ZValue(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsWidget*>(ptr)->zValue();
} else {
return static_cast<QGraphicsObject*>(ptr)->zValue();
}
}
void QGraphicsObject_SetZValue(void* ptr, double z)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->setZValue(z);
} else {
static_cast<QGraphicsObject*>(ptr)->setZValue(z);
}
}
void* QGraphicsObject___dynamicPropertyNames_atList(void* ptr, int i)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
} else {
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
}
void QGraphicsObject___dynamicPropertyNames_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
} else {
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
}
void* QGraphicsObject___dynamicPropertyNames_newList(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QList<QByteArray>;
} else {
return new QList<QByteArray>;
}
}
void* QGraphicsObject___findChildren_atList2(void* ptr, int i)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
} else {
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
}
void QGraphicsObject___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
}
void* QGraphicsObject___findChildren_newList2(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QList<QObject*>;
} else {
return new QList<QObject*>;
}
}
void* QGraphicsObject___findChildren_atList3(void* ptr, int i)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
} else {
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
}
void QGraphicsObject___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
}
void* QGraphicsObject___findChildren_newList3(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QList<QObject*>;
} else {
return new QList<QObject*>;
}
}
void* QGraphicsObject___findChildren_atList(void* ptr, int i)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
} else {
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
}
void QGraphicsObject___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
}
void* QGraphicsObject___findChildren_newList(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QList<QObject*>;
} else {
return new QList<QObject*>;
}
}
void* QGraphicsObject___children_atList(void* ptr, int i)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
} else {
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
}
void QGraphicsObject___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
}
void* QGraphicsObject___children_newList(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return new QList<QObject *>;
} else {
return new QList<QObject *>;
}
}
char QGraphicsObject_EventFilter(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsWidget*>(ptr)->eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsWidget*>(ptr)->eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsWidget*>(ptr)->eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsWidget*>(ptr)->eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsWidget*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsObject*>(ptr)->eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsObject*>(ptr)->eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsObject*>(ptr)->eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsObject*>(ptr)->eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsObject*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
}
char QGraphicsObject_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
}
void QGraphicsObject_ChildEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->childEvent(static_cast<QChildEvent*>(event));
} else {
static_cast<QGraphicsObject*>(ptr)->childEvent(static_cast<QChildEvent*>(event));
}
}
void QGraphicsObject_ChildEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::childEvent(static_cast<QChildEvent*>(event));
} else {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::childEvent(static_cast<QChildEvent*>(event));
}
}
void QGraphicsObject_ConnectNotify(void* ptr, void* sign)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QGraphicsObject*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QGraphicsObject_ConnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::connectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::connectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QGraphicsObject_CustomEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->customEvent(static_cast<QEvent*>(event));
} else {
static_cast<QGraphicsObject*>(ptr)->customEvent(static_cast<QEvent*>(event));
}
}
void QGraphicsObject_CustomEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::customEvent(static_cast<QEvent*>(event));
} else {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::customEvent(static_cast<QEvent*>(event));
}
}
void QGraphicsObject_DeleteLater(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
QMetaObject::invokeMethod(static_cast<QGraphicsWidget*>(ptr), "deleteLater");
} else {
QMetaObject::invokeMethod(static_cast<QGraphicsObject*>(ptr), "deleteLater");
}
}
void QGraphicsObject_DeleteLaterDefault(void* ptr)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::deleteLater();
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::deleteLater();
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::deleteLater();
} else {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::deleteLater();
}
}
void QGraphicsObject_DisconnectNotify(void* ptr, void* sign)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QGraphicsObject*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QGraphicsObject_DisconnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QGraphicsObject_TimerEvent(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event));
} else {
static_cast<QGraphicsObject*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event));
}
}
void QGraphicsObject_TimerEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::timerEvent(static_cast<QTimerEvent*>(event));
} else {
static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::timerEvent(static_cast<QTimerEvent*>(event));
}
}
void* QGraphicsObject_MetaObject(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QGraphicsWidget*>(ptr)->metaObject());
} else {
return const_cast<QMetaObject*>(static_cast<QGraphicsObject*>(ptr)->metaObject());
}
}
void* QGraphicsObject_MetaObjectDefault(void* ptr)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::metaObject());
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::metaObject());
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::metaObject());
} else {
return const_cast<QMetaObject*>(static_cast<QGraphicsObject*>(ptr)->QGraphicsObject::metaObject());
}
}
void QGraphicsObject_Paint(void* ptr, void* painter, void* option, void* widget)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
} else {
}
}
void QGraphicsObject_PaintDefault(void* ptr, void* painter, void* option, void* widget)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
} else {
}
}
void* QGraphicsObject_BoundingRect(void* ptr)
{
if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
}
}
void* QGraphicsObject_BoundingRectDefault(void* ptr)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsTextItem*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
}
}
class MyQGraphicsOpacityEffect: public QGraphicsOpacityEffect
{
public:
MyQGraphicsOpacityEffect(QObject *parent) : QGraphicsOpacityEffect(parent) {};
void draw(QPainter * painter) { callbackQGraphicsOpacityEffect_Draw(this, painter); };
void Signal_OpacityChanged(qreal opacity) { callbackQGraphicsOpacityEffect_OpacityChanged(this, opacity); };
void Signal_OpacityMaskChanged(const QBrush & mask) { callbackQGraphicsOpacityEffect_OpacityMaskChanged(this, const_cast<QBrush*>(&mask)); };
void setOpacity(qreal opacity) { callbackQGraphicsOpacityEffect_SetOpacity(this, opacity); };
void setOpacityMask(const QBrush & mask) { callbackQGraphicsOpacityEffect_SetOpacityMask(this, const_cast<QBrush*>(&mask)); };
void Signal_EnabledChanged(bool enabled) { callbackQGraphicsEffect_EnabledChanged(this, enabled); };
void setEnabled(bool enable) { callbackQGraphicsEffect_SetEnabled(this, enable); };
void sourceChanged(QGraphicsEffect::ChangeFlags flags) { callbackQGraphicsEffect_SourceChanged(this, flags); };
void update() { callbackQGraphicsEffect_Update(this); };
QRectF boundingRectFor(const QRectF & rect) const { return *static_cast<QRectF*>(callbackQGraphicsEffect_BoundingRectFor(const_cast<void*>(static_cast<const void*>(this)), const_cast<QRectF*>(&rect))); };
bool event(QEvent * e) { return callbackQGraphicsEffect_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsEffect_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGraphicsEffect_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGraphicsEffect_CustomEvent(this, event); };
void deleteLater() { callbackQGraphicsEffect_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGraphicsEffect_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGraphicsEffect_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGraphicsEffect_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGraphicsEffect_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QGraphicsOpacityEffect_NewQGraphicsOpacityEffect(void* parent)
{
return new MyQGraphicsOpacityEffect(static_cast<QObject*>(parent));
}
void QGraphicsOpacityEffect_Draw(void* ptr, void* painter)
{
static_cast<QGraphicsOpacityEffect*>(ptr)->draw(static_cast<QPainter*>(painter));
}
void QGraphicsOpacityEffect_DrawDefault(void* ptr, void* painter)
{
static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::draw(static_cast<QPainter*>(painter));
}
void QGraphicsOpacityEffect_ConnectOpacityChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsOpacityEffect*>(ptr), static_cast<void (QGraphicsOpacityEffect::*)(qreal)>(&QGraphicsOpacityEffect::opacityChanged), static_cast<MyQGraphicsOpacityEffect*>(ptr), static_cast<void (MyQGraphicsOpacityEffect::*)(qreal)>(&MyQGraphicsOpacityEffect::Signal_OpacityChanged));
}
void QGraphicsOpacityEffect_DisconnectOpacityChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsOpacityEffect*>(ptr), static_cast<void (QGraphicsOpacityEffect::*)(qreal)>(&QGraphicsOpacityEffect::opacityChanged), static_cast<MyQGraphicsOpacityEffect*>(ptr), static_cast<void (MyQGraphicsOpacityEffect::*)(qreal)>(&MyQGraphicsOpacityEffect::Signal_OpacityChanged));
}
void QGraphicsOpacityEffect_OpacityChanged(void* ptr, double opacity)
{
static_cast<QGraphicsOpacityEffect*>(ptr)->opacityChanged(opacity);
}
void QGraphicsOpacityEffect_ConnectOpacityMaskChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsOpacityEffect*>(ptr), static_cast<void (QGraphicsOpacityEffect::*)(const QBrush &)>(&QGraphicsOpacityEffect::opacityMaskChanged), static_cast<MyQGraphicsOpacityEffect*>(ptr), static_cast<void (MyQGraphicsOpacityEffect::*)(const QBrush &)>(&MyQGraphicsOpacityEffect::Signal_OpacityMaskChanged));
}
void QGraphicsOpacityEffect_DisconnectOpacityMaskChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsOpacityEffect*>(ptr), static_cast<void (QGraphicsOpacityEffect::*)(const QBrush &)>(&QGraphicsOpacityEffect::opacityMaskChanged), static_cast<MyQGraphicsOpacityEffect*>(ptr), static_cast<void (MyQGraphicsOpacityEffect::*)(const QBrush &)>(&MyQGraphicsOpacityEffect::Signal_OpacityMaskChanged));
}
void QGraphicsOpacityEffect_OpacityMaskChanged(void* ptr, void* mask)
{
static_cast<QGraphicsOpacityEffect*>(ptr)->opacityMaskChanged(*static_cast<QBrush*>(mask));
}
void QGraphicsOpacityEffect_SetOpacity(void* ptr, double opacity)
{
QMetaObject::invokeMethod(static_cast<QGraphicsOpacityEffect*>(ptr), "setOpacity", Q_ARG(qreal, opacity));
}
void QGraphicsOpacityEffect_SetOpacityDefault(void* ptr, double opacity)
{
static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::setOpacity(opacity);
}
void QGraphicsOpacityEffect_SetOpacityMask(void* ptr, void* mask)
{
QMetaObject::invokeMethod(static_cast<QGraphicsOpacityEffect*>(ptr), "setOpacityMask", Q_ARG(QBrush, *static_cast<QBrush*>(mask)));
}
void QGraphicsOpacityEffect_SetOpacityMaskDefault(void* ptr, void* mask)
{
static_cast<QGraphicsOpacityEffect*>(ptr)->QGraphicsOpacityEffect::setOpacityMask(*static_cast<QBrush*>(mask));
}
void QGraphicsOpacityEffect_DestroyQGraphicsOpacityEffect(void* ptr)
{
static_cast<QGraphicsOpacityEffect*>(ptr)->~QGraphicsOpacityEffect();
}
void* QGraphicsOpacityEffect_OpacityMask(void* ptr)
{
return new QBrush(static_cast<QGraphicsOpacityEffect*>(ptr)->opacityMask());
}
double QGraphicsOpacityEffect_Opacity(void* ptr)
{
return static_cast<QGraphicsOpacityEffect*>(ptr)->opacity();
}
class MyQGraphicsPathItem: public QGraphicsPathItem
{
public:
MyQGraphicsPathItem(QGraphicsItem *parent) : QGraphicsPathItem(parent) {};
MyQGraphicsPathItem(const QPainterPath &path, QGraphicsItem *parent) : QGraphicsPathItem(path, parent) {};
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsPathItem_Paint(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
QPainterPath opaqueArea() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_OpaqueArea(const_cast<void*>(static_cast<const void*>(this)))); };
QPainterPath shape() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_Shape(const_cast<void*>(static_cast<const void*>(this)))); };
QRectF boundingRect() const { return *static_cast<QRectF*>(callbackQGraphicsPathItem_BoundingRect(const_cast<void*>(static_cast<const void*>(this)))); };
bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&point)) != 0; };
bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(item)) != 0; };
int type() const { return callbackQGraphicsItem_Type(const_cast<void*>(static_cast<const void*>(this))); };
QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast<QVariant*>(callbackQGraphicsItem_ItemChange(this, change, const_cast<QVariant*>(&value))); };
bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; };
bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; };
void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); };
void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); };
void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); };
void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); };
void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); };
void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); };
void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); };
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); };
void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); };
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); };
void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); };
void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); };
void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsItem_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(other), mode) != 0; };
bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPainterPath*>(&path), mode) != 0; };
};
void* QGraphicsPathItem_NewQGraphicsPathItem(void* parent)
{
return new MyQGraphicsPathItem(static_cast<QGraphicsItem*>(parent));
}
void* QGraphicsPathItem_NewQGraphicsPathItem2(void* path, void* parent)
{
return new MyQGraphicsPathItem(*static_cast<QPainterPath*>(path), static_cast<QGraphicsItem*>(parent));
}
void QGraphicsPathItem_Paint(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsPathItem*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsPathItem_PaintDefault(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsPathItem_SetPath(void* ptr, void* path)
{
static_cast<QGraphicsPathItem*>(ptr)->setPath(*static_cast<QPainterPath*>(path));
}
void QGraphicsPathItem_DestroyQGraphicsPathItem(void* ptr)
{
static_cast<QGraphicsPathItem*>(ptr)->~QGraphicsPathItem();
}
void* QGraphicsPathItem_Path(void* ptr)
{
return new QPainterPath(static_cast<QGraphicsPathItem*>(ptr)->path());
}
void* QGraphicsPathItem_BoundingRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsPathItem*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsPathItem_BoundingRectDefault(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsPathItem*>(ptr)->QGraphicsPathItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
class MyQGraphicsPixmapItem: public QGraphicsPixmapItem
{
public:
MyQGraphicsPixmapItem(QGraphicsItem *parent) : QGraphicsPixmapItem(parent) {};
MyQGraphicsPixmapItem(const QPixmap &pixmap, QGraphicsItem *parent) : QGraphicsPixmapItem(pixmap, parent) {};
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsPixmapItem_Paint(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
QPainterPath opaqueArea() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_OpaqueArea(const_cast<void*>(static_cast<const void*>(this)))); };
QPainterPath shape() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_Shape(const_cast<void*>(static_cast<const void*>(this)))); };
QRectF boundingRect() const { return *static_cast<QRectF*>(callbackQGraphicsPixmapItem_BoundingRect(const_cast<void*>(static_cast<const void*>(this)))); };
bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&point)) != 0; };
bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(item)) != 0; };
int type() const { return callbackQGraphicsItem_Type(const_cast<void*>(static_cast<const void*>(this))); };
QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast<QVariant*>(callbackQGraphicsItem_ItemChange(this, change, const_cast<QVariant*>(&value))); };
bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; };
bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; };
void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); };
void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); };
void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); };
void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); };
void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); };
void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); };
void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); };
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); };
void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); };
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); };
void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); };
void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); };
void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsItem_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(other), mode) != 0; };
bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPainterPath*>(&path), mode) != 0; };
};
void* QGraphicsPixmapItem_NewQGraphicsPixmapItem(void* parent)
{
return new MyQGraphicsPixmapItem(static_cast<QGraphicsItem*>(parent));
}
void* QGraphicsPixmapItem_NewQGraphicsPixmapItem2(void* pixmap, void* parent)
{
return new MyQGraphicsPixmapItem(*static_cast<QPixmap*>(pixmap), static_cast<QGraphicsItem*>(parent));
}
void QGraphicsPixmapItem_Paint(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsPixmapItem*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsPixmapItem_PaintDefault(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsPixmapItem_SetOffset(void* ptr, void* offset)
{
static_cast<QGraphicsPixmapItem*>(ptr)->setOffset(*static_cast<QPointF*>(offset));
}
void QGraphicsPixmapItem_SetOffset2(void* ptr, double x, double y)
{
static_cast<QGraphicsPixmapItem*>(ptr)->setOffset(x, y);
}
void QGraphicsPixmapItem_SetPixmap(void* ptr, void* pixmap)
{
static_cast<QGraphicsPixmapItem*>(ptr)->setPixmap(*static_cast<QPixmap*>(pixmap));
}
void QGraphicsPixmapItem_SetShapeMode(void* ptr, long long mode)
{
static_cast<QGraphicsPixmapItem*>(ptr)->setShapeMode(static_cast<QGraphicsPixmapItem::ShapeMode>(mode));
}
void QGraphicsPixmapItem_SetTransformationMode(void* ptr, long long mode)
{
static_cast<QGraphicsPixmapItem*>(ptr)->setTransformationMode(static_cast<Qt::TransformationMode>(mode));
}
void QGraphicsPixmapItem_DestroyQGraphicsPixmapItem(void* ptr)
{
static_cast<QGraphicsPixmapItem*>(ptr)->~QGraphicsPixmapItem();
}
void* QGraphicsPixmapItem_Pixmap(void* ptr)
{
return new QPixmap(static_cast<QGraphicsPixmapItem*>(ptr)->pixmap());
}
void* QGraphicsPixmapItem_Offset(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsPixmapItem*>(ptr)->offset(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsPixmapItem_BoundingRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsPixmapItem*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsPixmapItem_BoundingRectDefault(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsPixmapItem*>(ptr)->QGraphicsPixmapItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
long long QGraphicsPixmapItem_TransformationMode(void* ptr)
{
return static_cast<QGraphicsPixmapItem*>(ptr)->transformationMode();
}
long long QGraphicsPixmapItem_ShapeMode(void* ptr)
{
return static_cast<QGraphicsPixmapItem*>(ptr)->shapeMode();
}
class MyQGraphicsPolygonItem: public QGraphicsPolygonItem
{
public:
MyQGraphicsPolygonItem(QGraphicsItem *parent) : QGraphicsPolygonItem(parent) {};
MyQGraphicsPolygonItem(const QPolygonF &polygon, QGraphicsItem *parent) : QGraphicsPolygonItem(polygon, parent) {};
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsPolygonItem_Paint(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
QPainterPath opaqueArea() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_OpaqueArea(const_cast<void*>(static_cast<const void*>(this)))); };
QPainterPath shape() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_Shape(const_cast<void*>(static_cast<const void*>(this)))); };
QRectF boundingRect() const { return *static_cast<QRectF*>(callbackQGraphicsPolygonItem_BoundingRect(const_cast<void*>(static_cast<const void*>(this)))); };
bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&point)) != 0; };
bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(item)) != 0; };
int type() const { return callbackQGraphicsItem_Type(const_cast<void*>(static_cast<const void*>(this))); };
QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast<QVariant*>(callbackQGraphicsItem_ItemChange(this, change, const_cast<QVariant*>(&value))); };
bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; };
bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; };
void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); };
void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); };
void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); };
void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); };
void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); };
void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); };
void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); };
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); };
void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); };
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); };
void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); };
void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); };
void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsItem_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(other), mode) != 0; };
bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPainterPath*>(&path), mode) != 0; };
};
void* QGraphicsPolygonItem_NewQGraphicsPolygonItem(void* parent)
{
return new MyQGraphicsPolygonItem(static_cast<QGraphicsItem*>(parent));
}
void* QGraphicsPolygonItem_NewQGraphicsPolygonItem2(void* polygon, void* parent)
{
return new MyQGraphicsPolygonItem(*static_cast<QPolygonF*>(polygon), static_cast<QGraphicsItem*>(parent));
}
void QGraphicsPolygonItem_Paint(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsPolygonItem*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsPolygonItem_PaintDefault(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsPolygonItem_SetFillRule(void* ptr, long long rule)
{
static_cast<QGraphicsPolygonItem*>(ptr)->setFillRule(static_cast<Qt::FillRule>(rule));
}
void QGraphicsPolygonItem_SetPolygon(void* ptr, void* polygon)
{
static_cast<QGraphicsPolygonItem*>(ptr)->setPolygon(*static_cast<QPolygonF*>(polygon));
}
void QGraphicsPolygonItem_DestroyQGraphicsPolygonItem(void* ptr)
{
static_cast<QGraphicsPolygonItem*>(ptr)->~QGraphicsPolygonItem();
}
void* QGraphicsPolygonItem_Polygon(void* ptr)
{
return new QPolygonF(static_cast<QGraphicsPolygonItem*>(ptr)->polygon());
}
void* QGraphicsPolygonItem_BoundingRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsPolygonItem*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsPolygonItem_BoundingRectDefault(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsPolygonItem*>(ptr)->QGraphicsPolygonItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
long long QGraphicsPolygonItem_FillRule(void* ptr)
{
return static_cast<QGraphicsPolygonItem*>(ptr)->fillRule();
}
class MyQGraphicsProxyWidget: public QGraphicsProxyWidget
{
public:
MyQGraphicsProxyWidget(QGraphicsItem *parent, Qt::WindowFlags wFlags) : QGraphicsProxyWidget(parent, wFlags) {};
QGraphicsProxyWidget * newProxyWidget(const QWidget * child) { return static_cast<QGraphicsProxyWidget*>(callbackQGraphicsProxyWidget_NewProxyWidget(this, const_cast<QWidget*>(child))); };
QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast<QVariant*>(callbackQGraphicsItem_ItemChange(this, change, const_cast<QVariant*>(&value))); };
bool event(QEvent * event) { return callbackQGraphicsObject_Event(this, event) != 0; };
bool eventFilter(QObject * object, QEvent * event) { return callbackQGraphicsObject_EventFilter(this, object, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQGraphicsWidget_FocusNextPrevChild(this, next) != 0; };
void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); };
void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); };
void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); };
void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); };
void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); };
void grabMouseEvent(QEvent * event) { callbackQGraphicsWidget_GrabMouseEvent(this, event); };
void hideEvent(QHideEvent * event) { callbackQGraphicsWidget_HideEvent(this, event); };
void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); };
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); };
void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); };
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); };
void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); };
void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); };
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsWidget_Paint(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
void resizeEvent(QGraphicsSceneResizeEvent * event) { callbackQGraphicsWidget_ResizeEvent(this, event); };
void setGeometry(const QRectF & rect) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast<QRectF*>(&rect)); };
void showEvent(QShowEvent * event) { callbackQGraphicsWidget_ShowEvent(this, event); };
void ungrabMouseEvent(QEvent * event) { callbackQGraphicsWidget_UngrabMouseEvent(this, event); };
void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); };
QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint) const { return *static_cast<QSizeF*>(callbackQGraphicsWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)), which, const_cast<QSizeF*>(&constraint))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsItem_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
int type() const { return callbackQGraphicsItem_Type(const_cast<void*>(static_cast<const void*>(this))); };
bool close() { return callbackQGraphicsWidget_Close(this) != 0; };
bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; };
bool windowFrameEvent(QEvent * event) { return callbackQGraphicsWidget_WindowFrameEvent(this, event) != 0; };
void changeEvent(QEvent * event) { callbackQGraphicsWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQGraphicsWidget_CloseEvent(this, event); };
void Signal_GeometryChanged() { callbackQGraphicsWidget_GeometryChanged(this); };
void grabKeyboardEvent(QEvent * event) { callbackQGraphicsWidget_GrabKeyboardEvent(this, event); };
void moveEvent(QGraphicsSceneMoveEvent * event) { callbackQGraphicsWidget_MoveEvent(this, event); };
void paintWindowFrame(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsWidget_PaintWindowFrame(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
void polishEvent() { callbackQGraphicsWidget_PolishEvent(this); };
void ungrabKeyboardEvent(QEvent * event) { callbackQGraphicsWidget_UngrabKeyboardEvent(this, event); };
void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); };
QPainterPath shape() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_Shape(const_cast<void*>(static_cast<const void*>(this)))); };
QRectF boundingRect() const { return *static_cast<QRectF*>(callbackQGraphicsWidget_BoundingRect(const_cast<void*>(static_cast<const void*>(this)))); };
Qt::WindowFrameSection windowFrameSectionAt(const QPointF & pos) const { return static_cast<Qt::WindowFrameSection>(callbackQGraphicsWidget_WindowFrameSectionAt(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&pos))); };
void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom) const { callbackQGraphicsLayoutItem_GetContentsMargins(const_cast<void*>(static_cast<const void*>(this)), *left, *top, *right, *bottom); };
void initStyleOption(QStyleOption * option) const { callbackQGraphicsWidget_InitStyleOption(const_cast<void*>(static_cast<const void*>(this)), option); };
void Signal_EnabledChanged() { callbackQGraphicsObject_EnabledChanged(this); };
void Signal_OpacityChanged() { callbackQGraphicsObject_OpacityChanged(this); };
void Signal_ParentChanged() { callbackQGraphicsObject_ParentChanged(this); };
void Signal_RotationChanged() { callbackQGraphicsObject_RotationChanged(this); };
void Signal_ScaleChanged() { callbackQGraphicsObject_ScaleChanged(this); };
void updateMicroFocus() { callbackQGraphicsObject_UpdateMicroFocus(this); };
void Signal_VisibleChanged() { callbackQGraphicsObject_VisibleChanged(this); };
void Signal_XChanged() { callbackQGraphicsObject_XChanged(this); };
void Signal_YChanged() { callbackQGraphicsObject_YChanged(this); };
void Signal_ZChanged() { callbackQGraphicsObject_ZChanged(this); };
void childEvent(QChildEvent * event) { callbackQGraphicsObject_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGraphicsObject_CustomEvent(this, event); };
void deleteLater() { callbackQGraphicsObject_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGraphicsObject_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGraphicsObject_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGraphicsObject_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGraphicsObject_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; };
void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); };
QPainterPath opaqueArea() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_OpaqueArea(const_cast<void*>(static_cast<const void*>(this)))); };
bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(other), mode) != 0; };
bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPainterPath*>(&path), mode) != 0; };
bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&point)) != 0; };
bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(item)) != 0; };
};
void* QGraphicsProxyWidget_CreateProxyForChildWidget(void* ptr, void* child)
{
return static_cast<QGraphicsProxyWidget*>(ptr)->createProxyForChildWidget(static_cast<QWidget*>(child));
}
void* QGraphicsProxyWidget_NewProxyWidget(void* ptr, void* child)
{
QGraphicsProxyWidget* returnArg;
QMetaObject::invokeMethod(static_cast<QGraphicsProxyWidget*>(ptr), "newProxyWidget", Q_RETURN_ARG(QGraphicsProxyWidget*, returnArg), Q_ARG(QWidget*, static_cast<QWidget*>(child)));
return returnArg;
}
void* QGraphicsProxyWidget_NewProxyWidgetDefault(void* ptr, void* child)
{
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::newProxyWidget(static_cast<QWidget*>(child));
}
void* QGraphicsProxyWidget_NewQGraphicsProxyWidget(void* parent, long long wFlags)
{
return new MyQGraphicsProxyWidget(static_cast<QGraphicsItem*>(parent), static_cast<Qt::WindowType>(wFlags));
}
void QGraphicsProxyWidget_SetWidget(void* ptr, void* widget)
{
static_cast<QGraphicsProxyWidget*>(ptr)->setWidget(static_cast<QWidget*>(widget));
}
void QGraphicsProxyWidget_DestroyQGraphicsProxyWidget(void* ptr)
{
static_cast<QGraphicsProxyWidget*>(ptr)->~QGraphicsProxyWidget();
}
void* QGraphicsProxyWidget_SubWidgetRect(void* ptr, void* widget)
{
return ({ QRectF tmpValue = static_cast<QGraphicsProxyWidget*>(ptr)->subWidgetRect(static_cast<QWidget*>(widget)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsProxyWidget_Widget(void* ptr)
{
return static_cast<QGraphicsProxyWidget*>(ptr)->widget();
}
class MyQGraphicsRectItem: public QGraphicsRectItem
{
public:
MyQGraphicsRectItem(QGraphicsItem *parent) : QGraphicsRectItem(parent) {};
MyQGraphicsRectItem(const QRectF &rect, QGraphicsItem *parent) : QGraphicsRectItem(rect, parent) {};
MyQGraphicsRectItem(qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent) : QGraphicsRectItem(x, y, width, height, parent) {};
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsRectItem_Paint(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
QPainterPath opaqueArea() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_OpaqueArea(const_cast<void*>(static_cast<const void*>(this)))); };
QPainterPath shape() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_Shape(const_cast<void*>(static_cast<const void*>(this)))); };
QRectF boundingRect() const { return *static_cast<QRectF*>(callbackQGraphicsRectItem_BoundingRect(const_cast<void*>(static_cast<const void*>(this)))); };
bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&point)) != 0; };
bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(item)) != 0; };
int type() const { return callbackQGraphicsItem_Type(const_cast<void*>(static_cast<const void*>(this))); };
QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast<QVariant*>(callbackQGraphicsItem_ItemChange(this, change, const_cast<QVariant*>(&value))); };
bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; };
bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; };
void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); };
void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); };
void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); };
void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); };
void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); };
void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); };
void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); };
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); };
void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); };
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); };
void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); };
void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); };
void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsItem_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(other), mode) != 0; };
bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPainterPath*>(&path), mode) != 0; };
};
void* QGraphicsRectItem_NewQGraphicsRectItem(void* parent)
{
return new MyQGraphicsRectItem(static_cast<QGraphicsItem*>(parent));
}
void* QGraphicsRectItem_NewQGraphicsRectItem2(void* rect, void* parent)
{
return new MyQGraphicsRectItem(*static_cast<QRectF*>(rect), static_cast<QGraphicsItem*>(parent));
}
void* QGraphicsRectItem_NewQGraphicsRectItem3(double x, double y, double width, double height, void* parent)
{
return new MyQGraphicsRectItem(x, y, width, height, static_cast<QGraphicsItem*>(parent));
}
void QGraphicsRectItem_Paint(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsRectItem*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsRectItem_PaintDefault(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsRectItem_SetRect(void* ptr, void* rectangle)
{
static_cast<QGraphicsRectItem*>(ptr)->setRect(*static_cast<QRectF*>(rectangle));
}
void QGraphicsRectItem_SetRect2(void* ptr, double x, double y, double width, double height)
{
static_cast<QGraphicsRectItem*>(ptr)->setRect(x, y, width, height);
}
void QGraphicsRectItem_DestroyQGraphicsRectItem(void* ptr)
{
static_cast<QGraphicsRectItem*>(ptr)->~QGraphicsRectItem();
}
void* QGraphicsRectItem_BoundingRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsRectItem*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsRectItem_BoundingRectDefault(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsRectItem*>(ptr)->QGraphicsRectItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsRectItem_Rect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsRectItem*>(ptr)->rect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
class MyQGraphicsRotation: public QGraphicsRotation
{
public:
MyQGraphicsRotation(QObject *parent) : QGraphicsRotation(parent) {};
void Signal_AngleChanged() { callbackQGraphicsRotation_AngleChanged(this); };
void Signal_AxisChanged() { callbackQGraphicsRotation_AxisChanged(this); };
void Signal_OriginChanged() { callbackQGraphicsRotation_OriginChanged(this); };
void applyTo(QMatrix4x4 * matrix) const { callbackQGraphicsRotation_ApplyTo(const_cast<void*>(static_cast<const void*>(this)), matrix); };
void update() { callbackQGraphicsTransform_Update(this); };
bool event(QEvent * e) { return callbackQGraphicsTransform_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsTransform_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGraphicsTransform_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGraphicsTransform_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGraphicsTransform_CustomEvent(this, event); };
void deleteLater() { callbackQGraphicsTransform_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGraphicsTransform_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsTransform_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGraphicsTransform_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGraphicsTransform_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGraphicsTransform_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QGraphicsRotation_NewQGraphicsRotation(void* parent)
{
return new MyQGraphicsRotation(static_cast<QObject*>(parent));
}
void QGraphicsRotation_ConnectAngleChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsRotation*>(ptr), static_cast<void (QGraphicsRotation::*)()>(&QGraphicsRotation::angleChanged), static_cast<MyQGraphicsRotation*>(ptr), static_cast<void (MyQGraphicsRotation::*)()>(&MyQGraphicsRotation::Signal_AngleChanged));
}
void QGraphicsRotation_DisconnectAngleChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsRotation*>(ptr), static_cast<void (QGraphicsRotation::*)()>(&QGraphicsRotation::angleChanged), static_cast<MyQGraphicsRotation*>(ptr), static_cast<void (MyQGraphicsRotation::*)()>(&MyQGraphicsRotation::Signal_AngleChanged));
}
void QGraphicsRotation_AngleChanged(void* ptr)
{
static_cast<QGraphicsRotation*>(ptr)->angleChanged();
}
void QGraphicsRotation_ConnectAxisChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsRotation*>(ptr), static_cast<void (QGraphicsRotation::*)()>(&QGraphicsRotation::axisChanged), static_cast<MyQGraphicsRotation*>(ptr), static_cast<void (MyQGraphicsRotation::*)()>(&MyQGraphicsRotation::Signal_AxisChanged));
}
void QGraphicsRotation_DisconnectAxisChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsRotation*>(ptr), static_cast<void (QGraphicsRotation::*)()>(&QGraphicsRotation::axisChanged), static_cast<MyQGraphicsRotation*>(ptr), static_cast<void (MyQGraphicsRotation::*)()>(&MyQGraphicsRotation::Signal_AxisChanged));
}
void QGraphicsRotation_AxisChanged(void* ptr)
{
static_cast<QGraphicsRotation*>(ptr)->axisChanged();
}
void QGraphicsRotation_ConnectOriginChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsRotation*>(ptr), static_cast<void (QGraphicsRotation::*)()>(&QGraphicsRotation::originChanged), static_cast<MyQGraphicsRotation*>(ptr), static_cast<void (MyQGraphicsRotation::*)()>(&MyQGraphicsRotation::Signal_OriginChanged));
}
void QGraphicsRotation_DisconnectOriginChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsRotation*>(ptr), static_cast<void (QGraphicsRotation::*)()>(&QGraphicsRotation::originChanged), static_cast<MyQGraphicsRotation*>(ptr), static_cast<void (MyQGraphicsRotation::*)()>(&MyQGraphicsRotation::Signal_OriginChanged));
}
void QGraphicsRotation_OriginChanged(void* ptr)
{
static_cast<QGraphicsRotation*>(ptr)->originChanged();
}
void QGraphicsRotation_SetAngle(void* ptr, double vqr)
{
static_cast<QGraphicsRotation*>(ptr)->setAngle(vqr);
}
void QGraphicsRotation_SetAxis2(void* ptr, long long axis)
{
static_cast<QGraphicsRotation*>(ptr)->setAxis(static_cast<Qt::Axis>(axis));
}
void QGraphicsRotation_SetAxis(void* ptr, void* axis)
{
static_cast<QGraphicsRotation*>(ptr)->setAxis(*static_cast<QVector3D*>(axis));
}
void QGraphicsRotation_SetOrigin(void* ptr, void* point)
{
static_cast<QGraphicsRotation*>(ptr)->setOrigin(*static_cast<QVector3D*>(point));
}
void QGraphicsRotation_DestroyQGraphicsRotation(void* ptr)
{
static_cast<QGraphicsRotation*>(ptr)->~QGraphicsRotation();
}
void* QGraphicsRotation_Axis(void* ptr)
{
return new QVector3D(static_cast<QGraphicsRotation*>(ptr)->axis());
}
void* QGraphicsRotation_Origin(void* ptr)
{
return new QVector3D(static_cast<QGraphicsRotation*>(ptr)->origin());
}
double QGraphicsRotation_Angle(void* ptr)
{
return static_cast<QGraphicsRotation*>(ptr)->angle();
}
void QGraphicsRotation_ApplyTo(void* ptr, void* matrix)
{
static_cast<QGraphicsRotation*>(ptr)->applyTo(static_cast<QMatrix4x4*>(matrix));
}
void QGraphicsRotation_ApplyToDefault(void* ptr, void* matrix)
{
static_cast<QGraphicsRotation*>(ptr)->QGraphicsRotation::applyTo(static_cast<QMatrix4x4*>(matrix));
}
class MyQGraphicsScale: public QGraphicsScale
{
public:
MyQGraphicsScale(QObject *parent) : QGraphicsScale(parent) {};
void Signal_OriginChanged() { callbackQGraphicsScale_OriginChanged(this); };
void Signal_ScaleChanged() { callbackQGraphicsScale_ScaleChanged(this); };
void Signal_XScaleChanged() { callbackQGraphicsScale_XScaleChanged(this); };
void Signal_YScaleChanged() { callbackQGraphicsScale_YScaleChanged(this); };
void Signal_ZScaleChanged() { callbackQGraphicsScale_ZScaleChanged(this); };
void applyTo(QMatrix4x4 * matrix) const { callbackQGraphicsScale_ApplyTo(const_cast<void*>(static_cast<const void*>(this)), matrix); };
void update() { callbackQGraphicsTransform_Update(this); };
bool event(QEvent * e) { return callbackQGraphicsTransform_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsTransform_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGraphicsTransform_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGraphicsTransform_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGraphicsTransform_CustomEvent(this, event); };
void deleteLater() { callbackQGraphicsTransform_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGraphicsTransform_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsTransform_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGraphicsTransform_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGraphicsTransform_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGraphicsTransform_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QGraphicsScale_NewQGraphicsScale(void* parent)
{
return new MyQGraphicsScale(static_cast<QObject*>(parent));
}
void QGraphicsScale_ConnectOriginChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsScale*>(ptr), static_cast<void (QGraphicsScale::*)()>(&QGraphicsScale::originChanged), static_cast<MyQGraphicsScale*>(ptr), static_cast<void (MyQGraphicsScale::*)()>(&MyQGraphicsScale::Signal_OriginChanged));
}
void QGraphicsScale_DisconnectOriginChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsScale*>(ptr), static_cast<void (QGraphicsScale::*)()>(&QGraphicsScale::originChanged), static_cast<MyQGraphicsScale*>(ptr), static_cast<void (MyQGraphicsScale::*)()>(&MyQGraphicsScale::Signal_OriginChanged));
}
void QGraphicsScale_OriginChanged(void* ptr)
{
static_cast<QGraphicsScale*>(ptr)->originChanged();
}
void QGraphicsScale_ConnectScaleChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsScale*>(ptr), static_cast<void (QGraphicsScale::*)()>(&QGraphicsScale::scaleChanged), static_cast<MyQGraphicsScale*>(ptr), static_cast<void (MyQGraphicsScale::*)()>(&MyQGraphicsScale::Signal_ScaleChanged));
}
void QGraphicsScale_DisconnectScaleChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsScale*>(ptr), static_cast<void (QGraphicsScale::*)()>(&QGraphicsScale::scaleChanged), static_cast<MyQGraphicsScale*>(ptr), static_cast<void (MyQGraphicsScale::*)()>(&MyQGraphicsScale::Signal_ScaleChanged));
}
void QGraphicsScale_ScaleChanged(void* ptr)
{
static_cast<QGraphicsScale*>(ptr)->scaleChanged();
}
void QGraphicsScale_SetOrigin(void* ptr, void* point)
{
static_cast<QGraphicsScale*>(ptr)->setOrigin(*static_cast<QVector3D*>(point));
}
void QGraphicsScale_SetXScale(void* ptr, double vqr)
{
static_cast<QGraphicsScale*>(ptr)->setXScale(vqr);
}
void QGraphicsScale_SetYScale(void* ptr, double vqr)
{
static_cast<QGraphicsScale*>(ptr)->setYScale(vqr);
}
void QGraphicsScale_SetZScale(void* ptr, double vqr)
{
static_cast<QGraphicsScale*>(ptr)->setZScale(vqr);
}
void QGraphicsScale_ConnectXScaleChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsScale*>(ptr), static_cast<void (QGraphicsScale::*)()>(&QGraphicsScale::xScaleChanged), static_cast<MyQGraphicsScale*>(ptr), static_cast<void (MyQGraphicsScale::*)()>(&MyQGraphicsScale::Signal_XScaleChanged));
}
void QGraphicsScale_DisconnectXScaleChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsScale*>(ptr), static_cast<void (QGraphicsScale::*)()>(&QGraphicsScale::xScaleChanged), static_cast<MyQGraphicsScale*>(ptr), static_cast<void (MyQGraphicsScale::*)()>(&MyQGraphicsScale::Signal_XScaleChanged));
}
void QGraphicsScale_XScaleChanged(void* ptr)
{
static_cast<QGraphicsScale*>(ptr)->xScaleChanged();
}
void QGraphicsScale_ConnectYScaleChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsScale*>(ptr), static_cast<void (QGraphicsScale::*)()>(&QGraphicsScale::yScaleChanged), static_cast<MyQGraphicsScale*>(ptr), static_cast<void (MyQGraphicsScale::*)()>(&MyQGraphicsScale::Signal_YScaleChanged));
}
void QGraphicsScale_DisconnectYScaleChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsScale*>(ptr), static_cast<void (QGraphicsScale::*)()>(&QGraphicsScale::yScaleChanged), static_cast<MyQGraphicsScale*>(ptr), static_cast<void (MyQGraphicsScale::*)()>(&MyQGraphicsScale::Signal_YScaleChanged));
}
void QGraphicsScale_YScaleChanged(void* ptr)
{
static_cast<QGraphicsScale*>(ptr)->yScaleChanged();
}
void QGraphicsScale_ConnectZScaleChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsScale*>(ptr), static_cast<void (QGraphicsScale::*)()>(&QGraphicsScale::zScaleChanged), static_cast<MyQGraphicsScale*>(ptr), static_cast<void (MyQGraphicsScale::*)()>(&MyQGraphicsScale::Signal_ZScaleChanged));
}
void QGraphicsScale_DisconnectZScaleChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsScale*>(ptr), static_cast<void (QGraphicsScale::*)()>(&QGraphicsScale::zScaleChanged), static_cast<MyQGraphicsScale*>(ptr), static_cast<void (MyQGraphicsScale::*)()>(&MyQGraphicsScale::Signal_ZScaleChanged));
}
void QGraphicsScale_ZScaleChanged(void* ptr)
{
static_cast<QGraphicsScale*>(ptr)->zScaleChanged();
}
void QGraphicsScale_DestroyQGraphicsScale(void* ptr)
{
static_cast<QGraphicsScale*>(ptr)->~QGraphicsScale();
}
void* QGraphicsScale_Origin(void* ptr)
{
return new QVector3D(static_cast<QGraphicsScale*>(ptr)->origin());
}
double QGraphicsScale_XScale(void* ptr)
{
return static_cast<QGraphicsScale*>(ptr)->xScale();
}
double QGraphicsScale_YScale(void* ptr)
{
return static_cast<QGraphicsScale*>(ptr)->yScale();
}
double QGraphicsScale_ZScale(void* ptr)
{
return static_cast<QGraphicsScale*>(ptr)->zScale();
}
void QGraphicsScale_ApplyTo(void* ptr, void* matrix)
{
static_cast<QGraphicsScale*>(ptr)->applyTo(static_cast<QMatrix4x4*>(matrix));
}
void QGraphicsScale_ApplyToDefault(void* ptr, void* matrix)
{
static_cast<QGraphicsScale*>(ptr)->QGraphicsScale::applyTo(static_cast<QMatrix4x4*>(matrix));
}
class MyQGraphicsScene: public QGraphicsScene
{
public:
MyQGraphicsScene(QObject *parent) : QGraphicsScene(parent) {};
MyQGraphicsScene(const QRectF &sceneRect, QObject *parent) : QGraphicsScene(sceneRect, parent) {};
MyQGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject *parent) : QGraphicsScene(x, y, width, height, parent) {};
bool event(QEvent * event) { return callbackQGraphicsScene_Event(this, event) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsScene_EventFilter(this, watched, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQGraphicsScene_FocusNextPrevChild(this, next) != 0; };
void advance() { callbackQGraphicsScene_Advance(this); };
void Signal_Changed(const QList<QRectF> & region) { callbackQGraphicsScene_Changed(this, ({ QList<QRectF>* tmpValue = const_cast<QList<QRectF>*>(&region); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })); };
void clear() { callbackQGraphicsScene_Clear(this); };
void clearSelection() { callbackQGraphicsScene_ClearSelection(this); };
void contextMenuEvent(QGraphicsSceneContextMenuEvent * contextMenuEvent) { callbackQGraphicsScene_ContextMenuEvent(this, contextMenuEvent); };
void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsScene_DragEnterEvent(this, event); };
void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsScene_DragLeaveEvent(this, event); };
void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsScene_DragMoveEvent(this, event); };
void drawBackground(QPainter * painter, const QRectF & rect) { callbackQGraphicsScene_DrawBackground(this, painter, const_cast<QRectF*>(&rect)); };
void drawForeground(QPainter * painter, const QRectF & rect) { callbackQGraphicsScene_DrawForeground(this, painter, const_cast<QRectF*>(&rect)); };
void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsScene_DropEvent(this, event); };
void focusInEvent(QFocusEvent * focusEvent) { callbackQGraphicsScene_FocusInEvent(this, focusEvent); };
void Signal_FocusItemChanged(QGraphicsItem * newFocusItem, QGraphicsItem * oldFocusItem, Qt::FocusReason reason) { callbackQGraphicsScene_FocusItemChanged(this, newFocusItem, oldFocusItem, reason); };
void focusOutEvent(QFocusEvent * focusEvent) { callbackQGraphicsScene_FocusOutEvent(this, focusEvent); };
void helpEvent(QGraphicsSceneHelpEvent * helpEvent) { callbackQGraphicsScene_HelpEvent(this, helpEvent); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsScene_InputMethodEvent(this, event); };
void invalidate(const QRectF & rect, QGraphicsScene::SceneLayers layers) { callbackQGraphicsScene_Invalidate(this, const_cast<QRectF*>(&rect), layers); };
void keyPressEvent(QKeyEvent * keyEvent) { callbackQGraphicsScene_KeyPressEvent(this, keyEvent); };
void keyReleaseEvent(QKeyEvent * keyEvent) { callbackQGraphicsScene_KeyReleaseEvent(this, keyEvent); };
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * mouseEvent) { callbackQGraphicsScene_MouseDoubleClickEvent(this, mouseEvent); };
void mouseMoveEvent(QGraphicsSceneMouseEvent * mouseEvent) { callbackQGraphicsScene_MouseMoveEvent(this, mouseEvent); };
void mousePressEvent(QGraphicsSceneMouseEvent * mouseEvent) { callbackQGraphicsScene_MousePressEvent(this, mouseEvent); };
void mouseReleaseEvent(QGraphicsSceneMouseEvent * mouseEvent) { callbackQGraphicsScene_MouseReleaseEvent(this, mouseEvent); };
void Signal_SceneRectChanged(const QRectF & rect) { callbackQGraphicsScene_SceneRectChanged(this, const_cast<QRectF*>(&rect)); };
void Signal_SelectionChanged() { callbackQGraphicsScene_SelectionChanged(this); };
void update(const QRectF & rect) { callbackQGraphicsScene_Update(this, const_cast<QRectF*>(&rect)); };
void wheelEvent(QGraphicsSceneWheelEvent * wheelEvent) { callbackQGraphicsScene_WheelEvent(this, wheelEvent); };
~MyQGraphicsScene() { callbackQGraphicsScene_DestroyQGraphicsScene(this); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsScene_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
void childEvent(QChildEvent * event) { callbackQGraphicsScene_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGraphicsScene_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGraphicsScene_CustomEvent(this, event); };
void deleteLater() { callbackQGraphicsScene_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGraphicsScene_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsScene_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGraphicsScene_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGraphicsScene_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGraphicsScene_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QGraphicsScene_AddEllipse(void* ptr, void* rect, void* pen, void* brush)
{
return static_cast<QGraphicsScene*>(ptr)->addEllipse(*static_cast<QRectF*>(rect), *static_cast<QPen*>(pen), *static_cast<QBrush*>(brush));
}
void* QGraphicsScene_AddEllipse2(void* ptr, double x, double y, double w, double h, void* pen, void* brush)
{
return static_cast<QGraphicsScene*>(ptr)->addEllipse(x, y, w, h, *static_cast<QPen*>(pen), *static_cast<QBrush*>(brush));
}
void* QGraphicsScene_CreateItemGroup(void* ptr, void* items)
{
return static_cast<QGraphicsScene*>(ptr)->createItemGroup(*static_cast<QList<QGraphicsItem *>*>(items));
}
void* QGraphicsScene_AddLine(void* ptr, void* line, void* pen)
{
return static_cast<QGraphicsScene*>(ptr)->addLine(*static_cast<QLineF*>(line), *static_cast<QPen*>(pen));
}
void* QGraphicsScene_AddLine2(void* ptr, double x1, double y1, double x2, double y2, void* pen)
{
return static_cast<QGraphicsScene*>(ptr)->addLine(x1, y1, x2, y2, *static_cast<QPen*>(pen));
}
void* QGraphicsScene_AddPath(void* ptr, void* path, void* pen, void* brush)
{
return static_cast<QGraphicsScene*>(ptr)->addPath(*static_cast<QPainterPath*>(path), *static_cast<QPen*>(pen), *static_cast<QBrush*>(brush));
}
void* QGraphicsScene_AddPixmap(void* ptr, void* pixmap)
{
return static_cast<QGraphicsScene*>(ptr)->addPixmap(*static_cast<QPixmap*>(pixmap));
}
void* QGraphicsScene_AddPolygon(void* ptr, void* polygon, void* pen, void* brush)
{
return static_cast<QGraphicsScene*>(ptr)->addPolygon(*static_cast<QPolygonF*>(polygon), *static_cast<QPen*>(pen), *static_cast<QBrush*>(brush));
}
void* QGraphicsScene_AddWidget(void* ptr, void* widget, long long wFlags)
{
return static_cast<QGraphicsScene*>(ptr)->addWidget(static_cast<QWidget*>(widget), static_cast<Qt::WindowType>(wFlags));
}
void* QGraphicsScene_AddRect(void* ptr, void* rect, void* pen, void* brush)
{
return static_cast<QGraphicsScene*>(ptr)->addRect(*static_cast<QRectF*>(rect), *static_cast<QPen*>(pen), *static_cast<QBrush*>(brush));
}
void* QGraphicsScene_AddRect2(void* ptr, double x, double y, double w, double h, void* pen, void* brush)
{
return static_cast<QGraphicsScene*>(ptr)->addRect(x, y, w, h, *static_cast<QPen*>(pen), *static_cast<QBrush*>(brush));
}
void* QGraphicsScene_NewQGraphicsScene(void* parent)
{
return new MyQGraphicsScene(static_cast<QObject*>(parent));
}
void* QGraphicsScene_NewQGraphicsScene2(void* sceneRect, void* parent)
{
return new MyQGraphicsScene(*static_cast<QRectF*>(sceneRect), static_cast<QObject*>(parent));
}
void* QGraphicsScene_NewQGraphicsScene3(double x, double y, double width, double height, void* parent)
{
return new MyQGraphicsScene(x, y, width, height, static_cast<QObject*>(parent));
}
void* QGraphicsScene_AddSimpleText(void* ptr, char* text, void* font)
{
return static_cast<QGraphicsScene*>(ptr)->addSimpleText(QString(text), *static_cast<QFont*>(font));
}
void* QGraphicsScene_AddText(void* ptr, char* text, void* font)
{
return static_cast<QGraphicsScene*>(ptr)->addText(QString(text), *static_cast<QFont*>(font));
}
char QGraphicsScene_EventDefault(void* ptr, void* event)
{
return static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::event(static_cast<QEvent*>(event));
}
char QGraphicsScene_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
char QGraphicsScene_FocusNextPrevChild(void* ptr, char next)
{
bool returnArg;
QMetaObject::invokeMethod(static_cast<QGraphicsScene*>(ptr), "focusNextPrevChild", Q_RETURN_ARG(bool, returnArg), Q_ARG(bool, next != 0));
return returnArg;
}
char QGraphicsScene_FocusNextPrevChildDefault(void* ptr, char next)
{
return static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::focusNextPrevChild(next != 0);
}
char QGraphicsScene_SendEvent(void* ptr, void* item, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsScene*>(ptr)->sendEvent(static_cast<QGraphicsObject*>(item), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return static_cast<QGraphicsScene*>(ptr)->sendEvent(static_cast<QGraphicsWidget*>(item), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsScene*>(ptr)->sendEvent(static_cast<QGraphicsItem*>(item), static_cast<QEvent*>(event));
}
}
void QGraphicsScene_AddItem(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsScene*>(ptr)->addItem(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsScene*>(ptr)->addItem(static_cast<QGraphicsWidget*>(item));
} else {
static_cast<QGraphicsScene*>(ptr)->addItem(static_cast<QGraphicsItem*>(item));
}
}
void QGraphicsScene_Advance(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QGraphicsScene*>(ptr), "advance");
}
void QGraphicsScene_AdvanceDefault(void* ptr)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::advance();
}
void QGraphicsScene_ConnectChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsScene*>(ptr), static_cast<void (QGraphicsScene::*)(const QList<QRectF> &)>(&QGraphicsScene::changed), static_cast<MyQGraphicsScene*>(ptr), static_cast<void (MyQGraphicsScene::*)(const QList<QRectF> &)>(&MyQGraphicsScene::Signal_Changed));
}
void QGraphicsScene_DisconnectChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsScene*>(ptr), static_cast<void (QGraphicsScene::*)(const QList<QRectF> &)>(&QGraphicsScene::changed), static_cast<MyQGraphicsScene*>(ptr), static_cast<void (MyQGraphicsScene::*)(const QList<QRectF> &)>(&MyQGraphicsScene::Signal_Changed));
}
void QGraphicsScene_Changed(void* ptr, void* region)
{
static_cast<QGraphicsScene*>(ptr)->changed(*static_cast<QList<QRectF>*>(region));
}
void QGraphicsScene_Clear(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QGraphicsScene*>(ptr), "clear");
}
void QGraphicsScene_ClearDefault(void* ptr)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::clear();
}
void QGraphicsScene_ClearFocus(void* ptr)
{
static_cast<QGraphicsScene*>(ptr)->clearFocus();
}
void QGraphicsScene_ClearSelection(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QGraphicsScene*>(ptr), "clearSelection");
}
void QGraphicsScene_ClearSelectionDefault(void* ptr)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::clearSelection();
}
void QGraphicsScene_ContextMenuEvent(void* ptr, void* contextMenuEvent)
{
static_cast<QGraphicsScene*>(ptr)->contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(contextMenuEvent));
}
void QGraphicsScene_ContextMenuEventDefault(void* ptr, void* contextMenuEvent)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(contextMenuEvent));
}
void QGraphicsScene_DestroyItemGroup(void* ptr, void* group)
{
static_cast<QGraphicsScene*>(ptr)->destroyItemGroup(static_cast<QGraphicsItemGroup*>(group));
}
void QGraphicsScene_DragEnterEvent(void* ptr, void* event)
{
static_cast<QGraphicsScene*>(ptr)->dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
void QGraphicsScene_DragEnterEventDefault(void* ptr, void* event)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
void QGraphicsScene_DragLeaveEvent(void* ptr, void* event)
{
static_cast<QGraphicsScene*>(ptr)->dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
void QGraphicsScene_DragLeaveEventDefault(void* ptr, void* event)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
void QGraphicsScene_DragMoveEvent(void* ptr, void* event)
{
static_cast<QGraphicsScene*>(ptr)->dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
void QGraphicsScene_DragMoveEventDefault(void* ptr, void* event)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
void QGraphicsScene_DrawBackground(void* ptr, void* painter, void* rect)
{
static_cast<QGraphicsScene*>(ptr)->drawBackground(static_cast<QPainter*>(painter), *static_cast<QRectF*>(rect));
}
void QGraphicsScene_DrawBackgroundDefault(void* ptr, void* painter, void* rect)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::drawBackground(static_cast<QPainter*>(painter), *static_cast<QRectF*>(rect));
}
void QGraphicsScene_DrawForeground(void* ptr, void* painter, void* rect)
{
static_cast<QGraphicsScene*>(ptr)->drawForeground(static_cast<QPainter*>(painter), *static_cast<QRectF*>(rect));
}
void QGraphicsScene_DrawForegroundDefault(void* ptr, void* painter, void* rect)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::drawForeground(static_cast<QPainter*>(painter), *static_cast<QRectF*>(rect));
}
void QGraphicsScene_DropEvent(void* ptr, void* event)
{
static_cast<QGraphicsScene*>(ptr)->dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
void QGraphicsScene_DropEventDefault(void* ptr, void* event)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(event));
}
void QGraphicsScene_FocusInEvent(void* ptr, void* focusEvent)
{
static_cast<QGraphicsScene*>(ptr)->focusInEvent(static_cast<QFocusEvent*>(focusEvent));
}
void QGraphicsScene_FocusInEventDefault(void* ptr, void* focusEvent)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::focusInEvent(static_cast<QFocusEvent*>(focusEvent));
}
void QGraphicsScene_ConnectFocusItemChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsScene*>(ptr), static_cast<void (QGraphicsScene::*)(QGraphicsItem *, QGraphicsItem *, Qt::FocusReason)>(&QGraphicsScene::focusItemChanged), static_cast<MyQGraphicsScene*>(ptr), static_cast<void (MyQGraphicsScene::*)(QGraphicsItem *, QGraphicsItem *, Qt::FocusReason)>(&MyQGraphicsScene::Signal_FocusItemChanged));
}
void QGraphicsScene_DisconnectFocusItemChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsScene*>(ptr), static_cast<void (QGraphicsScene::*)(QGraphicsItem *, QGraphicsItem *, Qt::FocusReason)>(&QGraphicsScene::focusItemChanged), static_cast<MyQGraphicsScene*>(ptr), static_cast<void (MyQGraphicsScene::*)(QGraphicsItem *, QGraphicsItem *, Qt::FocusReason)>(&MyQGraphicsScene::Signal_FocusItemChanged));
}
void QGraphicsScene_FocusItemChanged(void* ptr, void* newFocusItem, void* oldFocusItem, long long reason)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(newFocusItem))) {
static_cast<QGraphicsScene*>(ptr)->focusItemChanged(static_cast<QGraphicsObject*>(newFocusItem), static_cast<QGraphicsItem*>(oldFocusItem), static_cast<Qt::FocusReason>(reason));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(newFocusItem))) {
static_cast<QGraphicsScene*>(ptr)->focusItemChanged(static_cast<QGraphicsWidget*>(newFocusItem), static_cast<QGraphicsItem*>(oldFocusItem), static_cast<Qt::FocusReason>(reason));
} else {
static_cast<QGraphicsScene*>(ptr)->focusItemChanged(static_cast<QGraphicsItem*>(newFocusItem), static_cast<QGraphicsItem*>(oldFocusItem), static_cast<Qt::FocusReason>(reason));
}
}
void QGraphicsScene_FocusOutEvent(void* ptr, void* focusEvent)
{
static_cast<QGraphicsScene*>(ptr)->focusOutEvent(static_cast<QFocusEvent*>(focusEvent));
}
void QGraphicsScene_FocusOutEventDefault(void* ptr, void* focusEvent)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::focusOutEvent(static_cast<QFocusEvent*>(focusEvent));
}
void QGraphicsScene_HelpEvent(void* ptr, void* helpEvent)
{
static_cast<QGraphicsScene*>(ptr)->helpEvent(static_cast<QGraphicsSceneHelpEvent*>(helpEvent));
}
void QGraphicsScene_HelpEventDefault(void* ptr, void* helpEvent)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::helpEvent(static_cast<QGraphicsSceneHelpEvent*>(helpEvent));
}
void QGraphicsScene_InputMethodEvent(void* ptr, void* event)
{
static_cast<QGraphicsScene*>(ptr)->inputMethodEvent(static_cast<QInputMethodEvent*>(event));
}
void QGraphicsScene_InputMethodEventDefault(void* ptr, void* event)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
}
void QGraphicsScene_Invalidate(void* ptr, void* rect, long long layers)
{
QMetaObject::invokeMethod(static_cast<QGraphicsScene*>(ptr), "invalidate", Q_ARG(QRectF, *static_cast<QRectF*>(rect)), Q_ARG(QGraphicsScene::SceneLayer, static_cast<QGraphicsScene::SceneLayer>(layers)));
}
void QGraphicsScene_InvalidateDefault(void* ptr, void* rect, long long layers)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::invalidate(*static_cast<QRectF*>(rect), static_cast<QGraphicsScene::SceneLayer>(layers));
}
void QGraphicsScene_Invalidate2(void* ptr, double x, double y, double w, double h, long long layers)
{
static_cast<QGraphicsScene*>(ptr)->invalidate(x, y, w, h, static_cast<QGraphicsScene::SceneLayer>(layers));
}
void QGraphicsScene_KeyPressEvent(void* ptr, void* keyEvent)
{
static_cast<QGraphicsScene*>(ptr)->keyPressEvent(static_cast<QKeyEvent*>(keyEvent));
}
void QGraphicsScene_KeyPressEventDefault(void* ptr, void* keyEvent)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::keyPressEvent(static_cast<QKeyEvent*>(keyEvent));
}
void QGraphicsScene_KeyReleaseEvent(void* ptr, void* keyEvent)
{
static_cast<QGraphicsScene*>(ptr)->keyReleaseEvent(static_cast<QKeyEvent*>(keyEvent));
}
void QGraphicsScene_KeyReleaseEventDefault(void* ptr, void* keyEvent)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::keyReleaseEvent(static_cast<QKeyEvent*>(keyEvent));
}
void QGraphicsScene_MouseDoubleClickEvent(void* ptr, void* mouseEvent)
{
static_cast<QGraphicsScene*>(ptr)->mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(mouseEvent));
}
void QGraphicsScene_MouseDoubleClickEventDefault(void* ptr, void* mouseEvent)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(mouseEvent));
}
void QGraphicsScene_MouseMoveEvent(void* ptr, void* mouseEvent)
{
static_cast<QGraphicsScene*>(ptr)->mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(mouseEvent));
}
void QGraphicsScene_MouseMoveEventDefault(void* ptr, void* mouseEvent)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(mouseEvent));
}
void QGraphicsScene_MousePressEvent(void* ptr, void* mouseEvent)
{
static_cast<QGraphicsScene*>(ptr)->mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(mouseEvent));
}
void QGraphicsScene_MousePressEventDefault(void* ptr, void* mouseEvent)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(mouseEvent));
}
void QGraphicsScene_MouseReleaseEvent(void* ptr, void* mouseEvent)
{
static_cast<QGraphicsScene*>(ptr)->mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(mouseEvent));
}
void QGraphicsScene_MouseReleaseEventDefault(void* ptr, void* mouseEvent)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(mouseEvent));
}
void QGraphicsScene_RemoveItem(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsScene*>(ptr)->removeItem(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsScene*>(ptr)->removeItem(static_cast<QGraphicsWidget*>(item));
} else {
static_cast<QGraphicsScene*>(ptr)->removeItem(static_cast<QGraphicsItem*>(item));
}
}
void QGraphicsScene_Render(void* ptr, void* painter, void* target, void* source, long long aspectRatioMode)
{
static_cast<QGraphicsScene*>(ptr)->render(static_cast<QPainter*>(painter), *static_cast<QRectF*>(target), *static_cast<QRectF*>(source), static_cast<Qt::AspectRatioMode>(aspectRatioMode));
}
void QGraphicsScene_ConnectSceneRectChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsScene*>(ptr), static_cast<void (QGraphicsScene::*)(const QRectF &)>(&QGraphicsScene::sceneRectChanged), static_cast<MyQGraphicsScene*>(ptr), static_cast<void (MyQGraphicsScene::*)(const QRectF &)>(&MyQGraphicsScene::Signal_SceneRectChanged));
}
void QGraphicsScene_DisconnectSceneRectChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsScene*>(ptr), static_cast<void (QGraphicsScene::*)(const QRectF &)>(&QGraphicsScene::sceneRectChanged), static_cast<MyQGraphicsScene*>(ptr), static_cast<void (MyQGraphicsScene::*)(const QRectF &)>(&MyQGraphicsScene::Signal_SceneRectChanged));
}
void QGraphicsScene_SceneRectChanged(void* ptr, void* rect)
{
static_cast<QGraphicsScene*>(ptr)->sceneRectChanged(*static_cast<QRectF*>(rect));
}
void QGraphicsScene_ConnectSelectionChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsScene*>(ptr), static_cast<void (QGraphicsScene::*)()>(&QGraphicsScene::selectionChanged), static_cast<MyQGraphicsScene*>(ptr), static_cast<void (MyQGraphicsScene::*)()>(&MyQGraphicsScene::Signal_SelectionChanged));
}
void QGraphicsScene_DisconnectSelectionChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsScene*>(ptr), static_cast<void (QGraphicsScene::*)()>(&QGraphicsScene::selectionChanged), static_cast<MyQGraphicsScene*>(ptr), static_cast<void (MyQGraphicsScene::*)()>(&MyQGraphicsScene::Signal_SelectionChanged));
}
void QGraphicsScene_SelectionChanged(void* ptr)
{
static_cast<QGraphicsScene*>(ptr)->selectionChanged();
}
void QGraphicsScene_SetActivePanel(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsScene*>(ptr)->setActivePanel(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsScene*>(ptr)->setActivePanel(static_cast<QGraphicsWidget*>(item));
} else {
static_cast<QGraphicsScene*>(ptr)->setActivePanel(static_cast<QGraphicsItem*>(item));
}
}
void QGraphicsScene_SetActiveWindow(void* ptr, void* widget)
{
static_cast<QGraphicsScene*>(ptr)->setActiveWindow(static_cast<QGraphicsWidget*>(widget));
}
void QGraphicsScene_SetBackgroundBrush(void* ptr, void* brush)
{
static_cast<QGraphicsScene*>(ptr)->setBackgroundBrush(*static_cast<QBrush*>(brush));
}
void QGraphicsScene_SetBspTreeDepth(void* ptr, int depth)
{
static_cast<QGraphicsScene*>(ptr)->setBspTreeDepth(depth);
}
void QGraphicsScene_SetFocus(void* ptr, long long focusReason)
{
static_cast<QGraphicsScene*>(ptr)->setFocus(static_cast<Qt::FocusReason>(focusReason));
}
void QGraphicsScene_SetFocusItem(void* ptr, void* item, long long focusReason)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsScene*>(ptr)->setFocusItem(static_cast<QGraphicsObject*>(item), static_cast<Qt::FocusReason>(focusReason));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsScene*>(ptr)->setFocusItem(static_cast<QGraphicsWidget*>(item), static_cast<Qt::FocusReason>(focusReason));
} else {
static_cast<QGraphicsScene*>(ptr)->setFocusItem(static_cast<QGraphicsItem*>(item), static_cast<Qt::FocusReason>(focusReason));
}
}
void QGraphicsScene_SetFont(void* ptr, void* font)
{
static_cast<QGraphicsScene*>(ptr)->setFont(*static_cast<QFont*>(font));
}
void QGraphicsScene_SetForegroundBrush(void* ptr, void* brush)
{
static_cast<QGraphicsScene*>(ptr)->setForegroundBrush(*static_cast<QBrush*>(brush));
}
void QGraphicsScene_SetItemIndexMethod(void* ptr, long long method)
{
static_cast<QGraphicsScene*>(ptr)->setItemIndexMethod(static_cast<QGraphicsScene::ItemIndexMethod>(method));
}
void QGraphicsScene_SetMinimumRenderSize(void* ptr, double minSize)
{
static_cast<QGraphicsScene*>(ptr)->setMinimumRenderSize(minSize);
}
void QGraphicsScene_SetPalette(void* ptr, void* palette)
{
static_cast<QGraphicsScene*>(ptr)->setPalette(*static_cast<QPalette*>(palette));
}
void QGraphicsScene_SetSceneRect(void* ptr, void* rect)
{
static_cast<QGraphicsScene*>(ptr)->setSceneRect(*static_cast<QRectF*>(rect));
}
void QGraphicsScene_SetSceneRect2(void* ptr, double x, double y, double w, double h)
{
static_cast<QGraphicsScene*>(ptr)->setSceneRect(x, y, w, h);
}
void QGraphicsScene_SetSelectionArea2(void* ptr, void* path, long long mode, void* deviceTransform)
{
static_cast<QGraphicsScene*>(ptr)->setSelectionArea(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode), *static_cast<QTransform*>(deviceTransform));
}
void QGraphicsScene_SetSelectionArea3(void* ptr, void* path, long long selectionOperation, long long mode, void* deviceTransform)
{
static_cast<QGraphicsScene*>(ptr)->setSelectionArea(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionOperation>(selectionOperation), static_cast<Qt::ItemSelectionMode>(mode), *static_cast<QTransform*>(deviceTransform));
}
void QGraphicsScene_SetSelectionArea(void* ptr, void* path, void* deviceTransform)
{
static_cast<QGraphicsScene*>(ptr)->setSelectionArea(*static_cast<QPainterPath*>(path), *static_cast<QTransform*>(deviceTransform));
}
void QGraphicsScene_SetSortCacheEnabled(void* ptr, char enabled)
{
static_cast<QGraphicsScene*>(ptr)->setSortCacheEnabled(enabled != 0);
}
void QGraphicsScene_SetStickyFocus(void* ptr, char enabled)
{
static_cast<QGraphicsScene*>(ptr)->setStickyFocus(enabled != 0);
}
void QGraphicsScene_SetStyle(void* ptr, void* style)
{
static_cast<QGraphicsScene*>(ptr)->setStyle(static_cast<QStyle*>(style));
}
void QGraphicsScene_Update(void* ptr, void* rect)
{
QMetaObject::invokeMethod(static_cast<QGraphicsScene*>(ptr), "update", Q_ARG(QRectF, *static_cast<QRectF*>(rect)));
}
void QGraphicsScene_UpdateDefault(void* ptr, void* rect)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::update(*static_cast<QRectF*>(rect));
}
void QGraphicsScene_Update2(void* ptr, double x, double y, double w, double h)
{
static_cast<QGraphicsScene*>(ptr)->update(x, y, w, h);
}
void QGraphicsScene_WheelEvent(void* ptr, void* wheelEvent)
{
static_cast<QGraphicsScene*>(ptr)->wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(wheelEvent));
}
void QGraphicsScene_WheelEventDefault(void* ptr, void* wheelEvent)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(wheelEvent));
}
void QGraphicsScene_DestroyQGraphicsScene(void* ptr)
{
static_cast<QGraphicsScene*>(ptr)->~QGraphicsScene();
}
void QGraphicsScene_DestroyQGraphicsSceneDefault(void* ptr)
{
}
long long QGraphicsScene_ItemIndexMethod(void* ptr)
{
return static_cast<QGraphicsScene*>(ptr)->itemIndexMethod();
}
void* QGraphicsScene_BackgroundBrush(void* ptr)
{
return new QBrush(static_cast<QGraphicsScene*>(ptr)->backgroundBrush());
}
void* QGraphicsScene_ForegroundBrush(void* ptr)
{
return new QBrush(static_cast<QGraphicsScene*>(ptr)->foregroundBrush());
}
void* QGraphicsScene_Font(void* ptr)
{
return new QFont(static_cast<QGraphicsScene*>(ptr)->font());
}
void* QGraphicsScene_ActivePanel(void* ptr)
{
return static_cast<QGraphicsScene*>(ptr)->activePanel();
}
void* QGraphicsScene_FocusItem(void* ptr)
{
return static_cast<QGraphicsScene*>(ptr)->focusItem();
}
void* QGraphicsScene_ItemAt(void* ptr, void* position, void* deviceTransform)
{
return static_cast<QGraphicsScene*>(ptr)->itemAt(*static_cast<QPointF*>(position), *static_cast<QTransform*>(deviceTransform));
}
void* QGraphicsScene_ItemAt4(void* ptr, double x, double y, void* deviceTransform)
{
return static_cast<QGraphicsScene*>(ptr)->itemAt(x, y, *static_cast<QTransform*>(deviceTransform));
}
void* QGraphicsScene_MouseGrabberItem(void* ptr)
{
return static_cast<QGraphicsScene*>(ptr)->mouseGrabberItem();
}
void* QGraphicsScene_ActiveWindow(void* ptr)
{
return static_cast<QGraphicsScene*>(ptr)->activeWindow();
}
struct QtWidgets_PackedList QGraphicsScene_CollidingItems(void* ptr, void* item, long long mode)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsScene*>(ptr)->collidingItems(static_cast<QGraphicsObject*>(item), static_cast<Qt::ItemSelectionMode>(mode))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsScene*>(ptr)->collidingItems(static_cast<QGraphicsWidget*>(item), static_cast<Qt::ItemSelectionMode>(mode))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
} else {
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsScene*>(ptr)->collidingItems(static_cast<QGraphicsItem*>(item), static_cast<Qt::ItemSelectionMode>(mode))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
}
struct QtWidgets_PackedList QGraphicsScene_Items(void* ptr, long long order)
{
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsScene*>(ptr)->items(static_cast<Qt::SortOrder>(order))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QGraphicsScene_Items5(void* ptr, void* path, long long mode, long long order, void* deviceTransform)
{
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsScene*>(ptr)->items(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode), static_cast<Qt::SortOrder>(order), *static_cast<QTransform*>(deviceTransform))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QGraphicsScene_Items2(void* ptr, void* pos, long long mode, long long order, void* deviceTransform)
{
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsScene*>(ptr)->items(*static_cast<QPointF*>(pos), static_cast<Qt::ItemSelectionMode>(mode), static_cast<Qt::SortOrder>(order), *static_cast<QTransform*>(deviceTransform))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QGraphicsScene_Items4(void* ptr, void* polygon, long long mode, long long order, void* deviceTransform)
{
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsScene*>(ptr)->items(*static_cast<QPolygonF*>(polygon), static_cast<Qt::ItemSelectionMode>(mode), static_cast<Qt::SortOrder>(order), *static_cast<QTransform*>(deviceTransform))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QGraphicsScene_Items3(void* ptr, void* rect, long long mode, long long order, void* deviceTransform)
{
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsScene*>(ptr)->items(*static_cast<QRectF*>(rect), static_cast<Qt::ItemSelectionMode>(mode), static_cast<Qt::SortOrder>(order), *static_cast<QTransform*>(deviceTransform))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QGraphicsScene_Items7(void* ptr, double x, double y, double w, double h, long long mode, long long order, void* deviceTransform)
{
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsScene*>(ptr)->items(x, y, w, h, static_cast<Qt::ItemSelectionMode>(mode), static_cast<Qt::SortOrder>(order), *static_cast<QTransform*>(deviceTransform))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QGraphicsScene_SelectedItems(void* ptr)
{
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsScene*>(ptr)->selectedItems()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QGraphicsScene_Views(void* ptr)
{
return ({ QList<QGraphicsView *>* tmpValue = new QList<QGraphicsView *>(static_cast<QGraphicsScene*>(ptr)->views()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QGraphicsScene_SelectionArea(void* ptr)
{
return new QPainterPath(static_cast<QGraphicsScene*>(ptr)->selectionArea());
}
void* QGraphicsScene_Palette(void* ptr)
{
return new QPalette(static_cast<QGraphicsScene*>(ptr)->palette());
}
void* QGraphicsScene_ItemsBoundingRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsScene*>(ptr)->itemsBoundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsScene_SceneRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsScene*>(ptr)->sceneRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsScene_Style(void* ptr)
{
return static_cast<QGraphicsScene*>(ptr)->style();
}
void* QGraphicsScene_InputMethodQuery(void* ptr, long long query)
{
return new QVariant(static_cast<QGraphicsScene*>(ptr)->inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
}
void* QGraphicsScene_InputMethodQueryDefault(void* ptr, long long query)
{
return new QVariant(static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
}
char QGraphicsScene_HasFocus(void* ptr)
{
return static_cast<QGraphicsScene*>(ptr)->hasFocus();
}
char QGraphicsScene_IsActive(void* ptr)
{
return static_cast<QGraphicsScene*>(ptr)->isActive();
}
char QGraphicsScene_IsSortCacheEnabled(void* ptr)
{
return static_cast<QGraphicsScene*>(ptr)->isSortCacheEnabled();
}
char QGraphicsScene_StickyFocus(void* ptr)
{
return static_cast<QGraphicsScene*>(ptr)->stickyFocus();
}
int QGraphicsScene_BspTreeDepth(void* ptr)
{
return static_cast<QGraphicsScene*>(ptr)->bspTreeDepth();
}
double QGraphicsScene_Height(void* ptr)
{
return static_cast<QGraphicsScene*>(ptr)->height();
}
double QGraphicsScene_MinimumRenderSize(void* ptr)
{
return static_cast<QGraphicsScene*>(ptr)->minimumRenderSize();
}
double QGraphicsScene_Width(void* ptr)
{
return static_cast<QGraphicsScene*>(ptr)->width();
}
void* QGraphicsScene___createItemGroup_items_atList(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsScene___createItemGroup_items_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsScene___createItemGroup_items_newList(void* ptr)
{
return new QList<QGraphicsItem *>;
}
void* QGraphicsScene___changed_region_atList(void* ptr, int i)
{
return ({ QRectF tmpValue = static_cast<QList<QRectF>*>(ptr)->at(i); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void QGraphicsScene___changed_region_setList(void* ptr, void* i)
{
static_cast<QList<QRectF>*>(ptr)->append(*static_cast<QRectF*>(i));
}
void* QGraphicsScene___changed_region_newList(void* ptr)
{
return new QList<QRectF>;
}
void* QGraphicsScene___collidingItems_atList(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsScene___collidingItems_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsScene___collidingItems_newList(void* ptr)
{
return new QList<QGraphicsItem *>;
}
void* QGraphicsScene___items_atList(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsScene___items_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsScene___items_newList(void* ptr)
{
return new QList<QGraphicsItem *>;
}
void* QGraphicsScene___items_atList5(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsScene___items_setList5(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsScene___items_newList5(void* ptr)
{
return new QList<QGraphicsItem *>;
}
void* QGraphicsScene___items_atList2(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsScene___items_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsScene___items_newList2(void* ptr)
{
return new QList<QGraphicsItem *>;
}
void* QGraphicsScene___items_atList4(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsScene___items_setList4(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsScene___items_newList4(void* ptr)
{
return new QList<QGraphicsItem *>;
}
void* QGraphicsScene___items_atList3(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsScene___items_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsScene___items_newList3(void* ptr)
{
return new QList<QGraphicsItem *>;
}
void* QGraphicsScene___items_atList7(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsScene___items_setList7(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsScene___items_newList7(void* ptr)
{
return new QList<QGraphicsItem *>;
}
void* QGraphicsScene___selectedItems_atList(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsScene___selectedItems_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsScene___selectedItems_newList(void* ptr)
{
return new QList<QGraphicsItem *>;
}
void* QGraphicsScene___views_atList(void* ptr, int i)
{
return const_cast<QGraphicsView*>(static_cast<QList<QGraphicsView *>*>(ptr)->at(i));
}
void QGraphicsScene___views_setList(void* ptr, void* i)
{
static_cast<QList<QGraphicsView *>*>(ptr)->append(static_cast<QGraphicsView*>(i));
}
void* QGraphicsScene___views_newList(void* ptr)
{
return new QList<QGraphicsView *>;
}
void* QGraphicsScene___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QGraphicsScene___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QGraphicsScene___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QGraphicsScene___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QGraphicsScene___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsScene___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QGraphicsScene___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QGraphicsScene___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsScene___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QGraphicsScene___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QGraphicsScene___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsScene___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QGraphicsScene___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QGraphicsScene___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsScene___children_newList(void* ptr)
{
return new QList<QObject *>;
}
void QGraphicsScene_ChildEventDefault(void* ptr, void* event)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::childEvent(static_cast<QChildEvent*>(event));
}
void QGraphicsScene_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QGraphicsScene_CustomEventDefault(void* ptr, void* event)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::customEvent(static_cast<QEvent*>(event));
}
void QGraphicsScene_DeleteLaterDefault(void* ptr)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::deleteLater();
}
void QGraphicsScene_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QGraphicsScene_TimerEventDefault(void* ptr, void* event)
{
static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QGraphicsScene_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QGraphicsScene*>(ptr)->QGraphicsScene::metaObject());
}
class MyQGraphicsSceneContextMenuEvent: public QGraphicsSceneContextMenuEvent
{
public:
};
void QGraphicsSceneContextMenuEvent_DestroyQGraphicsSceneContextMenuEvent(void* ptr)
{
static_cast<QGraphicsSceneContextMenuEvent*>(ptr)->~QGraphicsSceneContextMenuEvent();
}
void* QGraphicsSceneContextMenuEvent_ScreenPos(void* ptr)
{
return ({ QPoint tmpValue = static_cast<QGraphicsSceneContextMenuEvent*>(ptr)->screenPos(); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneContextMenuEvent_Pos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneContextMenuEvent*>(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneContextMenuEvent_ScenePos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneContextMenuEvent*>(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
long long QGraphicsSceneContextMenuEvent_Modifiers(void* ptr)
{
return static_cast<QGraphicsSceneContextMenuEvent*>(ptr)->modifiers();
}
long long QGraphicsSceneContextMenuEvent_Reason(void* ptr)
{
return static_cast<QGraphicsSceneContextMenuEvent*>(ptr)->reason();
}
class MyQGraphicsSceneDragDropEvent: public QGraphicsSceneDragDropEvent
{
public:
};
void QGraphicsSceneDragDropEvent_AcceptProposedAction(void* ptr)
{
static_cast<QGraphicsSceneDragDropEvent*>(ptr)->acceptProposedAction();
}
void QGraphicsSceneDragDropEvent_SetDropAction(void* ptr, long long action)
{
static_cast<QGraphicsSceneDragDropEvent*>(ptr)->setDropAction(static_cast<Qt::DropAction>(action));
}
void QGraphicsSceneDragDropEvent_DestroyQGraphicsSceneDragDropEvent(void* ptr)
{
static_cast<QGraphicsSceneDragDropEvent*>(ptr)->~QGraphicsSceneDragDropEvent();
}
void* QGraphicsSceneDragDropEvent_ScreenPos(void* ptr)
{
return ({ QPoint tmpValue = static_cast<QGraphicsSceneDragDropEvent*>(ptr)->screenPos(); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneDragDropEvent_Pos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneDragDropEvent*>(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneDragDropEvent_ScenePos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneDragDropEvent*>(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneDragDropEvent_Source(void* ptr)
{
return static_cast<QGraphicsSceneDragDropEvent*>(ptr)->source();
}
long long QGraphicsSceneDragDropEvent_DropAction(void* ptr)
{
return static_cast<QGraphicsSceneDragDropEvent*>(ptr)->dropAction();
}
long long QGraphicsSceneDragDropEvent_ProposedAction(void* ptr)
{
return static_cast<QGraphicsSceneDragDropEvent*>(ptr)->proposedAction();
}
long long QGraphicsSceneDragDropEvent_PossibleActions(void* ptr)
{
return static_cast<QGraphicsSceneDragDropEvent*>(ptr)->possibleActions();
}
long long QGraphicsSceneDragDropEvent_Modifiers(void* ptr)
{
return static_cast<QGraphicsSceneDragDropEvent*>(ptr)->modifiers();
}
long long QGraphicsSceneDragDropEvent_Buttons(void* ptr)
{
return static_cast<QGraphicsSceneDragDropEvent*>(ptr)->buttons();
}
void* QGraphicsSceneDragDropEvent_MimeData(void* ptr)
{
return const_cast<QMimeData*>(static_cast<QGraphicsSceneDragDropEvent*>(ptr)->mimeData());
}
class MyQGraphicsSceneEvent: public QGraphicsSceneEvent
{
public:
};
void QGraphicsSceneEvent_DestroyQGraphicsSceneEvent(void* ptr)
{
static_cast<QGraphicsSceneEvent*>(ptr)->~QGraphicsSceneEvent();
}
void* QGraphicsSceneEvent_Widget(void* ptr)
{
return static_cast<QGraphicsSceneEvent*>(ptr)->widget();
}
class MyQGraphicsSceneHelpEvent: public QGraphicsSceneHelpEvent
{
public:
};
void QGraphicsSceneHelpEvent_DestroyQGraphicsSceneHelpEvent(void* ptr)
{
static_cast<QGraphicsSceneHelpEvent*>(ptr)->~QGraphicsSceneHelpEvent();
}
void* QGraphicsSceneHelpEvent_ScreenPos(void* ptr)
{
return ({ QPoint tmpValue = static_cast<QGraphicsSceneHelpEvent*>(ptr)->screenPos(); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneHelpEvent_ScenePos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneHelpEvent*>(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
class MyQGraphicsSceneHoverEvent: public QGraphicsSceneHoverEvent
{
public:
};
void QGraphicsSceneHoverEvent_DestroyQGraphicsSceneHoverEvent(void* ptr)
{
static_cast<QGraphicsSceneHoverEvent*>(ptr)->~QGraphicsSceneHoverEvent();
}
void* QGraphicsSceneHoverEvent_LastScreenPos(void* ptr)
{
return ({ QPoint tmpValue = static_cast<QGraphicsSceneHoverEvent*>(ptr)->lastScreenPos(); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneHoverEvent_ScreenPos(void* ptr)
{
return ({ QPoint tmpValue = static_cast<QGraphicsSceneHoverEvent*>(ptr)->screenPos(); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneHoverEvent_LastPos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneHoverEvent*>(ptr)->lastPos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneHoverEvent_LastScenePos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneHoverEvent*>(ptr)->lastScenePos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneHoverEvent_Pos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneHoverEvent*>(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneHoverEvent_ScenePos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneHoverEvent*>(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
long long QGraphicsSceneHoverEvent_Modifiers(void* ptr)
{
return static_cast<QGraphicsSceneHoverEvent*>(ptr)->modifiers();
}
class MyQGraphicsSceneMouseEvent: public QGraphicsSceneMouseEvent
{
public:
};
void QGraphicsSceneMouseEvent_DestroyQGraphicsSceneMouseEvent(void* ptr)
{
static_cast<QGraphicsSceneMouseEvent*>(ptr)->~QGraphicsSceneMouseEvent();
}
void* QGraphicsSceneMouseEvent_ButtonDownScreenPos(void* ptr, long long button)
{
return ({ QPoint tmpValue = static_cast<QGraphicsSceneMouseEvent*>(ptr)->buttonDownScreenPos(static_cast<Qt::MouseButton>(button)); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneMouseEvent_LastScreenPos(void* ptr)
{
return ({ QPoint tmpValue = static_cast<QGraphicsSceneMouseEvent*>(ptr)->lastScreenPos(); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneMouseEvent_ScreenPos(void* ptr)
{
return ({ QPoint tmpValue = static_cast<QGraphicsSceneMouseEvent*>(ptr)->screenPos(); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneMouseEvent_ButtonDownPos(void* ptr, long long button)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneMouseEvent*>(ptr)->buttonDownPos(static_cast<Qt::MouseButton>(button)); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneMouseEvent_ButtonDownScenePos(void* ptr, long long button)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneMouseEvent*>(ptr)->buttonDownScenePos(static_cast<Qt::MouseButton>(button)); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneMouseEvent_LastPos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneMouseEvent*>(ptr)->lastPos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneMouseEvent_LastScenePos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneMouseEvent*>(ptr)->lastScenePos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneMouseEvent_Pos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneMouseEvent*>(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneMouseEvent_ScenePos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneMouseEvent*>(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
long long QGraphicsSceneMouseEvent_Modifiers(void* ptr)
{
return static_cast<QGraphicsSceneMouseEvent*>(ptr)->modifiers();
}
long long QGraphicsSceneMouseEvent_Button(void* ptr)
{
return static_cast<QGraphicsSceneMouseEvent*>(ptr)->button();
}
long long QGraphicsSceneMouseEvent_Buttons(void* ptr)
{
return static_cast<QGraphicsSceneMouseEvent*>(ptr)->buttons();
}
long long QGraphicsSceneMouseEvent_Flags(void* ptr)
{
return static_cast<QGraphicsSceneMouseEvent*>(ptr)->flags();
}
long long QGraphicsSceneMouseEvent_Source(void* ptr)
{
return static_cast<QGraphicsSceneMouseEvent*>(ptr)->source();
}
class MyQGraphicsSceneMoveEvent: public QGraphicsSceneMoveEvent
{
public:
MyQGraphicsSceneMoveEvent() : QGraphicsSceneMoveEvent() {};
};
void* QGraphicsSceneMoveEvent_NewQGraphicsSceneMoveEvent()
{
return new MyQGraphicsSceneMoveEvent();
}
void QGraphicsSceneMoveEvent_DestroyQGraphicsSceneMoveEvent(void* ptr)
{
static_cast<QGraphicsSceneMoveEvent*>(ptr)->~QGraphicsSceneMoveEvent();
}
void* QGraphicsSceneMoveEvent_NewPos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneMoveEvent*>(ptr)->newPos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneMoveEvent_OldPos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneMoveEvent*>(ptr)->oldPos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
class MyQGraphicsSceneResizeEvent: public QGraphicsSceneResizeEvent
{
public:
MyQGraphicsSceneResizeEvent() : QGraphicsSceneResizeEvent() {};
};
void* QGraphicsSceneResizeEvent_NewQGraphicsSceneResizeEvent()
{
return new MyQGraphicsSceneResizeEvent();
}
void QGraphicsSceneResizeEvent_DestroyQGraphicsSceneResizeEvent(void* ptr)
{
static_cast<QGraphicsSceneResizeEvent*>(ptr)->~QGraphicsSceneResizeEvent();
}
void* QGraphicsSceneResizeEvent_NewSize(void* ptr)
{
return ({ QSizeF tmpValue = static_cast<QGraphicsSceneResizeEvent*>(ptr)->newSize(); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsSceneResizeEvent_OldSize(void* ptr)
{
return ({ QSizeF tmpValue = static_cast<QGraphicsSceneResizeEvent*>(ptr)->oldSize(); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
class MyQGraphicsSceneWheelEvent: public QGraphicsSceneWheelEvent
{
public:
};
void QGraphicsSceneWheelEvent_DestroyQGraphicsSceneWheelEvent(void* ptr)
{
static_cast<QGraphicsSceneWheelEvent*>(ptr)->~QGraphicsSceneWheelEvent();
}
void* QGraphicsSceneWheelEvent_ScreenPos(void* ptr)
{
return ({ QPoint tmpValue = static_cast<QGraphicsSceneWheelEvent*>(ptr)->screenPos(); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneWheelEvent_Pos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneWheelEvent*>(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsSceneWheelEvent_ScenePos(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QGraphicsSceneWheelEvent*>(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
long long QGraphicsSceneWheelEvent_Modifiers(void* ptr)
{
return static_cast<QGraphicsSceneWheelEvent*>(ptr)->modifiers();
}
long long QGraphicsSceneWheelEvent_Buttons(void* ptr)
{
return static_cast<QGraphicsSceneWheelEvent*>(ptr)->buttons();
}
long long QGraphicsSceneWheelEvent_Orientation(void* ptr)
{
return static_cast<QGraphicsSceneWheelEvent*>(ptr)->orientation();
}
int QGraphicsSceneWheelEvent_Delta(void* ptr)
{
return static_cast<QGraphicsSceneWheelEvent*>(ptr)->delta();
}
class MyQGraphicsSimpleTextItem: public QGraphicsSimpleTextItem
{
public:
MyQGraphicsSimpleTextItem(QGraphicsItem *parent) : QGraphicsSimpleTextItem(parent) {};
MyQGraphicsSimpleTextItem(const QString &text, QGraphicsItem *parent) : QGraphicsSimpleTextItem(text, parent) {};
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsSimpleTextItem_Paint(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
QPainterPath opaqueArea() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_OpaqueArea(const_cast<void*>(static_cast<const void*>(this)))); };
QPainterPath shape() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_Shape(const_cast<void*>(static_cast<const void*>(this)))); };
QRectF boundingRect() const { return *static_cast<QRectF*>(callbackQGraphicsSimpleTextItem_BoundingRect(const_cast<void*>(static_cast<const void*>(this)))); };
bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&point)) != 0; };
bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(item)) != 0; };
int type() const { return callbackQGraphicsItem_Type(const_cast<void*>(static_cast<const void*>(this))); };
QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast<QVariant*>(callbackQGraphicsItem_ItemChange(this, change, const_cast<QVariant*>(&value))); };
bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; };
bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; };
void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); };
void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); };
void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); };
void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); };
void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); };
void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); };
void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); };
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); };
void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); };
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); };
void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); };
void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); };
void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsItem_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(other), mode) != 0; };
bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPainterPath*>(&path), mode) != 0; };
};
void* QGraphicsSimpleTextItem_NewQGraphicsSimpleTextItem(void* parent)
{
return new MyQGraphicsSimpleTextItem(static_cast<QGraphicsItem*>(parent));
}
void* QGraphicsSimpleTextItem_NewQGraphicsSimpleTextItem2(char* text, void* parent)
{
return new MyQGraphicsSimpleTextItem(QString(text), static_cast<QGraphicsItem*>(parent));
}
void QGraphicsSimpleTextItem_Paint(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsSimpleTextItem*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsSimpleTextItem_PaintDefault(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsSimpleTextItem_SetFont(void* ptr, void* font)
{
static_cast<QGraphicsSimpleTextItem*>(ptr)->setFont(*static_cast<QFont*>(font));
}
void QGraphicsSimpleTextItem_SetText(void* ptr, char* text)
{
static_cast<QGraphicsSimpleTextItem*>(ptr)->setText(QString(text));
}
void QGraphicsSimpleTextItem_DestroyQGraphicsSimpleTextItem(void* ptr)
{
static_cast<QGraphicsSimpleTextItem*>(ptr)->~QGraphicsSimpleTextItem();
}
void* QGraphicsSimpleTextItem_Font(void* ptr)
{
return new QFont(static_cast<QGraphicsSimpleTextItem*>(ptr)->font());
}
void* QGraphicsSimpleTextItem_BoundingRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsSimpleTextItem*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsSimpleTextItem_BoundingRectDefault(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsSimpleTextItem*>(ptr)->QGraphicsSimpleTextItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QGraphicsSimpleTextItem_Text(void* ptr)
{
return ({ QByteArray tb2ceed = static_cast<QGraphicsSimpleTextItem*>(ptr)->text().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tb2ceed.prepend("WHITESPACE").constData()+10), tb2ceed.size()-10 }; });
}
class MyQGraphicsTextItem: public QGraphicsTextItem
{
public:
MyQGraphicsTextItem(QGraphicsItem *parent) : QGraphicsTextItem(parent) {};
MyQGraphicsTextItem(const QString &text, QGraphicsItem *parent) : QGraphicsTextItem(text, parent) {};
bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; };
void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); };
void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); };
void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); };
void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); };
void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); };
void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); };
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); };
void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); };
void Signal_LinkActivated(const QString & link) { QByteArray t4f0aa5 = link.toUtf8(); QtWidgets_PackedString linkPacked = { const_cast<char*>(t4f0aa5.prepend("WHITESPACE").constData()+10), t4f0aa5.size()-10 };callbackQGraphicsTextItem_LinkActivated(this, linkPacked); };
void Signal_LinkHovered(const QString & link) { QByteArray t4f0aa5 = link.toUtf8(); QtWidgets_PackedString linkPacked = { const_cast<char*>(t4f0aa5.prepend("WHITESPACE").constData()+10), t4f0aa5.size()-10 };callbackQGraphicsTextItem_LinkHovered(this, linkPacked); };
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); };
void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); };
void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); };
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsTextItem_Paint(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
QPainterPath opaqueArea() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_OpaqueArea(const_cast<void*>(static_cast<const void*>(this)))); };
QPainterPath shape() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_Shape(const_cast<void*>(static_cast<const void*>(this)))); };
QRectF boundingRect() const { return *static_cast<QRectF*>(callbackQGraphicsTextItem_BoundingRect(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsItem_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&point)) != 0; };
bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(item)) != 0; };
int type() const { return callbackQGraphicsItem_Type(const_cast<void*>(static_cast<const void*>(this))); };
bool event(QEvent * ev) { return callbackQGraphicsObject_Event(this, ev) != 0; };
void Signal_EnabledChanged() { callbackQGraphicsObject_EnabledChanged(this); };
void Signal_OpacityChanged() { callbackQGraphicsObject_OpacityChanged(this); };
void Signal_ParentChanged() { callbackQGraphicsObject_ParentChanged(this); };
void Signal_RotationChanged() { callbackQGraphicsObject_RotationChanged(this); };
void Signal_ScaleChanged() { callbackQGraphicsObject_ScaleChanged(this); };
void updateMicroFocus() { callbackQGraphicsObject_UpdateMicroFocus(this); };
void Signal_VisibleChanged() { callbackQGraphicsObject_VisibleChanged(this); };
void Signal_XChanged() { callbackQGraphicsObject_XChanged(this); };
void Signal_YChanged() { callbackQGraphicsObject_YChanged(this); };
void Signal_ZChanged() { callbackQGraphicsObject_ZChanged(this); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsObject_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGraphicsObject_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGraphicsObject_CustomEvent(this, event); };
void deleteLater() { callbackQGraphicsObject_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGraphicsObject_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGraphicsObject_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGraphicsObject_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGraphicsObject_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast<QVariant*>(callbackQGraphicsItem_ItemChange(this, change, const_cast<QVariant*>(&value))); };
bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; };
void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); };
void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); };
bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(other), mode) != 0; };
bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPainterPath*>(&path), mode) != 0; };
};
void* QGraphicsTextItem_NewQGraphicsTextItem(void* parent)
{
return new MyQGraphicsTextItem(static_cast<QGraphicsItem*>(parent));
}
void* QGraphicsTextItem_NewQGraphicsTextItem2(char* text, void* parent)
{
return new MyQGraphicsTextItem(QString(text), static_cast<QGraphicsItem*>(parent));
}
void QGraphicsTextItem_AdjustSize(void* ptr)
{
static_cast<QGraphicsTextItem*>(ptr)->adjustSize();
}
void QGraphicsTextItem_ConnectLinkActivated(void* ptr)
{
QObject::connect(static_cast<QGraphicsTextItem*>(ptr), static_cast<void (QGraphicsTextItem::*)(const QString &)>(&QGraphicsTextItem::linkActivated), static_cast<MyQGraphicsTextItem*>(ptr), static_cast<void (MyQGraphicsTextItem::*)(const QString &)>(&MyQGraphicsTextItem::Signal_LinkActivated));
}
void QGraphicsTextItem_DisconnectLinkActivated(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsTextItem*>(ptr), static_cast<void (QGraphicsTextItem::*)(const QString &)>(&QGraphicsTextItem::linkActivated), static_cast<MyQGraphicsTextItem*>(ptr), static_cast<void (MyQGraphicsTextItem::*)(const QString &)>(&MyQGraphicsTextItem::Signal_LinkActivated));
}
void QGraphicsTextItem_LinkActivated(void* ptr, char* link)
{
static_cast<QGraphicsTextItem*>(ptr)->linkActivated(QString(link));
}
void QGraphicsTextItem_ConnectLinkHovered(void* ptr)
{
QObject::connect(static_cast<QGraphicsTextItem*>(ptr), static_cast<void (QGraphicsTextItem::*)(const QString &)>(&QGraphicsTextItem::linkHovered), static_cast<MyQGraphicsTextItem*>(ptr), static_cast<void (MyQGraphicsTextItem::*)(const QString &)>(&MyQGraphicsTextItem::Signal_LinkHovered));
}
void QGraphicsTextItem_DisconnectLinkHovered(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsTextItem*>(ptr), static_cast<void (QGraphicsTextItem::*)(const QString &)>(&QGraphicsTextItem::linkHovered), static_cast<MyQGraphicsTextItem*>(ptr), static_cast<void (MyQGraphicsTextItem::*)(const QString &)>(&MyQGraphicsTextItem::Signal_LinkHovered));
}
void QGraphicsTextItem_LinkHovered(void* ptr, char* link)
{
static_cast<QGraphicsTextItem*>(ptr)->linkHovered(QString(link));
}
void QGraphicsTextItem_Paint(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsTextItem*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsTextItem_PaintDefault(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsTextItem_SetDefaultTextColor(void* ptr, void* col)
{
static_cast<QGraphicsTextItem*>(ptr)->setDefaultTextColor(*static_cast<QColor*>(col));
}
void QGraphicsTextItem_SetDocument(void* ptr, void* document)
{
static_cast<QGraphicsTextItem*>(ptr)->setDocument(static_cast<QTextDocument*>(document));
}
void QGraphicsTextItem_SetFont(void* ptr, void* font)
{
static_cast<QGraphicsTextItem*>(ptr)->setFont(*static_cast<QFont*>(font));
}
void QGraphicsTextItem_SetHtml(void* ptr, char* text)
{
static_cast<QGraphicsTextItem*>(ptr)->setHtml(QString(text));
}
void QGraphicsTextItem_SetOpenExternalLinks(void* ptr, char open)
{
static_cast<QGraphicsTextItem*>(ptr)->setOpenExternalLinks(open != 0);
}
void QGraphicsTextItem_SetPlainText(void* ptr, char* text)
{
static_cast<QGraphicsTextItem*>(ptr)->setPlainText(QString(text));
}
void QGraphicsTextItem_SetTabChangesFocus(void* ptr, char b)
{
static_cast<QGraphicsTextItem*>(ptr)->setTabChangesFocus(b != 0);
}
void QGraphicsTextItem_SetTextCursor(void* ptr, void* cursor)
{
static_cast<QGraphicsTextItem*>(ptr)->setTextCursor(*static_cast<QTextCursor*>(cursor));
}
void QGraphicsTextItem_SetTextInteractionFlags(void* ptr, long long flags)
{
static_cast<QGraphicsTextItem*>(ptr)->setTextInteractionFlags(static_cast<Qt::TextInteractionFlag>(flags));
}
void QGraphicsTextItem_SetTextWidth(void* ptr, double width)
{
static_cast<QGraphicsTextItem*>(ptr)->setTextWidth(width);
}
void QGraphicsTextItem_DestroyQGraphicsTextItem(void* ptr)
{
static_cast<QGraphicsTextItem*>(ptr)->~QGraphicsTextItem();
}
void* QGraphicsTextItem_DefaultTextColor(void* ptr)
{
return new QColor(static_cast<QGraphicsTextItem*>(ptr)->defaultTextColor());
}
void* QGraphicsTextItem_Font(void* ptr)
{
return new QFont(static_cast<QGraphicsTextItem*>(ptr)->font());
}
void* QGraphicsTextItem_BoundingRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsTextItem*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsTextItem_BoundingRectDefault(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsTextItem*>(ptr)->QGraphicsTextItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QGraphicsTextItem_ToHtml(void* ptr)
{
return ({ QByteArray t880d4e = static_cast<QGraphicsTextItem*>(ptr)->toHtml().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t880d4e.prepend("WHITESPACE").constData()+10), t880d4e.size()-10 }; });
}
struct QtWidgets_PackedString QGraphicsTextItem_ToPlainText(void* ptr)
{
return ({ QByteArray t3e9441 = static_cast<QGraphicsTextItem*>(ptr)->toPlainText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t3e9441.prepend("WHITESPACE").constData()+10), t3e9441.size()-10 }; });
}
void* QGraphicsTextItem_TextCursor(void* ptr)
{
return new QTextCursor(static_cast<QGraphicsTextItem*>(ptr)->textCursor());
}
void* QGraphicsTextItem_Document(void* ptr)
{
return static_cast<QGraphicsTextItem*>(ptr)->document();
}
long long QGraphicsTextItem_TextInteractionFlags(void* ptr)
{
return static_cast<QGraphicsTextItem*>(ptr)->textInteractionFlags();
}
char QGraphicsTextItem_OpenExternalLinks(void* ptr)
{
return static_cast<QGraphicsTextItem*>(ptr)->openExternalLinks();
}
char QGraphicsTextItem_TabChangesFocus(void* ptr)
{
return static_cast<QGraphicsTextItem*>(ptr)->tabChangesFocus();
}
double QGraphicsTextItem_TextWidth(void* ptr)
{
return static_cast<QGraphicsTextItem*>(ptr)->textWidth();
}
class MyQGraphicsTransform: public QGraphicsTransform
{
public:
MyQGraphicsTransform(QObject *parent) : QGraphicsTransform(parent) {};
void update() { callbackQGraphicsTransform_Update(this); };
void applyTo(QMatrix4x4 * matrix) const { callbackQGraphicsTransform_ApplyTo(const_cast<void*>(static_cast<const void*>(this)), matrix); };
bool event(QEvent * e) { return callbackQGraphicsTransform_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsTransform_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGraphicsTransform_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGraphicsTransform_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGraphicsTransform_CustomEvent(this, event); };
void deleteLater() { callbackQGraphicsTransform_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGraphicsTransform_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsTransform_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGraphicsTransform_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGraphicsTransform_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGraphicsTransform_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QGraphicsTransform_NewQGraphicsTransform(void* parent)
{
return new MyQGraphicsTransform(static_cast<QObject*>(parent));
}
void QGraphicsTransform_Update(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QGraphicsTransform*>(ptr), "update");
}
void QGraphicsTransform_UpdateDefault(void* ptr)
{
if (dynamic_cast<QGraphicsScale*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsScale*>(ptr)->QGraphicsScale::update();
} else if (dynamic_cast<QGraphicsRotation*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRotation*>(ptr)->QGraphicsRotation::update();
} else {
static_cast<QGraphicsTransform*>(ptr)->QGraphicsTransform::update();
}
}
void QGraphicsTransform_DestroyQGraphicsTransform(void* ptr)
{
static_cast<QGraphicsTransform*>(ptr)->~QGraphicsTransform();
}
void QGraphicsTransform_ApplyTo(void* ptr, void* matrix)
{
static_cast<QGraphicsTransform*>(ptr)->applyTo(static_cast<QMatrix4x4*>(matrix));
}
void* QGraphicsTransform___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QGraphicsTransform___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QGraphicsTransform___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QGraphicsTransform___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QGraphicsTransform___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsTransform___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QGraphicsTransform___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QGraphicsTransform___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsTransform___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QGraphicsTransform___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QGraphicsTransform___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsTransform___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QGraphicsTransform___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QGraphicsTransform___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QGraphicsTransform___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QGraphicsTransform_EventDefault(void* ptr, void* e)
{
if (dynamic_cast<QGraphicsScale*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsScale*>(ptr)->QGraphicsScale::event(static_cast<QEvent*>(e));
} else if (dynamic_cast<QGraphicsRotation*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsRotation*>(ptr)->QGraphicsRotation::event(static_cast<QEvent*>(e));
} else {
return static_cast<QGraphicsTransform*>(ptr)->QGraphicsTransform::event(static_cast<QEvent*>(e));
}
}
char QGraphicsTransform_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsScale*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsScale*>(ptr)->QGraphicsScale::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsScale*>(ptr)->QGraphicsScale::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsScale*>(ptr)->QGraphicsScale::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsScale*>(ptr)->QGraphicsScale::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsScale*>(ptr)->QGraphicsScale::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsRotation*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsRotation*>(ptr)->QGraphicsRotation::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsRotation*>(ptr)->QGraphicsRotation::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsRotation*>(ptr)->QGraphicsRotation::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsRotation*>(ptr)->QGraphicsRotation::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsRotation*>(ptr)->QGraphicsRotation::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsTransform*>(ptr)->QGraphicsTransform::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsTransform*>(ptr)->QGraphicsTransform::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsTransform*>(ptr)->QGraphicsTransform::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsTransform*>(ptr)->QGraphicsTransform::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsTransform*>(ptr)->QGraphicsTransform::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
}
void QGraphicsTransform_ChildEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsScale*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsScale*>(ptr)->QGraphicsScale::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QGraphicsRotation*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRotation*>(ptr)->QGraphicsRotation::childEvent(static_cast<QChildEvent*>(event));
} else {
static_cast<QGraphicsTransform*>(ptr)->QGraphicsTransform::childEvent(static_cast<QChildEvent*>(event));
}
}
void QGraphicsTransform_ConnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QGraphicsScale*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsScale*>(ptr)->QGraphicsScale::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGraphicsRotation*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRotation*>(ptr)->QGraphicsRotation::connectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QGraphicsTransform*>(ptr)->QGraphicsTransform::connectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QGraphicsTransform_CustomEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsScale*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsScale*>(ptr)->QGraphicsScale::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsRotation*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRotation*>(ptr)->QGraphicsRotation::customEvent(static_cast<QEvent*>(event));
} else {
static_cast<QGraphicsTransform*>(ptr)->QGraphicsTransform::customEvent(static_cast<QEvent*>(event));
}
}
void QGraphicsTransform_DeleteLaterDefault(void* ptr)
{
if (dynamic_cast<QGraphicsScale*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsScale*>(ptr)->QGraphicsScale::deleteLater();
} else if (dynamic_cast<QGraphicsRotation*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRotation*>(ptr)->QGraphicsRotation::deleteLater();
} else {
static_cast<QGraphicsTransform*>(ptr)->QGraphicsTransform::deleteLater();
}
}
void QGraphicsTransform_DisconnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QGraphicsScale*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsScale*>(ptr)->QGraphicsScale::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGraphicsRotation*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRotation*>(ptr)->QGraphicsRotation::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QGraphicsTransform*>(ptr)->QGraphicsTransform::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QGraphicsTransform_TimerEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsScale*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsScale*>(ptr)->QGraphicsScale::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QGraphicsRotation*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsRotation*>(ptr)->QGraphicsRotation::timerEvent(static_cast<QTimerEvent*>(event));
} else {
static_cast<QGraphicsTransform*>(ptr)->QGraphicsTransform::timerEvent(static_cast<QTimerEvent*>(event));
}
}
void* QGraphicsTransform_MetaObjectDefault(void* ptr)
{
if (dynamic_cast<QGraphicsScale*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QGraphicsScale*>(ptr)->QGraphicsScale::metaObject());
} else if (dynamic_cast<QGraphicsRotation*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QGraphicsRotation*>(ptr)->QGraphicsRotation::metaObject());
} else {
return const_cast<QMetaObject*>(static_cast<QGraphicsTransform*>(ptr)->QGraphicsTransform::metaObject());
}
}
class MyQGraphicsView: public QGraphicsView
{
public:
MyQGraphicsView(QGraphicsScene *scene, QWidget *parent) : QGraphicsView(scene, parent) {};
MyQGraphicsView(QWidget *parent) : QGraphicsView(parent) {};
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void drawBackground(QPainter * painter, const QRectF & rect) { callbackQGraphicsView_DrawBackground(this, painter, const_cast<QRectF*>(&rect)); };
void drawForeground(QPainter * painter, const QRectF & rect) { callbackQGraphicsView_DrawForeground(this, painter, const_cast<QRectF*>(&rect)); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void invalidateScene(const QRectF & rect, QGraphicsScene::SceneLayers layers) { callbackQGraphicsView_InvalidateScene(this, const_cast<QRectF*>(&rect), layers); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void Signal_RubberBandChanged(QRect rubberBandRect, QPointF fromScenePoint, QPointF toScenePoint) { callbackQGraphicsView_RubberBandChanged(this, ({ QRect tmpValue = rubberBandRect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }), ({ QPointF tmpValue = fromScenePoint; new QPointF(tmpValue.x(), tmpValue.y()); }), ({ QPointF tmpValue = toScenePoint; new QPointF(tmpValue.x(), tmpValue.y()); })); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void setupViewport(QWidget * widget) { callbackQGraphicsView_SetupViewport(this, widget); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void updateScene(const QList<QRectF> & rects) { callbackQGraphicsView_UpdateScene(this, ({ QList<QRectF>* tmpValue = const_cast<QList<QRectF>*>(&rects); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })); };
void updateSceneRect(const QRectF & rect) { callbackQGraphicsView_UpdateSceneRect(this, const_cast<QRectF*>(&rect)); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QGraphicsView_NewQGraphicsView2(void* scene, void* parent)
{
return new MyQGraphicsView(static_cast<QGraphicsScene*>(scene), static_cast<QWidget*>(parent));
}
void* QGraphicsView_NewQGraphicsView(void* parent)
{
return new MyQGraphicsView(static_cast<QWidget*>(parent));
}
void QGraphicsView_CenterOn3(void* ptr, void* item)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsView*>(ptr)->centerOn(static_cast<QGraphicsObject*>(item));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsView*>(ptr)->centerOn(static_cast<QGraphicsWidget*>(item));
} else {
static_cast<QGraphicsView*>(ptr)->centerOn(static_cast<QGraphicsItem*>(item));
}
}
void QGraphicsView_CenterOn(void* ptr, void* pos)
{
static_cast<QGraphicsView*>(ptr)->centerOn(*static_cast<QPointF*>(pos));
}
void QGraphicsView_CenterOn2(void* ptr, double x, double y)
{
static_cast<QGraphicsView*>(ptr)->centerOn(x, y);
}
void QGraphicsView_DrawBackground(void* ptr, void* painter, void* rect)
{
static_cast<QGraphicsView*>(ptr)->drawBackground(static_cast<QPainter*>(painter), *static_cast<QRectF*>(rect));
}
void QGraphicsView_DrawBackgroundDefault(void* ptr, void* painter, void* rect)
{
static_cast<QGraphicsView*>(ptr)->QGraphicsView::drawBackground(static_cast<QPainter*>(painter), *static_cast<QRectF*>(rect));
}
void QGraphicsView_DrawForeground(void* ptr, void* painter, void* rect)
{
static_cast<QGraphicsView*>(ptr)->drawForeground(static_cast<QPainter*>(painter), *static_cast<QRectF*>(rect));
}
void QGraphicsView_DrawForegroundDefault(void* ptr, void* painter, void* rect)
{
static_cast<QGraphicsView*>(ptr)->QGraphicsView::drawForeground(static_cast<QPainter*>(painter), *static_cast<QRectF*>(rect));
}
void QGraphicsView_EnsureVisible3(void* ptr, void* item, int xmargin, int ymargin)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsView*>(ptr)->ensureVisible(static_cast<QGraphicsObject*>(item), xmargin, ymargin);
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsView*>(ptr)->ensureVisible(static_cast<QGraphicsWidget*>(item), xmargin, ymargin);
} else {
static_cast<QGraphicsView*>(ptr)->ensureVisible(static_cast<QGraphicsItem*>(item), xmargin, ymargin);
}
}
void QGraphicsView_EnsureVisible(void* ptr, void* rect, int xmargin, int ymargin)
{
static_cast<QGraphicsView*>(ptr)->ensureVisible(*static_cast<QRectF*>(rect), xmargin, ymargin);
}
void QGraphicsView_EnsureVisible2(void* ptr, double x, double y, double w, double h, int xmargin, int ymargin)
{
static_cast<QGraphicsView*>(ptr)->ensureVisible(x, y, w, h, xmargin, ymargin);
}
void QGraphicsView_FitInView3(void* ptr, void* item, long long aspectRatioMode)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsView*>(ptr)->fitInView(static_cast<QGraphicsObject*>(item), static_cast<Qt::AspectRatioMode>(aspectRatioMode));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(item))) {
static_cast<QGraphicsView*>(ptr)->fitInView(static_cast<QGraphicsWidget*>(item), static_cast<Qt::AspectRatioMode>(aspectRatioMode));
} else {
static_cast<QGraphicsView*>(ptr)->fitInView(static_cast<QGraphicsItem*>(item), static_cast<Qt::AspectRatioMode>(aspectRatioMode));
}
}
void QGraphicsView_FitInView(void* ptr, void* rect, long long aspectRatioMode)
{
static_cast<QGraphicsView*>(ptr)->fitInView(*static_cast<QRectF*>(rect), static_cast<Qt::AspectRatioMode>(aspectRatioMode));
}
void QGraphicsView_FitInView2(void* ptr, double x, double y, double w, double h, long long aspectRatioMode)
{
static_cast<QGraphicsView*>(ptr)->fitInView(x, y, w, h, static_cast<Qt::AspectRatioMode>(aspectRatioMode));
}
void QGraphicsView_InvalidateScene(void* ptr, void* rect, long long layers)
{
QMetaObject::invokeMethod(static_cast<QGraphicsView*>(ptr), "invalidateScene", Q_ARG(QRectF, *static_cast<QRectF*>(rect)), Q_ARG(QGraphicsScene::SceneLayer, static_cast<QGraphicsScene::SceneLayer>(layers)));
}
void QGraphicsView_InvalidateSceneDefault(void* ptr, void* rect, long long layers)
{
static_cast<QGraphicsView*>(ptr)->QGraphicsView::invalidateScene(*static_cast<QRectF*>(rect), static_cast<QGraphicsScene::SceneLayer>(layers));
}
void QGraphicsView_Render(void* ptr, void* painter, void* target, void* source, long long aspectRatioMode)
{
static_cast<QGraphicsView*>(ptr)->render(static_cast<QPainter*>(painter), *static_cast<QRectF*>(target), *static_cast<QRect*>(source), static_cast<Qt::AspectRatioMode>(aspectRatioMode));
}
void QGraphicsView_ResetCachedContent(void* ptr)
{
static_cast<QGraphicsView*>(ptr)->resetCachedContent();
}
void QGraphicsView_ResetMatrix(void* ptr)
{
static_cast<QGraphicsView*>(ptr)->resetMatrix();
}
void QGraphicsView_ResetTransform(void* ptr)
{
static_cast<QGraphicsView*>(ptr)->resetTransform();
}
void QGraphicsView_Rotate(void* ptr, double angle)
{
static_cast<QGraphicsView*>(ptr)->rotate(angle);
}
void QGraphicsView_ConnectRubberBandChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsView*>(ptr), static_cast<void (QGraphicsView::*)(QRect, QPointF, QPointF)>(&QGraphicsView::rubberBandChanged), static_cast<MyQGraphicsView*>(ptr), static_cast<void (MyQGraphicsView::*)(QRect, QPointF, QPointF)>(&MyQGraphicsView::Signal_RubberBandChanged));
}
void QGraphicsView_DisconnectRubberBandChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsView*>(ptr), static_cast<void (QGraphicsView::*)(QRect, QPointF, QPointF)>(&QGraphicsView::rubberBandChanged), static_cast<MyQGraphicsView*>(ptr), static_cast<void (MyQGraphicsView::*)(QRect, QPointF, QPointF)>(&MyQGraphicsView::Signal_RubberBandChanged));
}
void QGraphicsView_RubberBandChanged(void* ptr, void* rubberBandRect, void* fromScenePoint, void* toScenePoint)
{
static_cast<QGraphicsView*>(ptr)->rubberBandChanged(*static_cast<QRect*>(rubberBandRect), *static_cast<QPointF*>(fromScenePoint), *static_cast<QPointF*>(toScenePoint));
}
void QGraphicsView_Scale(void* ptr, double sx, double sy)
{
static_cast<QGraphicsView*>(ptr)->scale(sx, sy);
}
void QGraphicsView_SetAlignment(void* ptr, long long alignment)
{
static_cast<QGraphicsView*>(ptr)->setAlignment(static_cast<Qt::AlignmentFlag>(alignment));
}
void QGraphicsView_SetBackgroundBrush(void* ptr, void* brush)
{
static_cast<QGraphicsView*>(ptr)->setBackgroundBrush(*static_cast<QBrush*>(brush));
}
void QGraphicsView_SetCacheMode(void* ptr, long long mode)
{
static_cast<QGraphicsView*>(ptr)->setCacheMode(static_cast<QGraphicsView::CacheModeFlag>(mode));
}
void QGraphicsView_SetDragMode(void* ptr, long long mode)
{
static_cast<QGraphicsView*>(ptr)->setDragMode(static_cast<QGraphicsView::DragMode>(mode));
}
void QGraphicsView_SetForegroundBrush(void* ptr, void* brush)
{
static_cast<QGraphicsView*>(ptr)->setForegroundBrush(*static_cast<QBrush*>(brush));
}
void QGraphicsView_SetInteractive(void* ptr, char allowed)
{
static_cast<QGraphicsView*>(ptr)->setInteractive(allowed != 0);
}
void QGraphicsView_SetOptimizationFlag(void* ptr, long long flag, char enabled)
{
static_cast<QGraphicsView*>(ptr)->setOptimizationFlag(static_cast<QGraphicsView::OptimizationFlag>(flag), enabled != 0);
}
void QGraphicsView_SetOptimizationFlags(void* ptr, long long flags)
{
static_cast<QGraphicsView*>(ptr)->setOptimizationFlags(static_cast<QGraphicsView::OptimizationFlag>(flags));
}
void QGraphicsView_SetRenderHint(void* ptr, long long hint, char enabled)
{
static_cast<QGraphicsView*>(ptr)->setRenderHint(static_cast<QPainter::RenderHint>(hint), enabled != 0);
}
void QGraphicsView_SetRenderHints(void* ptr, long long hints)
{
static_cast<QGraphicsView*>(ptr)->setRenderHints(static_cast<QPainter::RenderHint>(hints));
}
void QGraphicsView_SetResizeAnchor(void* ptr, long long anchor)
{
static_cast<QGraphicsView*>(ptr)->setResizeAnchor(static_cast<QGraphicsView::ViewportAnchor>(anchor));
}
void QGraphicsView_SetRubberBandSelectionMode(void* ptr, long long mode)
{
static_cast<QGraphicsView*>(ptr)->setRubberBandSelectionMode(static_cast<Qt::ItemSelectionMode>(mode));
}
void QGraphicsView_SetScene(void* ptr, void* scene)
{
static_cast<QGraphicsView*>(ptr)->setScene(static_cast<QGraphicsScene*>(scene));
}
void QGraphicsView_SetSceneRect(void* ptr, void* rect)
{
static_cast<QGraphicsView*>(ptr)->setSceneRect(*static_cast<QRectF*>(rect));
}
void QGraphicsView_SetSceneRect2(void* ptr, double x, double y, double w, double h)
{
static_cast<QGraphicsView*>(ptr)->setSceneRect(x, y, w, h);
}
void QGraphicsView_SetTransform(void* ptr, void* matrix, char combine)
{
static_cast<QGraphicsView*>(ptr)->setTransform(*static_cast<QTransform*>(matrix), combine != 0);
}
void QGraphicsView_SetTransformationAnchor(void* ptr, long long anchor)
{
static_cast<QGraphicsView*>(ptr)->setTransformationAnchor(static_cast<QGraphicsView::ViewportAnchor>(anchor));
}
void QGraphicsView_SetViewportUpdateMode(void* ptr, long long mode)
{
static_cast<QGraphicsView*>(ptr)->setViewportUpdateMode(static_cast<QGraphicsView::ViewportUpdateMode>(mode));
}
void QGraphicsView_SetupViewport(void* ptr, void* widget)
{
QMetaObject::invokeMethod(static_cast<QGraphicsView*>(ptr), "setupViewport", Q_ARG(QWidget*, static_cast<QWidget*>(widget)));
}
void QGraphicsView_SetupViewportDefault(void* ptr, void* widget)
{
static_cast<QGraphicsView*>(ptr)->QGraphicsView::setupViewport(static_cast<QWidget*>(widget));
}
void QGraphicsView_Shear(void* ptr, double sh, double sv)
{
static_cast<QGraphicsView*>(ptr)->shear(sh, sv);
}
void QGraphicsView_Translate(void* ptr, double dx, double dy)
{
static_cast<QGraphicsView*>(ptr)->translate(dx, dy);
}
void QGraphicsView_UpdateScene(void* ptr, void* rects)
{
QMetaObject::invokeMethod(static_cast<QGraphicsView*>(ptr), "updateScene", Q_ARG(QList<QRectF>, *static_cast<QList<QRectF>*>(rects)));
}
void QGraphicsView_UpdateSceneDefault(void* ptr, void* rects)
{
static_cast<QGraphicsView*>(ptr)->QGraphicsView::updateScene(*static_cast<QList<QRectF>*>(rects));
}
void QGraphicsView_UpdateSceneRect(void* ptr, void* rect)
{
QMetaObject::invokeMethod(static_cast<QGraphicsView*>(ptr), "updateSceneRect", Q_ARG(QRectF, *static_cast<QRectF*>(rect)));
}
void QGraphicsView_UpdateSceneRectDefault(void* ptr, void* rect)
{
static_cast<QGraphicsView*>(ptr)->QGraphicsView::updateSceneRect(*static_cast<QRectF*>(rect));
}
void QGraphicsView_DestroyQGraphicsView(void* ptr)
{
static_cast<QGraphicsView*>(ptr)->~QGraphicsView();
}
long long QGraphicsView_CacheMode(void* ptr)
{
return static_cast<QGraphicsView*>(ptr)->cacheMode();
}
long long QGraphicsView_DragMode(void* ptr)
{
return static_cast<QGraphicsView*>(ptr)->dragMode();
}
long long QGraphicsView_OptimizationFlags(void* ptr)
{
return static_cast<QGraphicsView*>(ptr)->optimizationFlags();
}
void* QGraphicsView_BackgroundBrush(void* ptr)
{
return new QBrush(static_cast<QGraphicsView*>(ptr)->backgroundBrush());
}
void* QGraphicsView_ForegroundBrush(void* ptr)
{
return new QBrush(static_cast<QGraphicsView*>(ptr)->foregroundBrush());
}
void* QGraphicsView_ItemAt(void* ptr, void* pos)
{
return static_cast<QGraphicsView*>(ptr)->itemAt(*static_cast<QPoint*>(pos));
}
void* QGraphicsView_ItemAt2(void* ptr, int x, int y)
{
return static_cast<QGraphicsView*>(ptr)->itemAt(x, y);
}
void* QGraphicsView_Scene(void* ptr)
{
return static_cast<QGraphicsView*>(ptr)->scene();
}
struct QtWidgets_PackedList QGraphicsView_Items(void* ptr)
{
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsView*>(ptr)->items()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QGraphicsView_Items7(void* ptr, void* path, long long mode)
{
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsView*>(ptr)->items(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QGraphicsView_Items2(void* ptr, void* pos)
{
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsView*>(ptr)->items(*static_cast<QPoint*>(pos))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QGraphicsView_Items6(void* ptr, void* polygon, long long mode)
{
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsView*>(ptr)->items(*static_cast<QPolygon*>(polygon), static_cast<Qt::ItemSelectionMode>(mode))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QGraphicsView_Items4(void* ptr, void* rect, long long mode)
{
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsView*>(ptr)->items(*static_cast<QRect*>(rect), static_cast<Qt::ItemSelectionMode>(mode))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QGraphicsView_Items3(void* ptr, int x, int y)
{
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsView*>(ptr)->items(x, y)); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QGraphicsView_Items5(void* ptr, int x, int y, int w, int h, long long mode)
{
return ({ QList<QGraphicsItem *>* tmpValue = new QList<QGraphicsItem *>(static_cast<QGraphicsView*>(ptr)->items(x, y, w, h, static_cast<Qt::ItemSelectionMode>(mode))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
long long QGraphicsView_RenderHints(void* ptr)
{
return static_cast<QGraphicsView*>(ptr)->renderHints();
}
void* QGraphicsView_MapFromScene4(void* ptr, void* path)
{
return new QPainterPath(static_cast<QGraphicsView*>(ptr)->mapFromScene(*static_cast<QPainterPath*>(path)));
}
void* QGraphicsView_MapToScene4(void* ptr, void* path)
{
return new QPainterPath(static_cast<QGraphicsView*>(ptr)->mapToScene(*static_cast<QPainterPath*>(path)));
}
void* QGraphicsView_MapFromScene(void* ptr, void* point)
{
return ({ QPoint tmpValue = static_cast<QGraphicsView*>(ptr)->mapFromScene(*static_cast<QPointF*>(point)); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsView_MapFromScene5(void* ptr, double x, double y)
{
return ({ QPoint tmpValue = static_cast<QGraphicsView*>(ptr)->mapFromScene(x, y); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsView_MapToScene(void* ptr, void* point)
{
return ({ QPointF tmpValue = static_cast<QGraphicsView*>(ptr)->mapToScene(*static_cast<QPoint*>(point)); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsView_MapToScene5(void* ptr, int x, int y)
{
return ({ QPointF tmpValue = static_cast<QGraphicsView*>(ptr)->mapToScene(x, y); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QGraphicsView_MapFromScene3(void* ptr, void* polygon)
{
return new QPolygon(static_cast<QGraphicsView*>(ptr)->mapFromScene(*static_cast<QPolygonF*>(polygon)));
}
void* QGraphicsView_MapFromScene2(void* ptr, void* rect)
{
return new QPolygon(static_cast<QGraphicsView*>(ptr)->mapFromScene(*static_cast<QRectF*>(rect)));
}
void* QGraphicsView_MapFromScene6(void* ptr, double x, double y, double w, double h)
{
return new QPolygon(static_cast<QGraphicsView*>(ptr)->mapFromScene(x, y, w, h));
}
void* QGraphicsView_MapToScene3(void* ptr, void* polygon)
{
return new QPolygonF(static_cast<QGraphicsView*>(ptr)->mapToScene(*static_cast<QPolygon*>(polygon)));
}
void* QGraphicsView_MapToScene2(void* ptr, void* rect)
{
return new QPolygonF(static_cast<QGraphicsView*>(ptr)->mapToScene(*static_cast<QRect*>(rect)));
}
void* QGraphicsView_MapToScene6(void* ptr, int x, int y, int w, int h)
{
return new QPolygonF(static_cast<QGraphicsView*>(ptr)->mapToScene(x, y, w, h));
}
void* QGraphicsView_RubberBandRect(void* ptr)
{
return ({ QRect tmpValue = static_cast<QGraphicsView*>(ptr)->rubberBandRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsView_SceneRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsView*>(ptr)->sceneRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsView_Transform(void* ptr)
{
return new QTransform(static_cast<QGraphicsView*>(ptr)->transform());
}
void* QGraphicsView_ViewportTransform(void* ptr)
{
return new QTransform(static_cast<QGraphicsView*>(ptr)->viewportTransform());
}
long long QGraphicsView_Alignment(void* ptr)
{
return static_cast<QGraphicsView*>(ptr)->alignment();
}
long long QGraphicsView_RubberBandSelectionMode(void* ptr)
{
return static_cast<QGraphicsView*>(ptr)->rubberBandSelectionMode();
}
long long QGraphicsView_ResizeAnchor(void* ptr)
{
return static_cast<QGraphicsView*>(ptr)->resizeAnchor();
}
long long QGraphicsView_TransformationAnchor(void* ptr)
{
return static_cast<QGraphicsView*>(ptr)->transformationAnchor();
}
long long QGraphicsView_ViewportUpdateMode(void* ptr)
{
return static_cast<QGraphicsView*>(ptr)->viewportUpdateMode();
}
char QGraphicsView_IsInteractive(void* ptr)
{
return static_cast<QGraphicsView*>(ptr)->isInteractive();
}
char QGraphicsView_IsTransformed(void* ptr)
{
return static_cast<QGraphicsView*>(ptr)->isTransformed();
}
void* QGraphicsView___updateScene_rects_atList(void* ptr, int i)
{
return ({ QRectF tmpValue = static_cast<QList<QRectF>*>(ptr)->at(i); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void QGraphicsView___updateScene_rects_setList(void* ptr, void* i)
{
static_cast<QList<QRectF>*>(ptr)->append(*static_cast<QRectF*>(i));
}
void* QGraphicsView___updateScene_rects_newList(void* ptr)
{
return new QList<QRectF>;
}
void* QGraphicsView___items_atList(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsView___items_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsView___items_newList(void* ptr)
{
return new QList<QGraphicsItem *>;
}
void* QGraphicsView___items_atList7(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsView___items_setList7(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsView___items_newList7(void* ptr)
{
return new QList<QGraphicsItem *>;
}
void* QGraphicsView___items_atList2(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsView___items_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsView___items_newList2(void* ptr)
{
return new QList<QGraphicsItem *>;
}
void* QGraphicsView___items_atList6(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsView___items_setList6(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsView___items_newList6(void* ptr)
{
return new QList<QGraphicsItem *>;
}
void* QGraphicsView___items_atList4(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsView___items_setList4(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsView___items_newList4(void* ptr)
{
return new QList<QGraphicsItem *>;
}
void* QGraphicsView___items_atList3(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsView___items_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsView___items_newList3(void* ptr)
{
return new QList<QGraphicsItem *>;
}
void* QGraphicsView___items_atList5(void* ptr, int i)
{
return const_cast<QGraphicsItem*>(static_cast<QList<QGraphicsItem *>*>(ptr)->at(i));
}
void QGraphicsView___items_setList5(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else {
static_cast<QList<QGraphicsItem *>*>(ptr)->append(static_cast<QGraphicsItem*>(i));
}
}
void* QGraphicsView___items_newList5(void* ptr)
{
return new QList<QGraphicsItem *>;
}
class MyQGraphicsWidget: public QGraphicsWidget
{
public:
MyQGraphicsWidget(QGraphicsItem *parent, Qt::WindowFlags wFlags) : QGraphicsWidget(parent, wFlags) {};
QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast<QVariant*>(callbackQGraphicsItem_ItemChange(this, change, const_cast<QVariant*>(&value))); };
bool close() { return callbackQGraphicsWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQGraphicsObject_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQGraphicsWidget_FocusNextPrevChild(this, next) != 0; };
bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; };
bool windowFrameEvent(QEvent * event) { return callbackQGraphicsWidget_WindowFrameEvent(this, event) != 0; };
void changeEvent(QEvent * event) { callbackQGraphicsWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQGraphicsWidget_CloseEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); };
void Signal_GeometryChanged() { callbackQGraphicsWidget_GeometryChanged(this); };
void grabKeyboardEvent(QEvent * event) { callbackQGraphicsWidget_GrabKeyboardEvent(this, event); };
void grabMouseEvent(QEvent * event) { callbackQGraphicsWidget_GrabMouseEvent(this, event); };
void hideEvent(QHideEvent * event) { callbackQGraphicsWidget_HideEvent(this, event); };
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); };
void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); };
void moveEvent(QGraphicsSceneMoveEvent * event) { callbackQGraphicsWidget_MoveEvent(this, event); };
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsWidget_Paint(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
void paintWindowFrame(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsWidget_PaintWindowFrame(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); };
void polishEvent() { callbackQGraphicsWidget_PolishEvent(this); };
void resizeEvent(QGraphicsSceneResizeEvent * event) { callbackQGraphicsWidget_ResizeEvent(this, event); };
void setGeometry(const QRectF & rect) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast<QRectF*>(&rect)); };
void showEvent(QShowEvent * event) { callbackQGraphicsWidget_ShowEvent(this, event); };
void ungrabKeyboardEvent(QEvent * event) { callbackQGraphicsWidget_UngrabKeyboardEvent(this, event); };
void ungrabMouseEvent(QEvent * event) { callbackQGraphicsWidget_UngrabMouseEvent(this, event); };
void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); };
QPainterPath shape() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_Shape(const_cast<void*>(static_cast<const void*>(this)))); };
QRectF boundingRect() const { return *static_cast<QRectF*>(callbackQGraphicsWidget_BoundingRect(const_cast<void*>(static_cast<const void*>(this)))); };
QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint) const { return *static_cast<QSizeF*>(callbackQGraphicsWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)), which, const_cast<QSizeF*>(&constraint))); };
Qt::WindowFrameSection windowFrameSectionAt(const QPointF & pos) const { return static_cast<Qt::WindowFrameSection>(callbackQGraphicsWidget_WindowFrameSectionAt(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&pos))); };
int type() const { return callbackQGraphicsItem_Type(const_cast<void*>(static_cast<const void*>(this))); };
void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom) const { callbackQGraphicsLayoutItem_GetContentsMargins(const_cast<void*>(static_cast<const void*>(this)), *left, *top, *right, *bottom); };
void initStyleOption(QStyleOption * option) const { callbackQGraphicsWidget_InitStyleOption(const_cast<void*>(static_cast<const void*>(this)), option); };
void Signal_EnabledChanged() { callbackQGraphicsObject_EnabledChanged(this); };
void Signal_OpacityChanged() { callbackQGraphicsObject_OpacityChanged(this); };
void Signal_ParentChanged() { callbackQGraphicsObject_ParentChanged(this); };
void Signal_RotationChanged() { callbackQGraphicsObject_RotationChanged(this); };
void Signal_ScaleChanged() { callbackQGraphicsObject_ScaleChanged(this); };
void updateMicroFocus() { callbackQGraphicsObject_UpdateMicroFocus(this); };
void Signal_VisibleChanged() { callbackQGraphicsObject_VisibleChanged(this); };
void Signal_XChanged() { callbackQGraphicsObject_XChanged(this); };
void Signal_YChanged() { callbackQGraphicsObject_YChanged(this); };
void Signal_ZChanged() { callbackQGraphicsObject_ZChanged(this); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsObject_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGraphicsObject_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGraphicsObject_CustomEvent(this, event); };
void deleteLater() { callbackQGraphicsObject_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGraphicsObject_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGraphicsObject_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGraphicsObject_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGraphicsObject_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; };
void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); };
void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); };
void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); };
void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); };
void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); };
void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); };
void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); };
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); };
void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); };
void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); };
void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); };
QPainterPath opaqueArea() const { return *static_cast<QPainterPath*>(callbackQGraphicsItem_OpaqueArea(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsItem_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(other), mode) != 0; };
bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPainterPath*>(&path), mode) != 0; };
bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&point)) != 0; };
bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast<void*>(static_cast<const void*>(this)), const_cast<QGraphicsItem*>(item)) != 0; };
};
void* QGraphicsWidget_NewQGraphicsWidget(void* parent, long long wFlags)
{
return new MyQGraphicsWidget(static_cast<QGraphicsItem*>(parent), static_cast<Qt::WindowType>(wFlags));
}
char QGraphicsWidget_Close(void* ptr)
{
bool returnArg;
QMetaObject::invokeMethod(static_cast<QGraphicsWidget*>(ptr), "close", Q_RETURN_ARG(bool, returnArg));
return returnArg;
}
char QGraphicsWidget_CloseDefault(void* ptr)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::close();
} else {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::close();
}
}
char QGraphicsWidget_FocusNextPrevChild(void* ptr, char next)
{
return static_cast<QGraphicsWidget*>(ptr)->focusNextPrevChild(next != 0);
}
char QGraphicsWidget_FocusNextPrevChildDefault(void* ptr, char next)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::focusNextPrevChild(next != 0);
} else {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::focusNextPrevChild(next != 0);
}
}
char QGraphicsWidget_WindowFrameEvent(void* ptr, void* event)
{
return static_cast<QGraphicsWidget*>(ptr)->windowFrameEvent(static_cast<QEvent*>(event));
}
char QGraphicsWidget_WindowFrameEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::windowFrameEvent(static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::windowFrameEvent(static_cast<QEvent*>(event));
}
}
int QGraphicsWidget_GrabShortcut(void* ptr, void* sequence, long long context)
{
return static_cast<QGraphicsWidget*>(ptr)->grabShortcut(*static_cast<QKeySequence*>(sequence), static_cast<Qt::ShortcutContext>(context));
}
void QGraphicsWidget_AddAction(void* ptr, void* action)
{
static_cast<QGraphicsWidget*>(ptr)->addAction(static_cast<QAction*>(action));
}
void QGraphicsWidget_AddActions(void* ptr, void* actions)
{
static_cast<QGraphicsWidget*>(ptr)->addActions(*static_cast<QList<QAction *>*>(actions));
}
void QGraphicsWidget_AdjustSize(void* ptr)
{
static_cast<QGraphicsWidget*>(ptr)->adjustSize();
}
void QGraphicsWidget_ChangeEvent(void* ptr, void* event)
{
static_cast<QGraphicsWidget*>(ptr)->changeEvent(static_cast<QEvent*>(event));
}
void QGraphicsWidget_ChangeEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::changeEvent(static_cast<QEvent*>(event));
} else {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::changeEvent(static_cast<QEvent*>(event));
}
}
void QGraphicsWidget_CloseEvent(void* ptr, void* event)
{
static_cast<QGraphicsWidget*>(ptr)->closeEvent(static_cast<QCloseEvent*>(event));
}
void QGraphicsWidget_CloseEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::closeEvent(static_cast<QCloseEvent*>(event));
} else {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::closeEvent(static_cast<QCloseEvent*>(event));
}
}
void QGraphicsWidget_ConnectGeometryChanged(void* ptr)
{
QObject::connect(static_cast<QGraphicsWidget*>(ptr), static_cast<void (QGraphicsWidget::*)()>(&QGraphicsWidget::geometryChanged), static_cast<MyQGraphicsWidget*>(ptr), static_cast<void (MyQGraphicsWidget::*)()>(&MyQGraphicsWidget::Signal_GeometryChanged));
}
void QGraphicsWidget_DisconnectGeometryChanged(void* ptr)
{
QObject::disconnect(static_cast<QGraphicsWidget*>(ptr), static_cast<void (QGraphicsWidget::*)()>(&QGraphicsWidget::geometryChanged), static_cast<MyQGraphicsWidget*>(ptr), static_cast<void (MyQGraphicsWidget::*)()>(&MyQGraphicsWidget::Signal_GeometryChanged));
}
void QGraphicsWidget_GeometryChanged(void* ptr)
{
static_cast<QGraphicsWidget*>(ptr)->geometryChanged();
}
void QGraphicsWidget_GrabKeyboardEvent(void* ptr, void* event)
{
static_cast<QGraphicsWidget*>(ptr)->grabKeyboardEvent(static_cast<QEvent*>(event));
}
void QGraphicsWidget_GrabKeyboardEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::grabKeyboardEvent(static_cast<QEvent*>(event));
} else {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::grabKeyboardEvent(static_cast<QEvent*>(event));
}
}
void QGraphicsWidget_GrabMouseEvent(void* ptr, void* event)
{
static_cast<QGraphicsWidget*>(ptr)->grabMouseEvent(static_cast<QEvent*>(event));
}
void QGraphicsWidget_GrabMouseEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::grabMouseEvent(static_cast<QEvent*>(event));
} else {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::grabMouseEvent(static_cast<QEvent*>(event));
}
}
void QGraphicsWidget_HideEvent(void* ptr, void* event)
{
static_cast<QGraphicsWidget*>(ptr)->hideEvent(static_cast<QHideEvent*>(event));
}
void QGraphicsWidget_HideEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::hideEvent(static_cast<QHideEvent*>(event));
} else {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::hideEvent(static_cast<QHideEvent*>(event));
}
}
void QGraphicsWidget_InsertAction(void* ptr, void* before, void* action)
{
static_cast<QGraphicsWidget*>(ptr)->insertAction(static_cast<QAction*>(before), static_cast<QAction*>(action));
}
void QGraphicsWidget_InsertActions(void* ptr, void* before, void* actions)
{
static_cast<QGraphicsWidget*>(ptr)->insertActions(static_cast<QAction*>(before), *static_cast<QList<QAction *>*>(actions));
}
void QGraphicsWidget_MoveEvent(void* ptr, void* event)
{
static_cast<QGraphicsWidget*>(ptr)->moveEvent(static_cast<QGraphicsSceneMoveEvent*>(event));
}
void QGraphicsWidget_MoveEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::moveEvent(static_cast<QGraphicsSceneMoveEvent*>(event));
} else {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::moveEvent(static_cast<QGraphicsSceneMoveEvent*>(event));
}
}
void QGraphicsWidget_Paint(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsWidget*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsWidget_PaintDefault(void* ptr, void* painter, void* option, void* widget)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
} else {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
}
void QGraphicsWidget_PaintWindowFrame(void* ptr, void* painter, void* option, void* widget)
{
static_cast<QGraphicsWidget*>(ptr)->paintWindowFrame(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
void QGraphicsWidget_PaintWindowFrameDefault(void* ptr, void* painter, void* option, void* widget)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::paintWindowFrame(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
} else {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::paintWindowFrame(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget));
}
}
void QGraphicsWidget_PolishEvent(void* ptr)
{
static_cast<QGraphicsWidget*>(ptr)->polishEvent();
}
void QGraphicsWidget_PolishEventDefault(void* ptr)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::polishEvent();
} else {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::polishEvent();
}
}
void QGraphicsWidget_ReleaseShortcut(void* ptr, int id)
{
static_cast<QGraphicsWidget*>(ptr)->releaseShortcut(id);
}
void QGraphicsWidget_RemoveAction(void* ptr, void* action)
{
static_cast<QGraphicsWidget*>(ptr)->removeAction(static_cast<QAction*>(action));
}
void QGraphicsWidget_Resize(void* ptr, void* size)
{
static_cast<QGraphicsWidget*>(ptr)->resize(*static_cast<QSizeF*>(size));
}
void QGraphicsWidget_Resize2(void* ptr, double w, double h)
{
static_cast<QGraphicsWidget*>(ptr)->resize(w, h);
}
void QGraphicsWidget_ResizeEvent(void* ptr, void* event)
{
static_cast<QGraphicsWidget*>(ptr)->resizeEvent(static_cast<QGraphicsSceneResizeEvent*>(event));
}
void QGraphicsWidget_ResizeEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::resizeEvent(static_cast<QGraphicsSceneResizeEvent*>(event));
} else {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::resizeEvent(static_cast<QGraphicsSceneResizeEvent*>(event));
}
}
void QGraphicsWidget_SetAttribute(void* ptr, long long attribute, char on)
{
static_cast<QGraphicsWidget*>(ptr)->setAttribute(static_cast<Qt::WidgetAttribute>(attribute), on != 0);
}
void QGraphicsWidget_SetAutoFillBackground(void* ptr, char enabled)
{
static_cast<QGraphicsWidget*>(ptr)->setAutoFillBackground(enabled != 0);
}
void QGraphicsWidget_SetContentsMargins(void* ptr, double left, double top, double right, double bottom)
{
static_cast<QGraphicsWidget*>(ptr)->setContentsMargins(left, top, right, bottom);
}
void QGraphicsWidget_SetFocusPolicy(void* ptr, long long policy)
{
static_cast<QGraphicsWidget*>(ptr)->setFocusPolicy(static_cast<Qt::FocusPolicy>(policy));
}
void QGraphicsWidget_SetFont(void* ptr, void* font)
{
static_cast<QGraphicsWidget*>(ptr)->setFont(*static_cast<QFont*>(font));
}
void QGraphicsWidget_SetGeometry2(void* ptr, double x, double y, double w, double h)
{
static_cast<QGraphicsWidget*>(ptr)->setGeometry(x, y, w, h);
}
void QGraphicsWidget_SetLayout(void* ptr, void* layout)
{
static_cast<QGraphicsWidget*>(ptr)->setLayout(static_cast<QGraphicsLayout*>(layout));
}
void QGraphicsWidget_SetLayoutDirection(void* ptr, long long direction)
{
static_cast<QGraphicsWidget*>(ptr)->setLayoutDirection(static_cast<Qt::LayoutDirection>(direction));
}
void QGraphicsWidget_SetPalette(void* ptr, void* palette)
{
static_cast<QGraphicsWidget*>(ptr)->setPalette(*static_cast<QPalette*>(palette));
}
void QGraphicsWidget_SetShortcutAutoRepeat(void* ptr, int id, char enabled)
{
static_cast<QGraphicsWidget*>(ptr)->setShortcutAutoRepeat(id, enabled != 0);
}
void QGraphicsWidget_SetShortcutEnabled(void* ptr, int id, char enabled)
{
static_cast<QGraphicsWidget*>(ptr)->setShortcutEnabled(id, enabled != 0);
}
void QGraphicsWidget_SetStyle(void* ptr, void* style)
{
static_cast<QGraphicsWidget*>(ptr)->setStyle(static_cast<QStyle*>(style));
}
void QGraphicsWidget_QGraphicsWidget_SetTabOrder(void* first, void* second)
{
QGraphicsWidget::setTabOrder(static_cast<QGraphicsWidget*>(first), static_cast<QGraphicsWidget*>(second));
}
void QGraphicsWidget_SetWindowFlags(void* ptr, long long wFlags)
{
static_cast<QGraphicsWidget*>(ptr)->setWindowFlags(static_cast<Qt::WindowType>(wFlags));
}
void QGraphicsWidget_SetWindowFrameMargins(void* ptr, double left, double top, double right, double bottom)
{
static_cast<QGraphicsWidget*>(ptr)->setWindowFrameMargins(left, top, right, bottom);
}
void QGraphicsWidget_SetWindowTitle(void* ptr, char* title)
{
static_cast<QGraphicsWidget*>(ptr)->setWindowTitle(QString(title));
}
void QGraphicsWidget_ShowEvent(void* ptr, void* event)
{
static_cast<QGraphicsWidget*>(ptr)->showEvent(static_cast<QShowEvent*>(event));
}
void QGraphicsWidget_ShowEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::showEvent(static_cast<QShowEvent*>(event));
} else {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::showEvent(static_cast<QShowEvent*>(event));
}
}
void QGraphicsWidget_UngrabKeyboardEvent(void* ptr, void* event)
{
static_cast<QGraphicsWidget*>(ptr)->ungrabKeyboardEvent(static_cast<QEvent*>(event));
}
void QGraphicsWidget_UngrabKeyboardEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::ungrabKeyboardEvent(static_cast<QEvent*>(event));
} else {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::ungrabKeyboardEvent(static_cast<QEvent*>(event));
}
}
void QGraphicsWidget_UngrabMouseEvent(void* ptr, void* event)
{
static_cast<QGraphicsWidget*>(ptr)->ungrabMouseEvent(static_cast<QEvent*>(event));
}
void QGraphicsWidget_UngrabMouseEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::ungrabMouseEvent(static_cast<QEvent*>(event));
} else {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::ungrabMouseEvent(static_cast<QEvent*>(event));
}
}
void QGraphicsWidget_UnsetLayoutDirection(void* ptr)
{
static_cast<QGraphicsWidget*>(ptr)->unsetLayoutDirection();
}
void QGraphicsWidget_UnsetWindowFrameMargins(void* ptr)
{
static_cast<QGraphicsWidget*>(ptr)->unsetWindowFrameMargins();
}
void QGraphicsWidget_DestroyQGraphicsWidget(void* ptr)
{
static_cast<QGraphicsWidget*>(ptr)->~QGraphicsWidget();
}
void* QGraphicsWidget_Font(void* ptr)
{
return new QFont(static_cast<QGraphicsWidget*>(ptr)->font());
}
void* QGraphicsWidget_Layout(void* ptr)
{
return static_cast<QGraphicsWidget*>(ptr)->layout();
}
void* QGraphicsWidget_FocusWidget(void* ptr)
{
return static_cast<QGraphicsWidget*>(ptr)->focusWidget();
}
struct QtWidgets_PackedList QGraphicsWidget_Actions(void* ptr)
{
return ({ QList<QAction *>* tmpValue = new QList<QAction *>(static_cast<QGraphicsWidget*>(ptr)->actions()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QGraphicsWidget_Palette(void* ptr)
{
return new QPalette(static_cast<QGraphicsWidget*>(ptr)->palette());
}
void* QGraphicsWidget_BoundingRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsWidget_BoundingRectDefault(void* ptr)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRectF tmpValue = static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QGraphicsWidget_Rect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->rect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsWidget_WindowFrameGeometry(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->windowFrameGeometry(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsWidget_WindowFrameRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->windowFrameRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsWidget_Size(void* ptr)
{
return ({ QSizeF tmpValue = static_cast<QGraphicsWidget*>(ptr)->size(); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsWidget_SizeHint(void* ptr, long long which, void* constraint)
{
return ({ QSizeF tmpValue = static_cast<QGraphicsWidget*>(ptr)->sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsWidget_SizeHintDefault(void* ptr, long long which, void* constraint)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSizeF tmpValue = static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSizeF tmpValue = static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
}
struct QtWidgets_PackedString QGraphicsWidget_WindowTitle(void* ptr)
{
return ({ QByteArray t8cb41d = static_cast<QGraphicsWidget*>(ptr)->windowTitle().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t8cb41d.prepend("WHITESPACE").constData()+10), t8cb41d.size()-10 }; });
}
void* QGraphicsWidget_Style(void* ptr)
{
return static_cast<QGraphicsWidget*>(ptr)->style();
}
long long QGraphicsWidget_FocusPolicy(void* ptr)
{
return static_cast<QGraphicsWidget*>(ptr)->focusPolicy();
}
long long QGraphicsWidget_LayoutDirection(void* ptr)
{
return static_cast<QGraphicsWidget*>(ptr)->layoutDirection();
}
long long QGraphicsWidget_WindowFlags(void* ptr)
{
return static_cast<QGraphicsWidget*>(ptr)->windowFlags();
}
long long QGraphicsWidget_WindowFrameSectionAt(void* ptr, void* pos)
{
return static_cast<QGraphicsWidget*>(ptr)->windowFrameSectionAt(*static_cast<QPointF*>(pos));
}
long long QGraphicsWidget_WindowFrameSectionAtDefault(void* ptr, void* pos)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::windowFrameSectionAt(*static_cast<QPointF*>(pos));
} else {
return static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::windowFrameSectionAt(*static_cast<QPointF*>(pos));
}
}
long long QGraphicsWidget_WindowType(void* ptr)
{
return static_cast<QGraphicsWidget*>(ptr)->windowType();
}
char QGraphicsWidget_AutoFillBackground(void* ptr)
{
return static_cast<QGraphicsWidget*>(ptr)->autoFillBackground();
}
char QGraphicsWidget_IsActiveWindow(void* ptr)
{
return static_cast<QGraphicsWidget*>(ptr)->isActiveWindow();
}
char QGraphicsWidget_TestAttribute(void* ptr, long long attribute)
{
return static_cast<QGraphicsWidget*>(ptr)->testAttribute(static_cast<Qt::WidgetAttribute>(attribute));
}
void QGraphicsWidget_GetWindowFrameMargins(void* ptr, double left, double top, double right, double bottom)
{
static_cast<QGraphicsWidget*>(ptr)->getWindowFrameMargins(&left, &top, &right, &bottom);
}
void QGraphicsWidget_InitStyleOption(void* ptr, void* option)
{
static_cast<QGraphicsWidget*>(ptr)->initStyleOption(static_cast<QStyleOption*>(option));
}
void QGraphicsWidget_InitStyleOptionDefault(void* ptr, void* option)
{
if (dynamic_cast<QGraphicsProxyWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsProxyWidget*>(ptr)->QGraphicsProxyWidget::initStyleOption(static_cast<QStyleOption*>(option));
} else {
static_cast<QGraphicsWidget*>(ptr)->QGraphicsWidget::initStyleOption(static_cast<QStyleOption*>(option));
}
}
void* QGraphicsWidget_Geometry(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QGraphicsWidget*>(ptr)->geometry(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGraphicsWidget_MaximumSize(void* ptr)
{
return ({ QSizeF tmpValue = static_cast<QGraphicsWidget*>(ptr)->maximumSize(); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
void QGraphicsWidget_SetMaximumSize(void* ptr, void* maximumSize)
{
static_cast<QGraphicsWidget*>(ptr)->setMaximumSize(*static_cast<QSizeF*>(maximumSize));
}
void* QGraphicsWidget_MinimumSize(void* ptr)
{
return ({ QSizeF tmpValue = static_cast<QGraphicsWidget*>(ptr)->minimumSize(); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
void QGraphicsWidget_SetMinimumSize(void* ptr, void* minimumSize)
{
static_cast<QGraphicsWidget*>(ptr)->setMinimumSize(*static_cast<QSizeF*>(minimumSize));
}
void* QGraphicsWidget_PreferredSize(void* ptr)
{
return ({ QSizeF tmpValue = static_cast<QGraphicsWidget*>(ptr)->preferredSize(); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
void QGraphicsWidget_SetPreferredSize(void* ptr, void* preferredSize)
{
static_cast<QGraphicsWidget*>(ptr)->setPreferredSize(*static_cast<QSizeF*>(preferredSize));
}
void* QGraphicsWidget_SizePolicy(void* ptr)
{
return new QSizePolicy(static_cast<QGraphicsWidget*>(ptr)->sizePolicy());
}
void QGraphicsWidget_SetSizePolicy(void* ptr, void* sizePolicy)
{
static_cast<QGraphicsWidget*>(ptr)->setSizePolicy(*static_cast<QSizePolicy*>(sizePolicy));
}
void* QGraphicsWidget___addActions_actions_atList(void* ptr, int i)
{
return const_cast<QAction*>(static_cast<QList<QAction *>*>(ptr)->at(i));
}
void QGraphicsWidget___addActions_actions_setList(void* ptr, void* i)
{
static_cast<QList<QAction *>*>(ptr)->append(static_cast<QAction*>(i));
}
void* QGraphicsWidget___addActions_actions_newList(void* ptr)
{
return new QList<QAction *>;
}
void* QGraphicsWidget___insertActions_actions_atList(void* ptr, int i)
{
return const_cast<QAction*>(static_cast<QList<QAction *>*>(ptr)->at(i));
}
void QGraphicsWidget___insertActions_actions_setList(void* ptr, void* i)
{
static_cast<QList<QAction *>*>(ptr)->append(static_cast<QAction*>(i));
}
void* QGraphicsWidget___insertActions_actions_newList(void* ptr)
{
return new QList<QAction *>;
}
void* QGraphicsWidget___actions_atList(void* ptr, int i)
{
return const_cast<QAction*>(static_cast<QList<QAction *>*>(ptr)->at(i));
}
void QGraphicsWidget___actions_setList(void* ptr, void* i)
{
static_cast<QList<QAction *>*>(ptr)->append(static_cast<QAction*>(i));
}
void* QGraphicsWidget___actions_newList(void* ptr)
{
return new QList<QAction *>;
}
class MyQGridLayout: public QGridLayout
{
public:
MyQGridLayout() : QGridLayout() {};
MyQGridLayout(QWidget *parent) : QGridLayout(parent) {};
QLayoutItem * takeAt(int index) { return static_cast<QLayoutItem*>(callbackQGridLayout_TakeAt(this, index)); };
void invalidate() { callbackQLayoutItem_Invalidate(this); };
void setGeometry(const QRect & rect) { callbackQLayout_SetGeometry(this, const_cast<QRect*>(&rect)); };
QLayoutItem * itemAt(int index) const { return static_cast<QLayoutItem*>(callbackQGridLayout_ItemAt(const_cast<void*>(static_cast<const void*>(this)), index)); };
QSize maximumSize() const { return *static_cast<QSize*>(callbackQLayout_MaximumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSize() const { return *static_cast<QSize*>(callbackQLayout_MinimumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQGridLayout_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
Qt::Orientations expandingDirections() const { return static_cast<Qt::Orientation>(callbackQLayout_ExpandingDirections(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int count() const { return callbackQGridLayout_Count(const_cast<void*>(static_cast<const void*>(this))); };
int heightForWidth(int w) const { return callbackQLayoutItem_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
QLayout * layout() { return static_cast<QLayout*>(callbackQLayoutItem_Layout(this)); };
void childEvent(QChildEvent * e) { callbackQLayout_ChildEvent(this, e); };
QRect geometry() const { return *static_cast<QRect*>(callbackQLayout_Geometry(const_cast<void*>(static_cast<const void*>(this)))); };
QSizePolicy::ControlTypes controlTypes() const { return static_cast<QSizePolicy::ControlType>(callbackQLayoutItem_ControlTypes(const_cast<void*>(static_cast<const void*>(this)))); };
bool isEmpty() const { return callbackQLayout_IsEmpty(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int indexOf(QWidget * widget) const { return callbackQLayout_IndexOf(const_cast<void*>(static_cast<const void*>(this)), widget); };
bool event(QEvent * e) { return callbackQLayout_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQLayout_EventFilter(this, watched, event) != 0; };
void connectNotify(const QMetaMethod & sign) { callbackQLayout_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQLayout_CustomEvent(this, event); };
void deleteLater() { callbackQLayout_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQLayout_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQLayout_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQLayout_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQLayout_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQLayout_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
QSpacerItem * spacerItem() { return static_cast<QSpacerItem*>(callbackQLayoutItem_SpacerItem(this)); };
QWidget * widget() { return static_cast<QWidget*>(callbackQLayoutItem_Widget(this)); };
};
void* QGridLayout_NewQGridLayout2()
{
return new MyQGridLayout();
}
void* QGridLayout_NewQGridLayout(void* parent)
{
return new MyQGridLayout(static_cast<QWidget*>(parent));
}
void* QGridLayout_TakeAt(void* ptr, int index)
{
return static_cast<QGridLayout*>(ptr)->takeAt(index);
}
void* QGridLayout_TakeAtDefault(void* ptr, int index)
{
return static_cast<QGridLayout*>(ptr)->QGridLayout::takeAt(index);
}
void QGridLayout_AddLayout(void* ptr, void* layout, int row, int column, long long alignment)
{
static_cast<QGridLayout*>(ptr)->addLayout(static_cast<QLayout*>(layout), row, column, static_cast<Qt::AlignmentFlag>(alignment));
}
void QGridLayout_AddLayout2(void* ptr, void* layout, int row, int column, int rowSpan, int columnSpan, long long alignment)
{
static_cast<QGridLayout*>(ptr)->addLayout(static_cast<QLayout*>(layout), row, column, rowSpan, columnSpan, static_cast<Qt::AlignmentFlag>(alignment));
}
void QGridLayout_AddWidget3(void* ptr, void* widget, int fromRow, int fromColumn, int rowSpan, int columnSpan, long long alignment)
{
static_cast<QGridLayout*>(ptr)->addWidget(static_cast<QWidget*>(widget), fromRow, fromColumn, rowSpan, columnSpan, static_cast<Qt::AlignmentFlag>(alignment));
}
void QGridLayout_AddWidget(void* ptr, void* widget, int row, int column, long long alignment)
{
static_cast<QGridLayout*>(ptr)->addWidget(static_cast<QWidget*>(widget), row, column, static_cast<Qt::AlignmentFlag>(alignment));
}
void QGridLayout_SetColumnMinimumWidth(void* ptr, int column, int minSize)
{
static_cast<QGridLayout*>(ptr)->setColumnMinimumWidth(column, minSize);
}
void QGridLayout_SetColumnStretch(void* ptr, int column, int stretch)
{
static_cast<QGridLayout*>(ptr)->setColumnStretch(column, stretch);
}
void QGridLayout_SetHorizontalSpacing(void* ptr, int spacing)
{
static_cast<QGridLayout*>(ptr)->setHorizontalSpacing(spacing);
}
void QGridLayout_SetOriginCorner(void* ptr, long long corner)
{
static_cast<QGridLayout*>(ptr)->setOriginCorner(static_cast<Qt::Corner>(corner));
}
void QGridLayout_SetRowMinimumHeight(void* ptr, int row, int minSize)
{
static_cast<QGridLayout*>(ptr)->setRowMinimumHeight(row, minSize);
}
void QGridLayout_SetRowStretch(void* ptr, int row, int stretch)
{
static_cast<QGridLayout*>(ptr)->setRowStretch(row, stretch);
}
void QGridLayout_SetVerticalSpacing(void* ptr, int spacing)
{
static_cast<QGridLayout*>(ptr)->setVerticalSpacing(spacing);
}
void QGridLayout_DestroyQGridLayout(void* ptr)
{
static_cast<QGridLayout*>(ptr)->~QGridLayout();
}
void* QGridLayout_ItemAt(void* ptr, int index)
{
return static_cast<QGridLayout*>(ptr)->itemAt(index);
}
void* QGridLayout_ItemAtDefault(void* ptr, int index)
{
return static_cast<QGridLayout*>(ptr)->QGridLayout::itemAt(index);
}
void* QGridLayout_ItemAtPosition(void* ptr, int row, int column)
{
return static_cast<QGridLayout*>(ptr)->itemAtPosition(row, column);
}
void* QGridLayout_CellRect(void* ptr, int row, int column)
{
return ({ QRect tmpValue = static_cast<QGridLayout*>(ptr)->cellRect(row, column); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QGridLayout_SizeHint(void* ptr)
{
return ({ QSize tmpValue = static_cast<QGridLayout*>(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QGridLayout_SizeHintDefault(void* ptr)
{
return ({ QSize tmpValue = static_cast<QGridLayout*>(ptr)->QGridLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
long long QGridLayout_OriginCorner(void* ptr)
{
return static_cast<QGridLayout*>(ptr)->originCorner();
}
int QGridLayout_ColumnCount(void* ptr)
{
return static_cast<QGridLayout*>(ptr)->columnCount();
}
int QGridLayout_ColumnMinimumWidth(void* ptr, int column)
{
return static_cast<QGridLayout*>(ptr)->columnMinimumWidth(column);
}
int QGridLayout_ColumnStretch(void* ptr, int column)
{
return static_cast<QGridLayout*>(ptr)->columnStretch(column);
}
int QGridLayout_Count(void* ptr)
{
return static_cast<QGridLayout*>(ptr)->count();
}
int QGridLayout_CountDefault(void* ptr)
{
return static_cast<QGridLayout*>(ptr)->QGridLayout::count();
}
int QGridLayout_HorizontalSpacing(void* ptr)
{
return static_cast<QGridLayout*>(ptr)->horizontalSpacing();
}
int QGridLayout_RowCount(void* ptr)
{
return static_cast<QGridLayout*>(ptr)->rowCount();
}
int QGridLayout_RowMinimumHeight(void* ptr, int row)
{
return static_cast<QGridLayout*>(ptr)->rowMinimumHeight(row);
}
int QGridLayout_RowStretch(void* ptr, int row)
{
return static_cast<QGridLayout*>(ptr)->rowStretch(row);
}
int QGridLayout_VerticalSpacing(void* ptr)
{
return static_cast<QGridLayout*>(ptr)->verticalSpacing();
}
void QGridLayout_GetItemPosition(void* ptr, int index, int row, int column, int rowSpan, int columnSpan)
{
static_cast<QGridLayout*>(ptr)->getItemPosition(index, &row, &column, &rowSpan, &columnSpan);
}
class MyQGroupBox: public QGroupBox
{
public:
MyQGroupBox(QWidget *parent) : QGroupBox(parent) {};
MyQGroupBox(const QString &title, QWidget *parent) : QGroupBox(title, parent) {};
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
void Signal_Clicked(bool checked) { callbackQGroupBox_Clicked(this, checked); };
void focusInEvent(QFocusEvent * fe) { callbackQWidget_FocusInEvent(this, fe); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); };
void setChecked(bool checked) { callbackQGroupBox_SetChecked(this, checked); };
void Signal_Toggled(bool on) { callbackQGroupBox_Toggled(this, on); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QGroupBox_NewQGroupBox(void* parent)
{
return new MyQGroupBox(static_cast<QWidget*>(parent));
}
void* QGroupBox_NewQGroupBox2(char* title, void* parent)
{
return new MyQGroupBox(QString(title), static_cast<QWidget*>(parent));
}
void QGroupBox_ConnectClicked(void* ptr)
{
QObject::connect(static_cast<QGroupBox*>(ptr), static_cast<void (QGroupBox::*)(bool)>(&QGroupBox::clicked), static_cast<MyQGroupBox*>(ptr), static_cast<void (MyQGroupBox::*)(bool)>(&MyQGroupBox::Signal_Clicked));
}
void QGroupBox_DisconnectClicked(void* ptr)
{
QObject::disconnect(static_cast<QGroupBox*>(ptr), static_cast<void (QGroupBox::*)(bool)>(&QGroupBox::clicked), static_cast<MyQGroupBox*>(ptr), static_cast<void (MyQGroupBox::*)(bool)>(&MyQGroupBox::Signal_Clicked));
}
void QGroupBox_Clicked(void* ptr, char checked)
{
static_cast<QGroupBox*>(ptr)->clicked(checked != 0);
}
void QGroupBox_SetAlignment(void* ptr, int alignment)
{
static_cast<QGroupBox*>(ptr)->setAlignment(alignment);
}
void QGroupBox_SetCheckable(void* ptr, char checkable)
{
static_cast<QGroupBox*>(ptr)->setCheckable(checkable != 0);
}
void QGroupBox_SetChecked(void* ptr, char checked)
{
QMetaObject::invokeMethod(static_cast<QGroupBox*>(ptr), "setChecked", Q_ARG(bool, checked != 0));
}
void QGroupBox_SetCheckedDefault(void* ptr, char checked)
{
static_cast<QGroupBox*>(ptr)->QGroupBox::setChecked(checked != 0);
}
void QGroupBox_SetFlat(void* ptr, char flat)
{
static_cast<QGroupBox*>(ptr)->setFlat(flat != 0);
}
void QGroupBox_SetTitle(void* ptr, char* title)
{
static_cast<QGroupBox*>(ptr)->setTitle(QString(title));
}
void QGroupBox_ConnectToggled(void* ptr)
{
QObject::connect(static_cast<QGroupBox*>(ptr), static_cast<void (QGroupBox::*)(bool)>(&QGroupBox::toggled), static_cast<MyQGroupBox*>(ptr), static_cast<void (MyQGroupBox::*)(bool)>(&MyQGroupBox::Signal_Toggled));
}
void QGroupBox_DisconnectToggled(void* ptr)
{
QObject::disconnect(static_cast<QGroupBox*>(ptr), static_cast<void (QGroupBox::*)(bool)>(&QGroupBox::toggled), static_cast<MyQGroupBox*>(ptr), static_cast<void (MyQGroupBox::*)(bool)>(&MyQGroupBox::Signal_Toggled));
}
void QGroupBox_Toggled(void* ptr, char on)
{
static_cast<QGroupBox*>(ptr)->toggled(on != 0);
}
void QGroupBox_DestroyQGroupBox(void* ptr)
{
static_cast<QGroupBox*>(ptr)->~QGroupBox();
}
struct QtWidgets_PackedString QGroupBox_Title(void* ptr)
{
return ({ QByteArray t937a1b = static_cast<QGroupBox*>(ptr)->title().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t937a1b.prepend("WHITESPACE").constData()+10), t937a1b.size()-10 }; });
}
long long QGroupBox_Alignment(void* ptr)
{
return static_cast<QGroupBox*>(ptr)->alignment();
}
char QGroupBox_IsCheckable(void* ptr)
{
return static_cast<QGroupBox*>(ptr)->isCheckable();
}
char QGroupBox_IsChecked(void* ptr)
{
return static_cast<QGroupBox*>(ptr)->isChecked();
}
char QGroupBox_IsFlat(void* ptr)
{
return static_cast<QGroupBox*>(ptr)->isFlat();
}
void QGroupBox_InitStyleOption(void* ptr, void* option)
{
static_cast<QGroupBox*>(ptr)->initStyleOption(static_cast<QStyleOptionGroupBox*>(option));
}
class MyQHBoxLayout: public QHBoxLayout
{
public:
MyQHBoxLayout() : QHBoxLayout() {};
MyQHBoxLayout(QWidget *parent) : QHBoxLayout(parent) {};
QLayoutItem * takeAt(int index) { return static_cast<QLayoutItem*>(callbackQBoxLayout_TakeAt(this, index)); };
void addItem(QLayoutItem * item) { callbackQBoxLayout_AddItem(this, item); };
void invalidate() { callbackQLayoutItem_Invalidate(this); };
void setGeometry(const QRect & r) { callbackQLayout_SetGeometry(this, const_cast<QRect*>(&r)); };
QLayoutItem * itemAt(int index) const { return static_cast<QLayoutItem*>(callbackQBoxLayout_ItemAt(const_cast<void*>(static_cast<const void*>(this)), index)); };
QSize maximumSize() const { return *static_cast<QSize*>(callbackQLayout_MaximumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSize() const { return *static_cast<QSize*>(callbackQLayout_MinimumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQBoxLayout_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
Qt::Orientations expandingDirections() const { return static_cast<Qt::Orientation>(callbackQLayout_ExpandingDirections(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int count() const { return callbackQBoxLayout_Count(const_cast<void*>(static_cast<const void*>(this))); };
int heightForWidth(int w) const { return callbackQLayoutItem_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
QLayout * layout() { return static_cast<QLayout*>(callbackQLayoutItem_Layout(this)); };
void childEvent(QChildEvent * e) { callbackQLayout_ChildEvent(this, e); };
QRect geometry() const { return *static_cast<QRect*>(callbackQLayout_Geometry(const_cast<void*>(static_cast<const void*>(this)))); };
QSizePolicy::ControlTypes controlTypes() const { return static_cast<QSizePolicy::ControlType>(callbackQLayoutItem_ControlTypes(const_cast<void*>(static_cast<const void*>(this)))); };
bool isEmpty() const { return callbackQLayout_IsEmpty(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int indexOf(QWidget * widget) const { return callbackQLayout_IndexOf(const_cast<void*>(static_cast<const void*>(this)), widget); };
bool event(QEvent * e) { return callbackQLayout_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQLayout_EventFilter(this, watched, event) != 0; };
void connectNotify(const QMetaMethod & sign) { callbackQLayout_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQLayout_CustomEvent(this, event); };
void deleteLater() { callbackQLayout_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQLayout_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQLayout_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQLayout_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQLayout_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQLayout_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
QSpacerItem * spacerItem() { return static_cast<QSpacerItem*>(callbackQLayoutItem_SpacerItem(this)); };
QWidget * widget() { return static_cast<QWidget*>(callbackQLayoutItem_Widget(this)); };
};
void* QHBoxLayout_NewQHBoxLayout()
{
return new MyQHBoxLayout();
}
void* QHBoxLayout_NewQHBoxLayout2(void* parent)
{
return new MyQHBoxLayout(static_cast<QWidget*>(parent));
}
void QHBoxLayout_DestroyQHBoxLayout(void* ptr)
{
static_cast<QHBoxLayout*>(ptr)->~QHBoxLayout();
}
class MyQHeaderView: public QHeaderView
{
public:
MyQHeaderView(Qt::Orientation orientation, QWidget *parent) : QHeaderView(orientation, parent) {};
bool viewportEvent(QEvent * e) { return callbackQAbstractScrollArea_ViewportEvent(this, e) != 0; };
void currentChanged(const QModelIndex & current, const QModelIndex & old) { callbackQHeaderView_CurrentChanged(this, const_cast<QModelIndex*>(&current), const_cast<QModelIndex*>(&old)); };
void Signal_GeometriesChanged() { callbackQHeaderView_GeometriesChanged(this); };
void headerDataChanged(Qt::Orientation orientation, int logicalFirst, int logicalLast) { callbackQHeaderView_HeaderDataChanged(this, orientation, logicalFirst, logicalLast); };
void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); };
void reset() { callbackQHeaderView_Reset(this); };
void resizeSections() { callbackQHeaderView_ResizeSections2(this); };
void Signal_SectionClicked(int logicalIndex) { callbackQHeaderView_SectionClicked(this, logicalIndex); };
void Signal_SectionCountChanged(int oldCount, int newCount) { callbackQHeaderView_SectionCountChanged(this, oldCount, newCount); };
void Signal_SectionDoubleClicked(int logicalIndex) { callbackQHeaderView_SectionDoubleClicked(this, logicalIndex); };
void Signal_SectionEntered(int logicalIndex) { callbackQHeaderView_SectionEntered(this, logicalIndex); };
void Signal_SectionHandleDoubleClicked(int logicalIndex) { callbackQHeaderView_SectionHandleDoubleClicked(this, logicalIndex); };
void Signal_SectionMoved(int logicalIndex, int oldVisualIndex, int newVisualIndex) { callbackQHeaderView_SectionMoved(this, logicalIndex, oldVisualIndex, newVisualIndex); };
void Signal_SectionPressed(int logicalIndex) { callbackQHeaderView_SectionPressed(this, logicalIndex); };
void Signal_SectionResized(int logicalIndex, int oldSize, int newSize) { callbackQHeaderView_SectionResized(this, logicalIndex, oldSize, newSize); };
void sectionsAboutToBeRemoved(const QModelIndex & parent, int logicalFirst, int logicalLast) { callbackQHeaderView_SectionsAboutToBeRemoved(this, const_cast<QModelIndex*>(&parent), logicalFirst, logicalLast); };
void sectionsInserted(const QModelIndex & parent, int logicalFirst, int logicalLast) { callbackQHeaderView_SectionsInserted(this, const_cast<QModelIndex*>(&parent), logicalFirst, logicalLast); };
void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); };
void setOffset(int offset) { callbackQHeaderView_SetOffset(this, offset); };
void setOffsetToLastSection() { callbackQHeaderView_SetOffsetToLastSection(this); };
void setOffsetToSectionPosition(int visualSectionNumber) { callbackQHeaderView_SetOffsetToSectionPosition(this, visualSectionNumber); };
void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags flags) { callbackQHeaderView_SetSelection(this, const_cast<QRect*>(&rect), flags); };
void setVisible(bool v) { callbackQHeaderView_SetVisible(this, v); };
void Signal_SortIndicatorChanged(int logicalIndex, Qt::SortOrder order) { callbackQHeaderView_SortIndicatorChanged(this, logicalIndex, order); };
~MyQHeaderView() { callbackQHeaderView_DestroyQHeaderView(this); };
QSize sectionSizeFromContents(int logicalIndex) const { return *static_cast<QSize*>(callbackQHeaderView_SectionSizeFromContents(const_cast<void*>(static_cast<const void*>(this)), logicalIndex)); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
int horizontalOffset() const { return callbackQHeaderView_HorizontalOffset(const_cast<void*>(static_cast<const void*>(this))); };
int verticalOffset() const { return callbackQHeaderView_VerticalOffset(const_cast<void*>(static_cast<const void*>(this))); };
void paintSection(QPainter * painter, const QRect & rect, int logicalIndex) const { callbackQHeaderView_PaintSection(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QRect*>(&rect), logicalIndex); };
QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast<QModelIndex*>(callbackQHeaderView_MoveCursor(this, cursorAction, modifiers)); };
bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast<QModelIndex*>(&index), trigger, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast<QModelIndex*>(&index)); };
void clearSelection() { callbackQAbstractItemView_ClearSelection(this); };
void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast<QModelIndex*>(&index)); };
void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); };
void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); };
void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector<int> & roles) { callbackQAbstractItemView_DataChanged(this, const_cast<QModelIndex*>(&topLeft), const_cast<QModelIndex*>(&bottomRight), ({ QVector<int>* tmpValue = const_cast<QVector<int>*>(&roles); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })); };
void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast<QModelIndex*>(&index)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast<QModelIndex*>(&index)); };
void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); };
void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast<QModelIndex*>(&index)); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast<QSize*>(&size)); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyboardSearch(const QString & search) { QByteArray t3559d7 = search.toUtf8(); QtWidgets_PackedString searchPacked = { const_cast<char*>(t3559d7.prepend("WHITESPACE").constData()+10), t3559d7.size()-10 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); };
void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast<QModelIndex*>(&index)); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsAboutToBeRemoved(this, const_cast<QModelIndex*>(&parent), start, end); };
void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsInserted(this, const_cast<QModelIndex*>(&parent), start, end); };
void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQHeaderView_ScrollTo(this, const_cast<QModelIndex*>(&index), hint); };
void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); };
void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); };
void selectAll() { callbackQAbstractItemView_SelectAll(this); };
void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQAbstractItemView_SelectionChanged(this, const_cast<QItemSelection*>(&selected), const_cast<QItemSelection*>(&deselected)); };
void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast<QModelIndex*>(&index)); };
void setRootIndex(const QModelIndex & index) { callbackQAbstractItemView_SetRootIndex(this, const_cast<QModelIndex*>(&index)); };
void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); };
void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); };
void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast<QModelIndex*>(&index)); };
void updateGeometries() { callbackQAbstractItemView_UpdateGeometries(this); };
void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); };
QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast<QItemSelectionModel::SelectionFlag>(callbackQAbstractItemView_SelectionCommand(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index), const_cast<QEvent*>(event))); };
QModelIndex indexAt(const QPoint & point) const { return *static_cast<QModelIndex*>(callbackQHeaderView_IndexAt(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&point))); };
QList<QModelIndex> selectedIndexes() const { return *static_cast<QList<QModelIndex>*>(callbackQAbstractItemView_SelectedIndexes(const_cast<void*>(static_cast<const void*>(this)))); };
QRect visualRect(const QModelIndex & index) const { return *static_cast<QRect*>(callbackQHeaderView_VisualRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast<QRegion*>(callbackQHeaderView_VisualRegionForSelection(const_cast<void*>(static_cast<const void*>(this)), const_cast<QItemSelection*>(&selection))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QStyleOptionViewItem viewOptions() const { return *static_cast<QStyleOptionViewItem*>(callbackQAbstractItemView_ViewOptions(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool isIndexHidden(const QModelIndex & index) const { return callbackQHeaderView_IsIndexHidden(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index)) != 0; };
int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast<void*>(static_cast<const void*>(this)), column); };
int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast<void*>(static_cast<const void*>(this)), row); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QHeaderView_NewQHeaderView(long long orientation, void* parent)
{
return new MyQHeaderView(static_cast<Qt::Orientation>(orientation), static_cast<QWidget*>(parent));
}
char QHeaderView_RestoreState(void* ptr, void* state)
{
return static_cast<QHeaderView*>(ptr)->restoreState(*static_cast<QByteArray*>(state));
}
void QHeaderView_CurrentChanged(void* ptr, void* current, void* old)
{
static_cast<QHeaderView*>(ptr)->currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(old));
}
void QHeaderView_CurrentChangedDefault(void* ptr, void* current, void* old)
{
static_cast<QHeaderView*>(ptr)->QHeaderView::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(old));
}
void QHeaderView_ConnectGeometriesChanged(void* ptr)
{
QObject::connect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)()>(&QHeaderView::geometriesChanged), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)()>(&MyQHeaderView::Signal_GeometriesChanged));
}
void QHeaderView_DisconnectGeometriesChanged(void* ptr)
{
QObject::disconnect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)()>(&QHeaderView::geometriesChanged), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)()>(&MyQHeaderView::Signal_GeometriesChanged));
}
void QHeaderView_GeometriesChanged(void* ptr)
{
static_cast<QHeaderView*>(ptr)->geometriesChanged();
}
void QHeaderView_HeaderDataChanged(void* ptr, long long orientation, int logicalFirst, int logicalLast)
{
QMetaObject::invokeMethod(static_cast<QHeaderView*>(ptr), "headerDataChanged", Q_ARG(Qt::Orientation, static_cast<Qt::Orientation>(orientation)), Q_ARG(int, logicalFirst), Q_ARG(int, logicalLast));
}
void QHeaderView_HeaderDataChangedDefault(void* ptr, long long orientation, int logicalFirst, int logicalLast)
{
static_cast<QHeaderView*>(ptr)->QHeaderView::headerDataChanged(static_cast<Qt::Orientation>(orientation), logicalFirst, logicalLast);
}
void QHeaderView_HideSection(void* ptr, int logicalIndex)
{
static_cast<QHeaderView*>(ptr)->hideSection(logicalIndex);
}
void QHeaderView_MoveSection(void* ptr, int from, int to)
{
static_cast<QHeaderView*>(ptr)->moveSection(from, to);
}
void QHeaderView_Reset(void* ptr)
{
static_cast<QHeaderView*>(ptr)->reset();
}
void QHeaderView_ResetDefault(void* ptr)
{
static_cast<QHeaderView*>(ptr)->QHeaderView::reset();
}
void QHeaderView_ResetDefaultSectionSize(void* ptr)
{
static_cast<QHeaderView*>(ptr)->resetDefaultSectionSize();
}
void QHeaderView_ResizeSection(void* ptr, int logicalIndex, int size)
{
static_cast<QHeaderView*>(ptr)->resizeSection(logicalIndex, size);
}
void QHeaderView_ResizeSections2(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QHeaderView*>(ptr), "resizeSections");
}
void QHeaderView_ResizeSections2Default(void* ptr)
{
static_cast<QHeaderView*>(ptr)->QHeaderView::resizeSections();
}
void QHeaderView_ResizeSections(void* ptr, long long mode)
{
static_cast<QHeaderView*>(ptr)->resizeSections(static_cast<QHeaderView::ResizeMode>(mode));
}
void QHeaderView_ConnectSectionClicked(void* ptr)
{
QObject::connect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int)>(&QHeaderView::sectionClicked), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int)>(&MyQHeaderView::Signal_SectionClicked));
}
void QHeaderView_DisconnectSectionClicked(void* ptr)
{
QObject::disconnect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int)>(&QHeaderView::sectionClicked), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int)>(&MyQHeaderView::Signal_SectionClicked));
}
void QHeaderView_SectionClicked(void* ptr, int logicalIndex)
{
static_cast<QHeaderView*>(ptr)->sectionClicked(logicalIndex);
}
void QHeaderView_ConnectSectionCountChanged(void* ptr)
{
QObject::connect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int, int)>(&QHeaderView::sectionCountChanged), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int, int)>(&MyQHeaderView::Signal_SectionCountChanged));
}
void QHeaderView_DisconnectSectionCountChanged(void* ptr)
{
QObject::disconnect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int, int)>(&QHeaderView::sectionCountChanged), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int, int)>(&MyQHeaderView::Signal_SectionCountChanged));
}
void QHeaderView_SectionCountChanged(void* ptr, int oldCount, int newCount)
{
static_cast<QHeaderView*>(ptr)->sectionCountChanged(oldCount, newCount);
}
void QHeaderView_ConnectSectionDoubleClicked(void* ptr)
{
QObject::connect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int)>(&QHeaderView::sectionDoubleClicked), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int)>(&MyQHeaderView::Signal_SectionDoubleClicked));
}
void QHeaderView_DisconnectSectionDoubleClicked(void* ptr)
{
QObject::disconnect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int)>(&QHeaderView::sectionDoubleClicked), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int)>(&MyQHeaderView::Signal_SectionDoubleClicked));
}
void QHeaderView_SectionDoubleClicked(void* ptr, int logicalIndex)
{
static_cast<QHeaderView*>(ptr)->sectionDoubleClicked(logicalIndex);
}
void QHeaderView_ConnectSectionEntered(void* ptr)
{
QObject::connect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int)>(&QHeaderView::sectionEntered), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int)>(&MyQHeaderView::Signal_SectionEntered));
}
void QHeaderView_DisconnectSectionEntered(void* ptr)
{
QObject::disconnect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int)>(&QHeaderView::sectionEntered), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int)>(&MyQHeaderView::Signal_SectionEntered));
}
void QHeaderView_SectionEntered(void* ptr, int logicalIndex)
{
static_cast<QHeaderView*>(ptr)->sectionEntered(logicalIndex);
}
void QHeaderView_ConnectSectionHandleDoubleClicked(void* ptr)
{
QObject::connect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int)>(&QHeaderView::sectionHandleDoubleClicked), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int)>(&MyQHeaderView::Signal_SectionHandleDoubleClicked));
}
void QHeaderView_DisconnectSectionHandleDoubleClicked(void* ptr)
{
QObject::disconnect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int)>(&QHeaderView::sectionHandleDoubleClicked), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int)>(&MyQHeaderView::Signal_SectionHandleDoubleClicked));
}
void QHeaderView_SectionHandleDoubleClicked(void* ptr, int logicalIndex)
{
static_cast<QHeaderView*>(ptr)->sectionHandleDoubleClicked(logicalIndex);
}
void QHeaderView_ConnectSectionMoved(void* ptr)
{
QObject::connect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int, int, int)>(&QHeaderView::sectionMoved), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int, int, int)>(&MyQHeaderView::Signal_SectionMoved));
}
void QHeaderView_DisconnectSectionMoved(void* ptr)
{
QObject::disconnect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int, int, int)>(&QHeaderView::sectionMoved), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int, int, int)>(&MyQHeaderView::Signal_SectionMoved));
}
void QHeaderView_SectionMoved(void* ptr, int logicalIndex, int oldVisualIndex, int newVisualIndex)
{
static_cast<QHeaderView*>(ptr)->sectionMoved(logicalIndex, oldVisualIndex, newVisualIndex);
}
void QHeaderView_ConnectSectionPressed(void* ptr)
{
QObject::connect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int)>(&QHeaderView::sectionPressed), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int)>(&MyQHeaderView::Signal_SectionPressed));
}
void QHeaderView_DisconnectSectionPressed(void* ptr)
{
QObject::disconnect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int)>(&QHeaderView::sectionPressed), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int)>(&MyQHeaderView::Signal_SectionPressed));
}
void QHeaderView_SectionPressed(void* ptr, int logicalIndex)
{
static_cast<QHeaderView*>(ptr)->sectionPressed(logicalIndex);
}
void QHeaderView_ConnectSectionResized(void* ptr)
{
QObject::connect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int, int, int)>(&QHeaderView::sectionResized), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int, int, int)>(&MyQHeaderView::Signal_SectionResized));
}
void QHeaderView_DisconnectSectionResized(void* ptr)
{
QObject::disconnect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int, int, int)>(&QHeaderView::sectionResized), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int, int, int)>(&MyQHeaderView::Signal_SectionResized));
}
void QHeaderView_SectionResized(void* ptr, int logicalIndex, int oldSize, int newSize)
{
static_cast<QHeaderView*>(ptr)->sectionResized(logicalIndex, oldSize, newSize);
}
void QHeaderView_SectionsAboutToBeRemoved(void* ptr, void* parent, int logicalFirst, int logicalLast)
{
QMetaObject::invokeMethod(static_cast<QHeaderView*>(ptr), "sectionsAboutToBeRemoved", Q_ARG(QModelIndex, *static_cast<QModelIndex*>(parent)), Q_ARG(int, logicalFirst), Q_ARG(int, logicalLast));
}
void QHeaderView_SectionsAboutToBeRemovedDefault(void* ptr, void* parent, int logicalFirst, int logicalLast)
{
static_cast<QHeaderView*>(ptr)->QHeaderView::sectionsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), logicalFirst, logicalLast);
}
void QHeaderView_SectionsInserted(void* ptr, void* parent, int logicalFirst, int logicalLast)
{
QMetaObject::invokeMethod(static_cast<QHeaderView*>(ptr), "sectionsInserted", Q_ARG(QModelIndex, *static_cast<QModelIndex*>(parent)), Q_ARG(int, logicalFirst), Q_ARG(int, logicalLast));
}
void QHeaderView_SectionsInsertedDefault(void* ptr, void* parent, int logicalFirst, int logicalLast)
{
static_cast<QHeaderView*>(ptr)->QHeaderView::sectionsInserted(*static_cast<QModelIndex*>(parent), logicalFirst, logicalLast);
}
void QHeaderView_SetCascadingSectionResizes(void* ptr, char enable)
{
static_cast<QHeaderView*>(ptr)->setCascadingSectionResizes(enable != 0);
}
void QHeaderView_SetDefaultAlignment(void* ptr, long long alignment)
{
static_cast<QHeaderView*>(ptr)->setDefaultAlignment(static_cast<Qt::AlignmentFlag>(alignment));
}
void QHeaderView_SetDefaultSectionSize(void* ptr, int size)
{
static_cast<QHeaderView*>(ptr)->setDefaultSectionSize(size);
}
void QHeaderView_SetHighlightSections(void* ptr, char highlight)
{
static_cast<QHeaderView*>(ptr)->setHighlightSections(highlight != 0);
}
void QHeaderView_SetMaximumSectionSize(void* ptr, int size)
{
static_cast<QHeaderView*>(ptr)->setMaximumSectionSize(size);
}
void QHeaderView_SetMinimumSectionSize(void* ptr, int size)
{
static_cast<QHeaderView*>(ptr)->setMinimumSectionSize(size);
}
void QHeaderView_SetOffset(void* ptr, int offset)
{
QMetaObject::invokeMethod(static_cast<QHeaderView*>(ptr), "setOffset", Q_ARG(int, offset));
}
void QHeaderView_SetOffsetDefault(void* ptr, int offset)
{
static_cast<QHeaderView*>(ptr)->QHeaderView::setOffset(offset);
}
void QHeaderView_SetOffsetToLastSection(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QHeaderView*>(ptr), "setOffsetToLastSection");
}
void QHeaderView_SetOffsetToLastSectionDefault(void* ptr)
{
static_cast<QHeaderView*>(ptr)->QHeaderView::setOffsetToLastSection();
}
void QHeaderView_SetOffsetToSectionPosition(void* ptr, int visualSectionNumber)
{
QMetaObject::invokeMethod(static_cast<QHeaderView*>(ptr), "setOffsetToSectionPosition", Q_ARG(int, visualSectionNumber));
}
void QHeaderView_SetOffsetToSectionPositionDefault(void* ptr, int visualSectionNumber)
{
static_cast<QHeaderView*>(ptr)->QHeaderView::setOffsetToSectionPosition(visualSectionNumber);
}
void QHeaderView_SetResizeContentsPrecision(void* ptr, int precision)
{
static_cast<QHeaderView*>(ptr)->setResizeContentsPrecision(precision);
}
void QHeaderView_SetSectionHidden(void* ptr, int logicalIndex, char hide)
{
static_cast<QHeaderView*>(ptr)->setSectionHidden(logicalIndex, hide != 0);
}
void QHeaderView_SetSectionResizeMode(void* ptr, long long mode)
{
static_cast<QHeaderView*>(ptr)->setSectionResizeMode(static_cast<QHeaderView::ResizeMode>(mode));
}
void QHeaderView_SetSectionResizeMode2(void* ptr, int logicalIndex, long long mode)
{
static_cast<QHeaderView*>(ptr)->setSectionResizeMode(logicalIndex, static_cast<QHeaderView::ResizeMode>(mode));
}
void QHeaderView_SetSectionsClickable(void* ptr, char clickable)
{
static_cast<QHeaderView*>(ptr)->setSectionsClickable(clickable != 0);
}
void QHeaderView_SetSectionsMovable(void* ptr, char movable)
{
static_cast<QHeaderView*>(ptr)->setSectionsMovable(movable != 0);
}
void QHeaderView_SetSelection(void* ptr, void* rect, long long flags)
{
static_cast<QHeaderView*>(ptr)->setSelection(*static_cast<QRect*>(rect), static_cast<QItemSelectionModel::SelectionFlag>(flags));
}
void QHeaderView_SetSelectionDefault(void* ptr, void* rect, long long flags)
{
static_cast<QHeaderView*>(ptr)->QHeaderView::setSelection(*static_cast<QRect*>(rect), static_cast<QItemSelectionModel::SelectionFlag>(flags));
}
void QHeaderView_SetSortIndicator(void* ptr, int logicalIndex, long long order)
{
static_cast<QHeaderView*>(ptr)->setSortIndicator(logicalIndex, static_cast<Qt::SortOrder>(order));
}
void QHeaderView_SetSortIndicatorShown(void* ptr, char show)
{
static_cast<QHeaderView*>(ptr)->setSortIndicatorShown(show != 0);
}
void QHeaderView_SetStretchLastSection(void* ptr, char stretch)
{
static_cast<QHeaderView*>(ptr)->setStretchLastSection(stretch != 0);
}
void QHeaderView_SetVisible(void* ptr, char v)
{
static_cast<QHeaderView*>(ptr)->setVisible(v != 0);
}
void QHeaderView_SetVisibleDefault(void* ptr, char v)
{
static_cast<QHeaderView*>(ptr)->QHeaderView::setVisible(v != 0);
}
void QHeaderView_ShowSection(void* ptr, int logicalIndex)
{
static_cast<QHeaderView*>(ptr)->showSection(logicalIndex);
}
void QHeaderView_ConnectSortIndicatorChanged(void* ptr)
{
QObject::connect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int, Qt::SortOrder)>(&QHeaderView::sortIndicatorChanged), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int, Qt::SortOrder)>(&MyQHeaderView::Signal_SortIndicatorChanged));
}
void QHeaderView_DisconnectSortIndicatorChanged(void* ptr)
{
QObject::disconnect(static_cast<QHeaderView*>(ptr), static_cast<void (QHeaderView::*)(int, Qt::SortOrder)>(&QHeaderView::sortIndicatorChanged), static_cast<MyQHeaderView*>(ptr), static_cast<void (MyQHeaderView::*)(int, Qt::SortOrder)>(&MyQHeaderView::Signal_SortIndicatorChanged));
}
void QHeaderView_SortIndicatorChanged(void* ptr, int logicalIndex, long long order)
{
static_cast<QHeaderView*>(ptr)->sortIndicatorChanged(logicalIndex, static_cast<Qt::SortOrder>(order));
}
void QHeaderView_SwapSections(void* ptr, int first, int second)
{
static_cast<QHeaderView*>(ptr)->swapSections(first, second);
}
void QHeaderView_DestroyQHeaderView(void* ptr)
{
static_cast<QHeaderView*>(ptr)->~QHeaderView();
}
void QHeaderView_DestroyQHeaderViewDefault(void* ptr)
{
}
void* QHeaderView_SaveState(void* ptr)
{
return new QByteArray(static_cast<QHeaderView*>(ptr)->saveState());
}
void* QHeaderView_SectionSizeFromContents(void* ptr, int logicalIndex)
{
return ({ QSize tmpValue = static_cast<QHeaderView*>(ptr)->sectionSizeFromContents(logicalIndex); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QHeaderView_SectionSizeFromContentsDefault(void* ptr, int logicalIndex)
{
return ({ QSize tmpValue = static_cast<QHeaderView*>(ptr)->QHeaderView::sectionSizeFromContents(logicalIndex); new QSize(tmpValue.width(), tmpValue.height()); });
}
long long QHeaderView_DefaultAlignment(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->defaultAlignment();
}
long long QHeaderView_Orientation(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->orientation();
}
long long QHeaderView_SortIndicatorOrder(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->sortIndicatorOrder();
}
long long QHeaderView_SectionResizeMode(void* ptr, int logicalIndex)
{
return static_cast<QHeaderView*>(ptr)->sectionResizeMode(logicalIndex);
}
char QHeaderView_CascadingSectionResizes(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->cascadingSectionResizes();
}
char QHeaderView_HighlightSections(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->highlightSections();
}
char QHeaderView_IsSectionHidden(void* ptr, int logicalIndex)
{
return static_cast<QHeaderView*>(ptr)->isSectionHidden(logicalIndex);
}
char QHeaderView_IsSortIndicatorShown(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->isSortIndicatorShown();
}
char QHeaderView_SectionsClickable(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->sectionsClickable();
}
char QHeaderView_SectionsHidden(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->sectionsHidden();
}
char QHeaderView_SectionsMovable(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->sectionsMovable();
}
char QHeaderView_SectionsMoved(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->sectionsMoved();
}
char QHeaderView_StretchLastSection(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->stretchLastSection();
}
int QHeaderView_Count(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->count();
}
int QHeaderView_DefaultSectionSize(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->defaultSectionSize();
}
int QHeaderView_HiddenSectionCount(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->hiddenSectionCount();
}
int QHeaderView_HorizontalOffset(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->horizontalOffset();
}
int QHeaderView_HorizontalOffsetDefault(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->QHeaderView::horizontalOffset();
}
int QHeaderView_Length(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->length();
}
int QHeaderView_LogicalIndex(void* ptr, int visualIndex)
{
return static_cast<QHeaderView*>(ptr)->logicalIndex(visualIndex);
}
int QHeaderView_LogicalIndexAt3(void* ptr, void* pos)
{
return static_cast<QHeaderView*>(ptr)->logicalIndexAt(*static_cast<QPoint*>(pos));
}
int QHeaderView_LogicalIndexAt(void* ptr, int position)
{
return static_cast<QHeaderView*>(ptr)->logicalIndexAt(position);
}
int QHeaderView_LogicalIndexAt2(void* ptr, int x, int y)
{
return static_cast<QHeaderView*>(ptr)->logicalIndexAt(x, y);
}
int QHeaderView_MaximumSectionSize(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->maximumSectionSize();
}
int QHeaderView_MinimumSectionSize(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->minimumSectionSize();
}
int QHeaderView_Offset(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->offset();
}
int QHeaderView_ResizeContentsPrecision(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->resizeContentsPrecision();
}
int QHeaderView_SectionPosition(void* ptr, int logicalIndex)
{
return static_cast<QHeaderView*>(ptr)->sectionPosition(logicalIndex);
}
int QHeaderView_SectionSize(void* ptr, int logicalIndex)
{
return static_cast<QHeaderView*>(ptr)->sectionSize(logicalIndex);
}
int QHeaderView_SectionSizeHint(void* ptr, int logicalIndex)
{
return static_cast<QHeaderView*>(ptr)->sectionSizeHint(logicalIndex);
}
int QHeaderView_SectionViewportPosition(void* ptr, int logicalIndex)
{
return static_cast<QHeaderView*>(ptr)->sectionViewportPosition(logicalIndex);
}
int QHeaderView_SortIndicatorSection(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->sortIndicatorSection();
}
int QHeaderView_StretchSectionCount(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->stretchSectionCount();
}
int QHeaderView_VerticalOffset(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->verticalOffset();
}
int QHeaderView_VerticalOffsetDefault(void* ptr)
{
return static_cast<QHeaderView*>(ptr)->QHeaderView::verticalOffset();
}
int QHeaderView_VisualIndex(void* ptr, int logicalIndex)
{
return static_cast<QHeaderView*>(ptr)->visualIndex(logicalIndex);
}
int QHeaderView_VisualIndexAt(void* ptr, int position)
{
return static_cast<QHeaderView*>(ptr)->visualIndexAt(position);
}
void QHeaderView_InitStyleOption(void* ptr, void* option)
{
static_cast<QHeaderView*>(ptr)->initStyleOption(static_cast<QStyleOptionHeader*>(option));
}
void QHeaderView_PaintSection(void* ptr, void* painter, void* rect, int logicalIndex)
{
static_cast<QHeaderView*>(ptr)->paintSection(static_cast<QPainter*>(painter), *static_cast<QRect*>(rect), logicalIndex);
}
void QHeaderView_PaintSectionDefault(void* ptr, void* painter, void* rect, int logicalIndex)
{
static_cast<QHeaderView*>(ptr)->QHeaderView::paintSection(static_cast<QPainter*>(painter), *static_cast<QRect*>(rect), logicalIndex);
}
void* QHeaderView_MoveCursor(void* ptr, long long cursorAction, long long modifiers)
{
return new QModelIndex(static_cast<QHeaderView*>(ptr)->moveCursor(static_cast<QAbstractItemView::CursorAction>(cursorAction), static_cast<Qt::KeyboardModifier>(modifiers)));
}
void* QHeaderView_MoveCursorDefault(void* ptr, long long cursorAction, long long modifiers)
{
return new QModelIndex(static_cast<QHeaderView*>(ptr)->QHeaderView::moveCursor(static_cast<QAbstractItemView::CursorAction>(cursorAction), static_cast<Qt::KeyboardModifier>(modifiers)));
}
void QHeaderView_ScrollTo(void* ptr, void* index, long long hint)
{
static_cast<QHeaderView*>(ptr)->scrollTo(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::ScrollHint>(hint));
}
void QHeaderView_ScrollToDefault(void* ptr, void* index, long long hint)
{
static_cast<QHeaderView*>(ptr)->QHeaderView::scrollTo(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::ScrollHint>(hint));
}
void* QHeaderView_IndexAt(void* ptr, void* point)
{
return new QModelIndex(static_cast<QHeaderView*>(ptr)->indexAt(*static_cast<QPoint*>(point)));
}
void* QHeaderView_IndexAtDefault(void* ptr, void* point)
{
return new QModelIndex(static_cast<QHeaderView*>(ptr)->QHeaderView::indexAt(*static_cast<QPoint*>(point)));
}
void* QHeaderView_VisualRect(void* ptr, void* index)
{
return ({ QRect tmpValue = static_cast<QHeaderView*>(ptr)->visualRect(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QHeaderView_VisualRectDefault(void* ptr, void* index)
{
return ({ QRect tmpValue = static_cast<QHeaderView*>(ptr)->QHeaderView::visualRect(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QHeaderView_VisualRegionForSelection(void* ptr, void* selection)
{
return new QRegion(static_cast<QHeaderView*>(ptr)->visualRegionForSelection(*static_cast<QItemSelection*>(selection)));
}
void* QHeaderView_VisualRegionForSelectionDefault(void* ptr, void* selection)
{
return new QRegion(static_cast<QHeaderView*>(ptr)->QHeaderView::visualRegionForSelection(*static_cast<QItemSelection*>(selection)));
}
char QHeaderView_IsIndexHidden(void* ptr, void* index)
{
return static_cast<QHeaderView*>(ptr)->isIndexHidden(*static_cast<QModelIndex*>(index));
}
char QHeaderView_IsIndexHiddenDefault(void* ptr, void* index)
{
return static_cast<QHeaderView*>(ptr)->QHeaderView::isIndexHidden(*static_cast<QModelIndex*>(index));
}
class MyQInputDialog: public QInputDialog
{
public:
MyQInputDialog(QWidget *parent, Qt::WindowFlags flags) : QInputDialog(parent, flags) {};
void done(int result) { callbackQInputDialog_Done(this, result); };
void Signal_DoubleValueChanged(double value) { callbackQInputDialog_DoubleValueChanged(this, value); };
void Signal_DoubleValueSelected(double value) { callbackQInputDialog_DoubleValueSelected(this, value); };
void Signal_IntValueChanged(int value) { callbackQInputDialog_IntValueChanged(this, value); };
void Signal_IntValueSelected(int value) { callbackQInputDialog_IntValueSelected(this, value); };
void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); };
void Signal_TextValueChanged(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQInputDialog_TextValueChanged(this, textPacked); };
void Signal_TextValueSelected(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQInputDialog_TextValueSelected(this, textPacked); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
int exec() { return callbackQDialog_Exec(this); };
void accept() { callbackQDialog_Accept(this); };
void Signal_Accepted() { callbackQDialog_Accepted(this); };
void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void Signal_Finished(int result) { callbackQDialog_Finished(this, result); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void open() { callbackQDialog_Open(this); };
void reject() { callbackQDialog_Reject(this); };
void Signal_Rejected() { callbackQDialog_Rejected(this); };
void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QInputDialog_NewQInputDialog(void* parent, long long flags)
{
return new MyQInputDialog(static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(flags));
}
struct QtWidgets_PackedString QInputDialog_QInputDialog_GetItem(void* parent, char* title, char* label, char* items, int current, char editable, char ok, long long flags, long long inputMethodHints)
{
return ({ QByteArray t17f816 = QInputDialog::getItem(static_cast<QWidget*>(parent), QString(title), QString(label), QString(items).split("|", QString::SkipEmptyParts), current, editable != 0, NULL, static_cast<Qt::WindowType>(flags), static_cast<Qt::InputMethodHint>(inputMethodHints)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t17f816.prepend("WHITESPACE").constData()+10), t17f816.size()-10 }; });
}
struct QtWidgets_PackedString QInputDialog_QInputDialog_GetMultiLineText(void* parent, char* title, char* label, char* text, char ok, long long flags, long long inputMethodHints)
{
return ({ QByteArray t808af0 = QInputDialog::getMultiLineText(static_cast<QWidget*>(parent), QString(title), QString(label), QString(text), NULL, static_cast<Qt::WindowType>(flags), static_cast<Qt::InputMethodHint>(inputMethodHints)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t808af0.prepend("WHITESPACE").constData()+10), t808af0.size()-10 }; });
}
struct QtWidgets_PackedString QInputDialog_QInputDialog_GetText(void* parent, char* title, char* label, long long mode, char* text, char ok, long long flags, long long inputMethodHints)
{
return ({ QByteArray t06a16f = QInputDialog::getText(static_cast<QWidget*>(parent), QString(title), QString(label), static_cast<QLineEdit::EchoMode>(mode), QString(text), NULL, static_cast<Qt::WindowType>(flags), static_cast<Qt::InputMethodHint>(inputMethodHints)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t06a16f.prepend("WHITESPACE").constData()+10), t06a16f.size()-10 }; });
}
double QInputDialog_QInputDialog_GetDouble(void* parent, char* title, char* label, double value, double min, double max, int decimals, char ok, long long flags)
{
return QInputDialog::getDouble(static_cast<QWidget*>(parent), QString(title), QString(label), value, min, max, decimals, NULL, static_cast<Qt::WindowType>(flags));
}
int QInputDialog_QInputDialog_GetInt(void* parent, char* title, char* label, int value, int min, int max, int step, char ok, long long flags)
{
return QInputDialog::getInt(static_cast<QWidget*>(parent), QString(title), QString(label), value, min, max, step, NULL, static_cast<Qt::WindowType>(flags));
}
void QInputDialog_Done(void* ptr, int result)
{
static_cast<QInputDialog*>(ptr)->done(result);
}
void QInputDialog_DoneDefault(void* ptr, int result)
{
static_cast<QInputDialog*>(ptr)->QInputDialog::done(result);
}
void QInputDialog_ConnectDoubleValueChanged(void* ptr)
{
QObject::connect(static_cast<QInputDialog*>(ptr), static_cast<void (QInputDialog::*)(double)>(&QInputDialog::doubleValueChanged), static_cast<MyQInputDialog*>(ptr), static_cast<void (MyQInputDialog::*)(double)>(&MyQInputDialog::Signal_DoubleValueChanged));
}
void QInputDialog_DisconnectDoubleValueChanged(void* ptr)
{
QObject::disconnect(static_cast<QInputDialog*>(ptr), static_cast<void (QInputDialog::*)(double)>(&QInputDialog::doubleValueChanged), static_cast<MyQInputDialog*>(ptr), static_cast<void (MyQInputDialog::*)(double)>(&MyQInputDialog::Signal_DoubleValueChanged));
}
void QInputDialog_DoubleValueChanged(void* ptr, double value)
{
static_cast<QInputDialog*>(ptr)->doubleValueChanged(value);
}
void QInputDialog_ConnectDoubleValueSelected(void* ptr)
{
QObject::connect(static_cast<QInputDialog*>(ptr), static_cast<void (QInputDialog::*)(double)>(&QInputDialog::doubleValueSelected), static_cast<MyQInputDialog*>(ptr), static_cast<void (MyQInputDialog::*)(double)>(&MyQInputDialog::Signal_DoubleValueSelected));
}
void QInputDialog_DisconnectDoubleValueSelected(void* ptr)
{
QObject::disconnect(static_cast<QInputDialog*>(ptr), static_cast<void (QInputDialog::*)(double)>(&QInputDialog::doubleValueSelected), static_cast<MyQInputDialog*>(ptr), static_cast<void (MyQInputDialog::*)(double)>(&MyQInputDialog::Signal_DoubleValueSelected));
}
void QInputDialog_DoubleValueSelected(void* ptr, double value)
{
static_cast<QInputDialog*>(ptr)->doubleValueSelected(value);
}
void QInputDialog_ConnectIntValueChanged(void* ptr)
{
QObject::connect(static_cast<QInputDialog*>(ptr), static_cast<void (QInputDialog::*)(int)>(&QInputDialog::intValueChanged), static_cast<MyQInputDialog*>(ptr), static_cast<void (MyQInputDialog::*)(int)>(&MyQInputDialog::Signal_IntValueChanged));
}
void QInputDialog_DisconnectIntValueChanged(void* ptr)
{
QObject::disconnect(static_cast<QInputDialog*>(ptr), static_cast<void (QInputDialog::*)(int)>(&QInputDialog::intValueChanged), static_cast<MyQInputDialog*>(ptr), static_cast<void (MyQInputDialog::*)(int)>(&MyQInputDialog::Signal_IntValueChanged));
}
void QInputDialog_IntValueChanged(void* ptr, int value)
{
static_cast<QInputDialog*>(ptr)->intValueChanged(value);
}
void QInputDialog_ConnectIntValueSelected(void* ptr)
{
QObject::connect(static_cast<QInputDialog*>(ptr), static_cast<void (QInputDialog::*)(int)>(&QInputDialog::intValueSelected), static_cast<MyQInputDialog*>(ptr), static_cast<void (MyQInputDialog::*)(int)>(&MyQInputDialog::Signal_IntValueSelected));
}
void QInputDialog_DisconnectIntValueSelected(void* ptr)
{
QObject::disconnect(static_cast<QInputDialog*>(ptr), static_cast<void (QInputDialog::*)(int)>(&QInputDialog::intValueSelected), static_cast<MyQInputDialog*>(ptr), static_cast<void (MyQInputDialog::*)(int)>(&MyQInputDialog::Signal_IntValueSelected));
}
void QInputDialog_IntValueSelected(void* ptr, int value)
{
static_cast<QInputDialog*>(ptr)->intValueSelected(value);
}
void QInputDialog_Open(void* ptr, void* receiver, char* member)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(receiver))) {
static_cast<QInputDialog*>(ptr)->open(static_cast<QGraphicsObject*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(receiver))) {
static_cast<QInputDialog*>(ptr)->open(static_cast<QGraphicsWidget*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(receiver))) {
static_cast<QInputDialog*>(ptr)->open(static_cast<QLayout*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(receiver))) {
static_cast<QInputDialog*>(ptr)->open(static_cast<QWidget*>(receiver), const_cast<const char*>(member));
} else {
static_cast<QInputDialog*>(ptr)->open(static_cast<QObject*>(receiver), const_cast<const char*>(member));
}
}
void QInputDialog_SetCancelButtonText(void* ptr, char* text)
{
static_cast<QInputDialog*>(ptr)->setCancelButtonText(QString(text));
}
void QInputDialog_SetComboBoxEditable(void* ptr, char editable)
{
static_cast<QInputDialog*>(ptr)->setComboBoxEditable(editable != 0);
}
void QInputDialog_SetComboBoxItems(void* ptr, char* items)
{
static_cast<QInputDialog*>(ptr)->setComboBoxItems(QString(items).split("|", QString::SkipEmptyParts));
}
void QInputDialog_SetDoubleDecimals(void* ptr, int decimals)
{
static_cast<QInputDialog*>(ptr)->setDoubleDecimals(decimals);
}
void QInputDialog_SetDoubleMaximum(void* ptr, double max)
{
static_cast<QInputDialog*>(ptr)->setDoubleMaximum(max);
}
void QInputDialog_SetDoubleMinimum(void* ptr, double min)
{
static_cast<QInputDialog*>(ptr)->setDoubleMinimum(min);
}
void QInputDialog_SetDoubleRange(void* ptr, double min, double max)
{
static_cast<QInputDialog*>(ptr)->setDoubleRange(min, max);
}
void QInputDialog_SetDoubleValue(void* ptr, double value)
{
static_cast<QInputDialog*>(ptr)->setDoubleValue(value);
}
void QInputDialog_SetInputMode(void* ptr, long long mode)
{
static_cast<QInputDialog*>(ptr)->setInputMode(static_cast<QInputDialog::InputMode>(mode));
}
void QInputDialog_SetIntMaximum(void* ptr, int max)
{
static_cast<QInputDialog*>(ptr)->setIntMaximum(max);
}
void QInputDialog_SetIntMinimum(void* ptr, int min)
{
static_cast<QInputDialog*>(ptr)->setIntMinimum(min);
}
void QInputDialog_SetIntRange(void* ptr, int min, int max)
{
static_cast<QInputDialog*>(ptr)->setIntRange(min, max);
}
void QInputDialog_SetIntStep(void* ptr, int step)
{
static_cast<QInputDialog*>(ptr)->setIntStep(step);
}
void QInputDialog_SetIntValue(void* ptr, int value)
{
static_cast<QInputDialog*>(ptr)->setIntValue(value);
}
void QInputDialog_SetLabelText(void* ptr, char* text)
{
static_cast<QInputDialog*>(ptr)->setLabelText(QString(text));
}
void QInputDialog_SetOkButtonText(void* ptr, char* text)
{
static_cast<QInputDialog*>(ptr)->setOkButtonText(QString(text));
}
void QInputDialog_SetOption(void* ptr, long long option, char on)
{
static_cast<QInputDialog*>(ptr)->setOption(static_cast<QInputDialog::InputDialogOption>(option), on != 0);
}
void QInputDialog_SetOptions(void* ptr, long long options)
{
static_cast<QInputDialog*>(ptr)->setOptions(static_cast<QInputDialog::InputDialogOption>(options));
}
void QInputDialog_SetTextEchoMode(void* ptr, long long mode)
{
static_cast<QInputDialog*>(ptr)->setTextEchoMode(static_cast<QLineEdit::EchoMode>(mode));
}
void QInputDialog_SetTextValue(void* ptr, char* text)
{
static_cast<QInputDialog*>(ptr)->setTextValue(QString(text));
}
void QInputDialog_ConnectTextValueChanged(void* ptr)
{
QObject::connect(static_cast<QInputDialog*>(ptr), static_cast<void (QInputDialog::*)(const QString &)>(&QInputDialog::textValueChanged), static_cast<MyQInputDialog*>(ptr), static_cast<void (MyQInputDialog::*)(const QString &)>(&MyQInputDialog::Signal_TextValueChanged));
}
void QInputDialog_DisconnectTextValueChanged(void* ptr)
{
QObject::disconnect(static_cast<QInputDialog*>(ptr), static_cast<void (QInputDialog::*)(const QString &)>(&QInputDialog::textValueChanged), static_cast<MyQInputDialog*>(ptr), static_cast<void (MyQInputDialog::*)(const QString &)>(&MyQInputDialog::Signal_TextValueChanged));
}
void QInputDialog_TextValueChanged(void* ptr, char* text)
{
static_cast<QInputDialog*>(ptr)->textValueChanged(QString(text));
}
void QInputDialog_ConnectTextValueSelected(void* ptr)
{
QObject::connect(static_cast<QInputDialog*>(ptr), static_cast<void (QInputDialog::*)(const QString &)>(&QInputDialog::textValueSelected), static_cast<MyQInputDialog*>(ptr), static_cast<void (MyQInputDialog::*)(const QString &)>(&MyQInputDialog::Signal_TextValueSelected));
}
void QInputDialog_DisconnectTextValueSelected(void* ptr)
{
QObject::disconnect(static_cast<QInputDialog*>(ptr), static_cast<void (QInputDialog::*)(const QString &)>(&QInputDialog::textValueSelected), static_cast<MyQInputDialog*>(ptr), static_cast<void (MyQInputDialog::*)(const QString &)>(&MyQInputDialog::Signal_TextValueSelected));
}
void QInputDialog_TextValueSelected(void* ptr, char* text)
{
static_cast<QInputDialog*>(ptr)->textValueSelected(QString(text));
}
void QInputDialog_DestroyQInputDialog(void* ptr)
{
static_cast<QInputDialog*>(ptr)->~QInputDialog();
}
long long QInputDialog_Options(void* ptr)
{
return static_cast<QInputDialog*>(ptr)->options();
}
long long QInputDialog_InputMode(void* ptr)
{
return static_cast<QInputDialog*>(ptr)->inputMode();
}
long long QInputDialog_TextEchoMode(void* ptr)
{
return static_cast<QInputDialog*>(ptr)->textEchoMode();
}
struct QtWidgets_PackedString QInputDialog_CancelButtonText(void* ptr)
{
return ({ QByteArray t24ff21 = static_cast<QInputDialog*>(ptr)->cancelButtonText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t24ff21.prepend("WHITESPACE").constData()+10), t24ff21.size()-10 }; });
}
struct QtWidgets_PackedString QInputDialog_LabelText(void* ptr)
{
return ({ QByteArray tf75eaa = static_cast<QInputDialog*>(ptr)->labelText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tf75eaa.prepend("WHITESPACE").constData()+10), tf75eaa.size()-10 }; });
}
struct QtWidgets_PackedString QInputDialog_OkButtonText(void* ptr)
{
return ({ QByteArray t1d4e9a = static_cast<QInputDialog*>(ptr)->okButtonText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t1d4e9a.prepend("WHITESPACE").constData()+10), t1d4e9a.size()-10 }; });
}
struct QtWidgets_PackedString QInputDialog_TextValue(void* ptr)
{
return ({ QByteArray t1ee8b9 = static_cast<QInputDialog*>(ptr)->textValue().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t1ee8b9.prepend("WHITESPACE").constData()+10), t1ee8b9.size()-10 }; });
}
struct QtWidgets_PackedString QInputDialog_ComboBoxItems(void* ptr)
{
return ({ QByteArray t976d54 = static_cast<QInputDialog*>(ptr)->comboBoxItems().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t976d54.prepend("WHITESPACE").constData()+10), t976d54.size()-10 }; });
}
char QInputDialog_IsComboBoxEditable(void* ptr)
{
return static_cast<QInputDialog*>(ptr)->isComboBoxEditable();
}
char QInputDialog_TestOption(void* ptr, long long option)
{
return static_cast<QInputDialog*>(ptr)->testOption(static_cast<QInputDialog::InputDialogOption>(option));
}
double QInputDialog_DoubleMaximum(void* ptr)
{
return static_cast<QInputDialog*>(ptr)->doubleMaximum();
}
double QInputDialog_DoubleMinimum(void* ptr)
{
return static_cast<QInputDialog*>(ptr)->doubleMinimum();
}
double QInputDialog_DoubleValue(void* ptr)
{
return static_cast<QInputDialog*>(ptr)->doubleValue();
}
int QInputDialog_DoubleDecimals(void* ptr)
{
return static_cast<QInputDialog*>(ptr)->doubleDecimals();
}
int QInputDialog_IntMaximum(void* ptr)
{
return static_cast<QInputDialog*>(ptr)->intMaximum();
}
int QInputDialog_IntMinimum(void* ptr)
{
return static_cast<QInputDialog*>(ptr)->intMinimum();
}
int QInputDialog_IntStep(void* ptr)
{
return static_cast<QInputDialog*>(ptr)->intStep();
}
int QInputDialog_IntValue(void* ptr)
{
return static_cast<QInputDialog*>(ptr)->intValue();
}
class MyQItemDelegate: public QItemDelegate
{
public:
MyQItemDelegate(QObject *parent) : QItemDelegate(parent) {};
bool editorEvent(QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_EditorEvent(this, event, model, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index)) != 0; };
bool eventFilter(QObject * editor, QEvent * event) { return callbackQAbstractItemDelegate_EventFilter(this, editor, event) != 0; };
QSize sizeHint(const QStyleOptionViewItem & option, const QModelIndex & index) const { return *static_cast<QSize*>(callbackQItemDelegate_SizeHint(const_cast<void*>(static_cast<const void*>(this)), const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index))); };
QWidget * createEditor(QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index) const { return static_cast<QWidget*>(callbackQAbstractItemDelegate_CreateEditor(const_cast<void*>(static_cast<const void*>(this)), parent, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index))); };
void drawCheck(QPainter * painter, const QStyleOptionViewItem & option, const QRect & rect, Qt::CheckState state) const { callbackQItemDelegate_DrawCheck(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QStyleOptionViewItem*>(&option), const_cast<QRect*>(&rect), state); };
void drawDecoration(QPainter * painter, const QStyleOptionViewItem & option, const QRect & rect, const QPixmap & pixmap) const { callbackQItemDelegate_DrawDecoration(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QStyleOptionViewItem*>(&option), const_cast<QRect*>(&rect), const_cast<QPixmap*>(&pixmap)); };
void drawDisplay(QPainter * painter, const QStyleOptionViewItem & option, const QRect & rect, const QString & text) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQItemDelegate_DrawDisplay(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QStyleOptionViewItem*>(&option), const_cast<QRect*>(&rect), textPacked); };
void drawFocus(QPainter * painter, const QStyleOptionViewItem & option, const QRect & rect) const { callbackQItemDelegate_DrawFocus(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QStyleOptionViewItem*>(&option), const_cast<QRect*>(&rect)); };
void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQItemDelegate_Paint(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index)); };
void setEditorData(QWidget * editor, const QModelIndex & index) const { callbackQAbstractItemDelegate_SetEditorData(const_cast<void*>(static_cast<const void*>(this)), editor, const_cast<QModelIndex*>(&index)); };
void setModelData(QWidget * editor, QAbstractItemModel * model, const QModelIndex & index) const { callbackQAbstractItemDelegate_SetModelData(const_cast<void*>(static_cast<const void*>(this)), editor, model, const_cast<QModelIndex*>(&index)); };
void updateEditorGeometry(QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQAbstractItemDelegate_UpdateEditorGeometry(const_cast<void*>(static_cast<const void*>(this)), editor, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index)); };
bool helpEvent(QHelpEvent * event, QAbstractItemView * view, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_HelpEvent(this, event, view, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index)) != 0; };
void Signal_CloseEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemDelegate_CloseEditor(this, editor, hint); };
void Signal_CommitData(QWidget * editor) { callbackQAbstractItemDelegate_CommitData(this, editor); };
void Signal_SizeHintChanged(const QModelIndex & index) { callbackQAbstractItemDelegate_SizeHintChanged(this, const_cast<QModelIndex*>(&index)); };
void destroyEditor(QWidget * editor, const QModelIndex & index) const { callbackQAbstractItemDelegate_DestroyEditor(const_cast<void*>(static_cast<const void*>(this)), editor, const_cast<QModelIndex*>(&index)); };
bool event(QEvent * e) { return callbackQAbstractItemDelegate_Event(this, e) != 0; };
void childEvent(QChildEvent * event) { callbackQAbstractItemDelegate_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQAbstractItemDelegate_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQAbstractItemDelegate_CustomEvent(this, event); };
void deleteLater() { callbackQAbstractItemDelegate_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQAbstractItemDelegate_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQAbstractItemDelegate_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQAbstractItemDelegate_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQAbstractItemDelegate_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQAbstractItemDelegate_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QItemDelegate_NewQItemDelegate(void* parent)
{
return new MyQItemDelegate(static_cast<QObject*>(parent));
}
void QItemDelegate_SetClipping(void* ptr, char clip)
{
static_cast<QItemDelegate*>(ptr)->setClipping(clip != 0);
}
void QItemDelegate_SetItemEditorFactory(void* ptr, void* factory)
{
static_cast<QItemDelegate*>(ptr)->setItemEditorFactory(static_cast<QItemEditorFactory*>(factory));
}
void QItemDelegate_DestroyQItemDelegate(void* ptr)
{
static_cast<QItemDelegate*>(ptr)->~QItemDelegate();
}
void* QItemDelegate_ItemEditorFactory(void* ptr)
{
return static_cast<QItemDelegate*>(ptr)->itemEditorFactory();
}
void* QItemDelegate_SizeHint(void* ptr, void* option, void* index)
{
return ({ QSize tmpValue = static_cast<QItemDelegate*>(ptr)->sizeHint(*static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index)); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QItemDelegate_SizeHintDefault(void* ptr, void* option, void* index)
{
return ({ QSize tmpValue = static_cast<QItemDelegate*>(ptr)->QItemDelegate::sizeHint(*static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index)); new QSize(tmpValue.width(), tmpValue.height()); });
}
char QItemDelegate_HasClipping(void* ptr)
{
return static_cast<QItemDelegate*>(ptr)->hasClipping();
}
void QItemDelegate_DrawBackground(void* ptr, void* painter, void* option, void* index)
{
static_cast<QItemDelegate*>(ptr)->drawBackground(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
void QItemDelegate_DrawCheck(void* ptr, void* painter, void* option, void* rect, long long state)
{
static_cast<QItemDelegate*>(ptr)->drawCheck(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QRect*>(rect), static_cast<Qt::CheckState>(state));
}
void QItemDelegate_DrawCheckDefault(void* ptr, void* painter, void* option, void* rect, long long state)
{
static_cast<QItemDelegate*>(ptr)->QItemDelegate::drawCheck(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QRect*>(rect), static_cast<Qt::CheckState>(state));
}
void QItemDelegate_DrawDecoration(void* ptr, void* painter, void* option, void* rect, void* pixmap)
{
static_cast<QItemDelegate*>(ptr)->drawDecoration(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QRect*>(rect), *static_cast<QPixmap*>(pixmap));
}
void QItemDelegate_DrawDecorationDefault(void* ptr, void* painter, void* option, void* rect, void* pixmap)
{
static_cast<QItemDelegate*>(ptr)->QItemDelegate::drawDecoration(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QRect*>(rect), *static_cast<QPixmap*>(pixmap));
}
void QItemDelegate_DrawDisplay(void* ptr, void* painter, void* option, void* rect, char* text)
{
static_cast<QItemDelegate*>(ptr)->drawDisplay(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QRect*>(rect), QString(text));
}
void QItemDelegate_DrawDisplayDefault(void* ptr, void* painter, void* option, void* rect, char* text)
{
static_cast<QItemDelegate*>(ptr)->QItemDelegate::drawDisplay(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QRect*>(rect), QString(text));
}
void QItemDelegate_DrawFocus(void* ptr, void* painter, void* option, void* rect)
{
static_cast<QItemDelegate*>(ptr)->drawFocus(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QRect*>(rect));
}
void QItemDelegate_DrawFocusDefault(void* ptr, void* painter, void* option, void* rect)
{
static_cast<QItemDelegate*>(ptr)->QItemDelegate::drawFocus(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QRect*>(rect));
}
void QItemDelegate_Paint(void* ptr, void* painter, void* option, void* index)
{
static_cast<QItemDelegate*>(ptr)->paint(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
void QItemDelegate_PaintDefault(void* ptr, void* painter, void* option, void* index)
{
static_cast<QItemDelegate*>(ptr)->QItemDelegate::paint(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
class MyQItemEditorCreatorBase: public QItemEditorCreatorBase
{
public:
~MyQItemEditorCreatorBase() { callbackQItemEditorCreatorBase_DestroyQItemEditorCreatorBase(this); };
QByteArray valuePropertyName() const { return *static_cast<QByteArray*>(callbackQItemEditorCreatorBase_ValuePropertyName(const_cast<void*>(static_cast<const void*>(this)))); };
QWidget * createWidget(QWidget * parent) const { return static_cast<QWidget*>(callbackQItemEditorCreatorBase_CreateWidget(const_cast<void*>(static_cast<const void*>(this)), parent)); };
};
void QItemEditorCreatorBase_DestroyQItemEditorCreatorBase(void* ptr)
{
static_cast<QItemEditorCreatorBase*>(ptr)->~QItemEditorCreatorBase();
}
void QItemEditorCreatorBase_DestroyQItemEditorCreatorBaseDefault(void* ptr)
{
}
void* QItemEditorCreatorBase_ValuePropertyName(void* ptr)
{
return new QByteArray(static_cast<QItemEditorCreatorBase*>(ptr)->valuePropertyName());
}
void* QItemEditorCreatorBase_CreateWidget(void* ptr, void* parent)
{
return static_cast<QItemEditorCreatorBase*>(ptr)->createWidget(static_cast<QWidget*>(parent));
}
class MyQItemEditorFactory: public QItemEditorFactory
{
public:
MyQItemEditorFactory() : QItemEditorFactory() {};
~MyQItemEditorFactory() { callbackQItemEditorFactory_DestroyQItemEditorFactory(this); };
QByteArray valuePropertyName(int userType) const { return *static_cast<QByteArray*>(callbackQItemEditorFactory_ValuePropertyName(const_cast<void*>(static_cast<const void*>(this)), userType)); };
QWidget * createEditor(int userType, QWidget * parent) const { return static_cast<QWidget*>(callbackQItemEditorFactory_CreateEditor(const_cast<void*>(static_cast<const void*>(this)), userType, parent)); };
};
void* QItemEditorFactory_NewQItemEditorFactory()
{
return new MyQItemEditorFactory();
}
void* QItemEditorFactory_QItemEditorFactory_DefaultFactory()
{
return const_cast<QItemEditorFactory*>(QItemEditorFactory::defaultFactory());
}
void QItemEditorFactory_RegisterEditor(void* ptr, int userType, void* creator)
{
static_cast<QItemEditorFactory*>(ptr)->registerEditor(userType, static_cast<QItemEditorCreatorBase*>(creator));
}
void QItemEditorFactory_QItemEditorFactory_SetDefaultFactory(void* factory)
{
QItemEditorFactory::setDefaultFactory(static_cast<QItemEditorFactory*>(factory));
}
void QItemEditorFactory_DestroyQItemEditorFactory(void* ptr)
{
static_cast<QItemEditorFactory*>(ptr)->~QItemEditorFactory();
}
void QItemEditorFactory_DestroyQItemEditorFactoryDefault(void* ptr)
{
}
void* QItemEditorFactory_ValuePropertyName(void* ptr, int userType)
{
return new QByteArray(static_cast<QItemEditorFactory*>(ptr)->valuePropertyName(userType));
}
void* QItemEditorFactory_ValuePropertyNameDefault(void* ptr, int userType)
{
return new QByteArray(static_cast<QItemEditorFactory*>(ptr)->QItemEditorFactory::valuePropertyName(userType));
}
void* QItemEditorFactory_CreateEditor(void* ptr, int userType, void* parent)
{
return static_cast<QItemEditorFactory*>(ptr)->createEditor(userType, static_cast<QWidget*>(parent));
}
void* QItemEditorFactory_CreateEditorDefault(void* ptr, int userType, void* parent)
{
return static_cast<QItemEditorFactory*>(ptr)->QItemEditorFactory::createEditor(userType, static_cast<QWidget*>(parent));
}
class MyQKeyEventTransition: public QKeyEventTransition
{
public:
MyQKeyEventTransition(QObject *object, QEvent::Type type, int key, QState *sourceState) : QKeyEventTransition(object, type, key, sourceState) {};
MyQKeyEventTransition(QState *sourceState) : QKeyEventTransition(sourceState) {};
bool eventTest(QEvent * event) { return callbackQKeyEventTransition_EventTest(this, event) != 0; };
void onTransition(QEvent * event) { callbackQKeyEventTransition_OnTransition(this, event); };
bool event(QEvent * e) { return callbackQKeyEventTransition_Event(this, e) != 0; };
void Signal_TargetStateChanged() { callbackQKeyEventTransition_TargetStateChanged(this); };
void Signal_TargetStatesChanged() { callbackQKeyEventTransition_TargetStatesChanged(this); };
void Signal_Triggered() { callbackQKeyEventTransition_Triggered(this); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQKeyEventTransition_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQKeyEventTransition_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQKeyEventTransition_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQKeyEventTransition_CustomEvent(this, event); };
void deleteLater() { callbackQKeyEventTransition_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQKeyEventTransition_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQKeyEventTransition_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQKeyEventTransition_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQKeyEventTransition_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQKeyEventTransition_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QKeyEventTransition_NewQKeyEventTransition2(void* object, long long ty, int key, void* sourceState)
{
return new MyQKeyEventTransition(static_cast<QObject*>(object), static_cast<QEvent::Type>(ty), key, static_cast<QState*>(sourceState));
}
void* QKeyEventTransition_NewQKeyEventTransition(void* sourceState)
{
return new MyQKeyEventTransition(static_cast<QState*>(sourceState));
}
char QKeyEventTransition_EventTestDefault(void* ptr, void* event)
{
return static_cast<QKeyEventTransition*>(ptr)->QKeyEventTransition::eventTest(static_cast<QEvent*>(event));
}
void QKeyEventTransition_OnTransitionDefault(void* ptr, void* event)
{
static_cast<QKeyEventTransition*>(ptr)->QKeyEventTransition::onTransition(static_cast<QEvent*>(event));
}
void QKeyEventTransition_SetKey(void* ptr, int key)
{
static_cast<QKeyEventTransition*>(ptr)->setKey(key);
}
void QKeyEventTransition_SetModifierMask(void* ptr, long long modifierMask)
{
static_cast<QKeyEventTransition*>(ptr)->setModifierMask(static_cast<Qt::KeyboardModifier>(modifierMask));
}
void QKeyEventTransition_DestroyQKeyEventTransition(void* ptr)
{
static_cast<QKeyEventTransition*>(ptr)->~QKeyEventTransition();
}
long long QKeyEventTransition_ModifierMask(void* ptr)
{
return static_cast<QKeyEventTransition*>(ptr)->modifierMask();
}
int QKeyEventTransition_Key(void* ptr)
{
return static_cast<QKeyEventTransition*>(ptr)->key();
}
void* QKeyEventTransition___setTargetStates_targets_atList(void* ptr, int i)
{
return const_cast<QAbstractState*>(static_cast<QList<QAbstractState *>*>(ptr)->at(i));
}
void QKeyEventTransition___setTargetStates_targets_setList(void* ptr, void* i)
{
static_cast<QList<QAbstractState *>*>(ptr)->append(static_cast<QAbstractState*>(i));
}
void* QKeyEventTransition___setTargetStates_targets_newList(void* ptr)
{
return new QList<QAbstractState *>;
}
void* QKeyEventTransition___animations_atList(void* ptr, int i)
{
return const_cast<QAbstractAnimation*>(static_cast<QList<QAbstractAnimation *>*>(ptr)->at(i));
}
void QKeyEventTransition___animations_setList(void* ptr, void* i)
{
static_cast<QList<QAbstractAnimation *>*>(ptr)->append(static_cast<QAbstractAnimation*>(i));
}
void* QKeyEventTransition___animations_newList(void* ptr)
{
return new QList<QAbstractAnimation *>;
}
void* QKeyEventTransition___targetStates_atList(void* ptr, int i)
{
return const_cast<QAbstractState*>(static_cast<QList<QAbstractState *>*>(ptr)->at(i));
}
void QKeyEventTransition___targetStates_setList(void* ptr, void* i)
{
static_cast<QList<QAbstractState *>*>(ptr)->append(static_cast<QAbstractState*>(i));
}
void* QKeyEventTransition___targetStates_newList(void* ptr)
{
return new QList<QAbstractState *>;
}
void* QKeyEventTransition___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QKeyEventTransition___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QKeyEventTransition___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QKeyEventTransition___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QKeyEventTransition___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QKeyEventTransition___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QKeyEventTransition___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QKeyEventTransition___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QKeyEventTransition___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QKeyEventTransition___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QKeyEventTransition___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QKeyEventTransition___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QKeyEventTransition___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QKeyEventTransition___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QKeyEventTransition___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QKeyEventTransition_EventDefault(void* ptr, void* e)
{
return static_cast<QKeyEventTransition*>(ptr)->QKeyEventTransition::event(static_cast<QEvent*>(e));
}
char QKeyEventTransition_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QKeyEventTransition*>(ptr)->QKeyEventTransition::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QKeyEventTransition*>(ptr)->QKeyEventTransition::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QKeyEventTransition*>(ptr)->QKeyEventTransition::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QKeyEventTransition*>(ptr)->QKeyEventTransition::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QKeyEventTransition*>(ptr)->QKeyEventTransition::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QKeyEventTransition_ChildEventDefault(void* ptr, void* event)
{
static_cast<QKeyEventTransition*>(ptr)->QKeyEventTransition::childEvent(static_cast<QChildEvent*>(event));
}
void QKeyEventTransition_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QKeyEventTransition*>(ptr)->QKeyEventTransition::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QKeyEventTransition_CustomEventDefault(void* ptr, void* event)
{
static_cast<QKeyEventTransition*>(ptr)->QKeyEventTransition::customEvent(static_cast<QEvent*>(event));
}
void QKeyEventTransition_DeleteLaterDefault(void* ptr)
{
static_cast<QKeyEventTransition*>(ptr)->QKeyEventTransition::deleteLater();
}
void QKeyEventTransition_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QKeyEventTransition*>(ptr)->QKeyEventTransition::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QKeyEventTransition_TimerEventDefault(void* ptr, void* event)
{
static_cast<QKeyEventTransition*>(ptr)->QKeyEventTransition::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QKeyEventTransition_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QKeyEventTransition*>(ptr)->QKeyEventTransition::metaObject());
}
class MyQKeySequenceEdit: public QKeySequenceEdit
{
public:
MyQKeySequenceEdit(QWidget *parent) : QKeySequenceEdit(parent) {};
MyQKeySequenceEdit(const QKeySequence &keySequence, QWidget *parent) : QKeySequenceEdit(keySequence, parent) {};
void clear() { callbackQKeySequenceEdit_Clear(this); };
void Signal_EditingFinished() { callbackQKeySequenceEdit_EditingFinished(this); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); };
void Signal_KeySequenceChanged(const QKeySequence & keySequence) { callbackQKeySequenceEdit_KeySequenceChanged(this, const_cast<QKeySequence*>(&keySequence)); };
void setKeySequence(const QKeySequence & keySequence) { callbackQKeySequenceEdit_SetKeySequence(this, const_cast<QKeySequence*>(&keySequence)); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QKeySequenceEdit_NewQKeySequenceEdit(void* parent)
{
return new MyQKeySequenceEdit(static_cast<QWidget*>(parent));
}
void* QKeySequenceEdit_NewQKeySequenceEdit2(void* keySequence, void* parent)
{
return new MyQKeySequenceEdit(*static_cast<QKeySequence*>(keySequence), static_cast<QWidget*>(parent));
}
void QKeySequenceEdit_Clear(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QKeySequenceEdit*>(ptr), "clear");
}
void QKeySequenceEdit_ClearDefault(void* ptr)
{
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::clear();
}
void QKeySequenceEdit_ConnectEditingFinished(void* ptr)
{
QObject::connect(static_cast<QKeySequenceEdit*>(ptr), static_cast<void (QKeySequenceEdit::*)()>(&QKeySequenceEdit::editingFinished), static_cast<MyQKeySequenceEdit*>(ptr), static_cast<void (MyQKeySequenceEdit::*)()>(&MyQKeySequenceEdit::Signal_EditingFinished));
}
void QKeySequenceEdit_DisconnectEditingFinished(void* ptr)
{
QObject::disconnect(static_cast<QKeySequenceEdit*>(ptr), static_cast<void (QKeySequenceEdit::*)()>(&QKeySequenceEdit::editingFinished), static_cast<MyQKeySequenceEdit*>(ptr), static_cast<void (MyQKeySequenceEdit::*)()>(&MyQKeySequenceEdit::Signal_EditingFinished));
}
void QKeySequenceEdit_EditingFinished(void* ptr)
{
static_cast<QKeySequenceEdit*>(ptr)->editingFinished();
}
void QKeySequenceEdit_ConnectKeySequenceChanged(void* ptr)
{
QObject::connect(static_cast<QKeySequenceEdit*>(ptr), static_cast<void (QKeySequenceEdit::*)(const QKeySequence &)>(&QKeySequenceEdit::keySequenceChanged), static_cast<MyQKeySequenceEdit*>(ptr), static_cast<void (MyQKeySequenceEdit::*)(const QKeySequence &)>(&MyQKeySequenceEdit::Signal_KeySequenceChanged));
}
void QKeySequenceEdit_DisconnectKeySequenceChanged(void* ptr)
{
QObject::disconnect(static_cast<QKeySequenceEdit*>(ptr), static_cast<void (QKeySequenceEdit::*)(const QKeySequence &)>(&QKeySequenceEdit::keySequenceChanged), static_cast<MyQKeySequenceEdit*>(ptr), static_cast<void (MyQKeySequenceEdit::*)(const QKeySequence &)>(&MyQKeySequenceEdit::Signal_KeySequenceChanged));
}
void QKeySequenceEdit_KeySequenceChanged(void* ptr, void* keySequence)
{
static_cast<QKeySequenceEdit*>(ptr)->keySequenceChanged(*static_cast<QKeySequence*>(keySequence));
}
void QKeySequenceEdit_SetKeySequence(void* ptr, void* keySequence)
{
QMetaObject::invokeMethod(static_cast<QKeySequenceEdit*>(ptr), "setKeySequence", Q_ARG(QKeySequence, *static_cast<QKeySequence*>(keySequence)));
}
void QKeySequenceEdit_SetKeySequenceDefault(void* ptr, void* keySequence)
{
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::setKeySequence(*static_cast<QKeySequence*>(keySequence));
}
void QKeySequenceEdit_DestroyQKeySequenceEdit(void* ptr)
{
static_cast<QKeySequenceEdit*>(ptr)->~QKeySequenceEdit();
}
void* QKeySequenceEdit_KeySequence(void* ptr)
{
return new QKeySequence(static_cast<QKeySequenceEdit*>(ptr)->keySequence());
}
class MyQLCDNumber: public QLCDNumber
{
public:
MyQLCDNumber(QWidget *parent) : QLCDNumber(parent) {};
MyQLCDNumber(uint numDigits, QWidget *parent) : QLCDNumber(numDigits, parent) {};
void display(const QString & s) { QByteArray ta0f149 = s.toUtf8(); QtWidgets_PackedString sPacked = { const_cast<char*>(ta0f149.prepend("WHITESPACE").constData()+10), ta0f149.size()-10 };callbackQLCDNumber_Display(this, sPacked); };
void display(double num) { callbackQLCDNumber_Display3(this, num); };
void display(int num) { callbackQLCDNumber_Display2(this, num); };
void Signal_Overflow() { callbackQLCDNumber_Overflow(this); };
void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); };
void setBinMode() { callbackQLCDNumber_SetBinMode(this); };
void setDecMode() { callbackQLCDNumber_SetDecMode(this); };
void setHexMode() { callbackQLCDNumber_SetHexMode(this); };
void setOctMode() { callbackQLCDNumber_SetOctMode(this); };
void setSmallDecimalPoint(bool vbo) { callbackQLCDNumber_SetSmallDecimalPoint(this, vbo); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QLCDNumber_NewQLCDNumber(void* parent)
{
return new MyQLCDNumber(static_cast<QWidget*>(parent));
}
void* QLCDNumber_NewQLCDNumber2(unsigned int numDigits, void* parent)
{
return new MyQLCDNumber(numDigits, static_cast<QWidget*>(parent));
}
void QLCDNumber_Display(void* ptr, char* s)
{
QMetaObject::invokeMethod(static_cast<QLCDNumber*>(ptr), "display", Q_ARG(QString, QString(s)));
}
void QLCDNumber_DisplayDefault(void* ptr, char* s)
{
static_cast<QLCDNumber*>(ptr)->QLCDNumber::display(QString(s));
}
void QLCDNumber_Display3(void* ptr, double num)
{
QMetaObject::invokeMethod(static_cast<QLCDNumber*>(ptr), "display", Q_ARG(double, num));
}
void QLCDNumber_Display3Default(void* ptr, double num)
{
static_cast<QLCDNumber*>(ptr)->QLCDNumber::display(num);
}
void QLCDNumber_Display2(void* ptr, int num)
{
QMetaObject::invokeMethod(static_cast<QLCDNumber*>(ptr), "display", Q_ARG(int, num));
}
void QLCDNumber_Display2Default(void* ptr, int num)
{
static_cast<QLCDNumber*>(ptr)->QLCDNumber::display(num);
}
void QLCDNumber_ConnectOverflow(void* ptr)
{
QObject::connect(static_cast<QLCDNumber*>(ptr), static_cast<void (QLCDNumber::*)()>(&QLCDNumber::overflow), static_cast<MyQLCDNumber*>(ptr), static_cast<void (MyQLCDNumber::*)()>(&MyQLCDNumber::Signal_Overflow));
}
void QLCDNumber_DisconnectOverflow(void* ptr)
{
QObject::disconnect(static_cast<QLCDNumber*>(ptr), static_cast<void (QLCDNumber::*)()>(&QLCDNumber::overflow), static_cast<MyQLCDNumber*>(ptr), static_cast<void (MyQLCDNumber::*)()>(&MyQLCDNumber::Signal_Overflow));
}
void QLCDNumber_Overflow(void* ptr)
{
static_cast<QLCDNumber*>(ptr)->overflow();
}
void QLCDNumber_SetBinMode(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QLCDNumber*>(ptr), "setBinMode");
}
void QLCDNumber_SetBinModeDefault(void* ptr)
{
static_cast<QLCDNumber*>(ptr)->QLCDNumber::setBinMode();
}
void QLCDNumber_SetDecMode(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QLCDNumber*>(ptr), "setDecMode");
}
void QLCDNumber_SetDecModeDefault(void* ptr)
{
static_cast<QLCDNumber*>(ptr)->QLCDNumber::setDecMode();
}
void QLCDNumber_SetDigitCount(void* ptr, int numDigits)
{
static_cast<QLCDNumber*>(ptr)->setDigitCount(numDigits);
}
void QLCDNumber_SetHexMode(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QLCDNumber*>(ptr), "setHexMode");
}
void QLCDNumber_SetHexModeDefault(void* ptr)
{
static_cast<QLCDNumber*>(ptr)->QLCDNumber::setHexMode();
}
void QLCDNumber_SetMode(void* ptr, long long vmo)
{
static_cast<QLCDNumber*>(ptr)->setMode(static_cast<QLCDNumber::Mode>(vmo));
}
void QLCDNumber_SetOctMode(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QLCDNumber*>(ptr), "setOctMode");
}
void QLCDNumber_SetOctModeDefault(void* ptr)
{
static_cast<QLCDNumber*>(ptr)->QLCDNumber::setOctMode();
}
void QLCDNumber_SetSegmentStyle(void* ptr, long long vse)
{
static_cast<QLCDNumber*>(ptr)->setSegmentStyle(static_cast<QLCDNumber::SegmentStyle>(vse));
}
void QLCDNumber_SetSmallDecimalPoint(void* ptr, char vbo)
{
QMetaObject::invokeMethod(static_cast<QLCDNumber*>(ptr), "setSmallDecimalPoint", Q_ARG(bool, vbo != 0));
}
void QLCDNumber_SetSmallDecimalPointDefault(void* ptr, char vbo)
{
static_cast<QLCDNumber*>(ptr)->QLCDNumber::setSmallDecimalPoint(vbo != 0);
}
void QLCDNumber_DestroyQLCDNumber(void* ptr)
{
static_cast<QLCDNumber*>(ptr)->~QLCDNumber();
}
long long QLCDNumber_Mode(void* ptr)
{
return static_cast<QLCDNumber*>(ptr)->mode();
}
long long QLCDNumber_SegmentStyle(void* ptr)
{
return static_cast<QLCDNumber*>(ptr)->segmentStyle();
}
char QLCDNumber_CheckOverflow(void* ptr, double num)
{
return static_cast<QLCDNumber*>(ptr)->checkOverflow(num);
}
char QLCDNumber_CheckOverflow2(void* ptr, int num)
{
return static_cast<QLCDNumber*>(ptr)->checkOverflow(num);
}
char QLCDNumber_SmallDecimalPoint(void* ptr)
{
return static_cast<QLCDNumber*>(ptr)->smallDecimalPoint();
}
double QLCDNumber_Value(void* ptr)
{
return static_cast<QLCDNumber*>(ptr)->value();
}
int QLCDNumber_DigitCount(void* ptr)
{
return static_cast<QLCDNumber*>(ptr)->digitCount();
}
int QLCDNumber_IntValue(void* ptr)
{
return static_cast<QLCDNumber*>(ptr)->intValue();
}
class MyQLabel: public QLabel
{
public:
MyQLabel(QWidget *parent, Qt::WindowFlags f) : QLabel(parent, f) {};
MyQLabel(const QString &text, QWidget *parent, Qt::WindowFlags f) : QLabel(text, parent, f) {};
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
void clear() { callbackQLabel_Clear(this); };
void contextMenuEvent(QContextMenuEvent * ev) { callbackQWidget_ContextMenuEvent(this, ev); };
void focusInEvent(QFocusEvent * ev) { callbackQWidget_FocusInEvent(this, ev); };
void focusOutEvent(QFocusEvent * ev) { callbackQWidget_FocusOutEvent(this, ev); };
void keyPressEvent(QKeyEvent * ev) { callbackQWidget_KeyPressEvent(this, ev); };
void Signal_LinkActivated(const QString & link) { QByteArray t4f0aa5 = link.toUtf8(); QtWidgets_PackedString linkPacked = { const_cast<char*>(t4f0aa5.prepend("WHITESPACE").constData()+10), t4f0aa5.size()-10 };callbackQLabel_LinkActivated(this, linkPacked); };
void Signal_LinkHovered(const QString & link) { QByteArray t4f0aa5 = link.toUtf8(); QtWidgets_PackedString linkPacked = { const_cast<char*>(t4f0aa5.prepend("WHITESPACE").constData()+10), t4f0aa5.size()-10 };callbackQLabel_LinkHovered(this, linkPacked); };
void mouseMoveEvent(QMouseEvent * ev) { callbackQWidget_MouseMoveEvent(this, ev); };
void mousePressEvent(QMouseEvent * ev) { callbackQWidget_MousePressEvent(this, ev); };
void mouseReleaseEvent(QMouseEvent * ev) { callbackQWidget_MouseReleaseEvent(this, ev); };
void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); };
void setMovie(QMovie * movie) { callbackQLabel_SetMovie(this, movie); };
void setNum(double num) { callbackQLabel_SetNum2(this, num); };
void setNum(int num) { callbackQLabel_SetNum(this, num); };
void setPicture(const QPicture & picture) { callbackQLabel_SetPicture(this, const_cast<QPicture*>(&picture)); };
void setPixmap(const QPixmap & vqp) { callbackQLabel_SetPixmap(this, const_cast<QPixmap*>(&vqp)); };
void setText(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQLabel_SetText(this, vqsPacked); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QLabel_NewQLabel(void* parent, long long fo)
{
return new MyQLabel(static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(fo));
}
void* QLabel_NewQLabel2(char* text, void* parent, long long fo)
{
return new MyQLabel(QString(text), static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(fo));
}
void QLabel_Clear(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QLabel*>(ptr), "clear");
}
void QLabel_ClearDefault(void* ptr)
{
static_cast<QLabel*>(ptr)->QLabel::clear();
}
void QLabel_ConnectLinkActivated(void* ptr)
{
QObject::connect(static_cast<QLabel*>(ptr), static_cast<void (QLabel::*)(const QString &)>(&QLabel::linkActivated), static_cast<MyQLabel*>(ptr), static_cast<void (MyQLabel::*)(const QString &)>(&MyQLabel::Signal_LinkActivated));
}
void QLabel_DisconnectLinkActivated(void* ptr)
{
QObject::disconnect(static_cast<QLabel*>(ptr), static_cast<void (QLabel::*)(const QString &)>(&QLabel::linkActivated), static_cast<MyQLabel*>(ptr), static_cast<void (MyQLabel::*)(const QString &)>(&MyQLabel::Signal_LinkActivated));
}
void QLabel_LinkActivated(void* ptr, char* link)
{
static_cast<QLabel*>(ptr)->linkActivated(QString(link));
}
void QLabel_ConnectLinkHovered(void* ptr)
{
QObject::connect(static_cast<QLabel*>(ptr), static_cast<void (QLabel::*)(const QString &)>(&QLabel::linkHovered), static_cast<MyQLabel*>(ptr), static_cast<void (MyQLabel::*)(const QString &)>(&MyQLabel::Signal_LinkHovered));
}
void QLabel_DisconnectLinkHovered(void* ptr)
{
QObject::disconnect(static_cast<QLabel*>(ptr), static_cast<void (QLabel::*)(const QString &)>(&QLabel::linkHovered), static_cast<MyQLabel*>(ptr), static_cast<void (MyQLabel::*)(const QString &)>(&MyQLabel::Signal_LinkHovered));
}
void QLabel_LinkHovered(void* ptr, char* link)
{
static_cast<QLabel*>(ptr)->linkHovered(QString(link));
}
void QLabel_SetAlignment(void* ptr, long long vqt)
{
static_cast<QLabel*>(ptr)->setAlignment(static_cast<Qt::AlignmentFlag>(vqt));
}
void QLabel_SetBuddy(void* ptr, void* buddy)
{
static_cast<QLabel*>(ptr)->setBuddy(static_cast<QWidget*>(buddy));
}
void QLabel_SetIndent(void* ptr, int vin)
{
static_cast<QLabel*>(ptr)->setIndent(vin);
}
void QLabel_SetMargin(void* ptr, int vin)
{
static_cast<QLabel*>(ptr)->setMargin(vin);
}
void QLabel_SetMovie(void* ptr, void* movie)
{
QMetaObject::invokeMethod(static_cast<QLabel*>(ptr), "setMovie", Q_ARG(QMovie*, static_cast<QMovie*>(movie)));
}
void QLabel_SetMovieDefault(void* ptr, void* movie)
{
static_cast<QLabel*>(ptr)->QLabel::setMovie(static_cast<QMovie*>(movie));
}
void QLabel_SetNum2(void* ptr, double num)
{
QMetaObject::invokeMethod(static_cast<QLabel*>(ptr), "setNum", Q_ARG(double, num));
}
void QLabel_SetNum2Default(void* ptr, double num)
{
static_cast<QLabel*>(ptr)->QLabel::setNum(num);
}
void QLabel_SetNum(void* ptr, int num)
{
QMetaObject::invokeMethod(static_cast<QLabel*>(ptr), "setNum", Q_ARG(int, num));
}
void QLabel_SetNumDefault(void* ptr, int num)
{
static_cast<QLabel*>(ptr)->QLabel::setNum(num);
}
void QLabel_SetOpenExternalLinks(void* ptr, char open)
{
static_cast<QLabel*>(ptr)->setOpenExternalLinks(open != 0);
}
void QLabel_SetPicture(void* ptr, void* picture)
{
QMetaObject::invokeMethod(static_cast<QLabel*>(ptr), "setPicture", Q_ARG(QPicture, *static_cast<QPicture*>(picture)));
}
void QLabel_SetPictureDefault(void* ptr, void* picture)
{
static_cast<QLabel*>(ptr)->QLabel::setPicture(*static_cast<QPicture*>(picture));
}
void QLabel_SetPixmap(void* ptr, void* vqp)
{
QMetaObject::invokeMethod(static_cast<QLabel*>(ptr), "setPixmap", Q_ARG(QPixmap, *static_cast<QPixmap*>(vqp)));
}
void QLabel_SetPixmapDefault(void* ptr, void* vqp)
{
static_cast<QLabel*>(ptr)->QLabel::setPixmap(*static_cast<QPixmap*>(vqp));
}
void QLabel_SetScaledContents(void* ptr, char vbo)
{
static_cast<QLabel*>(ptr)->setScaledContents(vbo != 0);
}
void QLabel_SetSelection(void* ptr, int start, int length)
{
static_cast<QLabel*>(ptr)->setSelection(start, length);
}
void QLabel_SetText(void* ptr, char* vqs)
{
QMetaObject::invokeMethod(static_cast<QLabel*>(ptr), "setText", Q_ARG(QString, QString(vqs)));
}
void QLabel_SetTextDefault(void* ptr, char* vqs)
{
static_cast<QLabel*>(ptr)->QLabel::setText(QString(vqs));
}
void QLabel_SetTextFormat(void* ptr, long long vqt)
{
static_cast<QLabel*>(ptr)->setTextFormat(static_cast<Qt::TextFormat>(vqt));
}
void QLabel_SetTextInteractionFlags(void* ptr, long long flags)
{
static_cast<QLabel*>(ptr)->setTextInteractionFlags(static_cast<Qt::TextInteractionFlag>(flags));
}
void QLabel_SetWordWrap(void* ptr, char on)
{
static_cast<QLabel*>(ptr)->setWordWrap(on != 0);
}
void QLabel_DestroyQLabel(void* ptr)
{
static_cast<QLabel*>(ptr)->~QLabel();
}
void* QLabel_Movie(void* ptr)
{
return static_cast<QLabel*>(ptr)->movie();
}
struct QtWidgets_PackedString QLabel_SelectedText(void* ptr)
{
return ({ QByteArray t8b2afb = static_cast<QLabel*>(ptr)->selectedText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t8b2afb.prepend("WHITESPACE").constData()+10), t8b2afb.size()-10 }; });
}
struct QtWidgets_PackedString QLabel_Text(void* ptr)
{
return ({ QByteArray t0d779d = static_cast<QLabel*>(ptr)->text().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t0d779d.prepend("WHITESPACE").constData()+10), t0d779d.size()-10 }; });
}
void* QLabel_Buddy(void* ptr)
{
return static_cast<QLabel*>(ptr)->buddy();
}
long long QLabel_Alignment(void* ptr)
{
return static_cast<QLabel*>(ptr)->alignment();
}
long long QLabel_TextFormat(void* ptr)
{
return static_cast<QLabel*>(ptr)->textFormat();
}
long long QLabel_TextInteractionFlags(void* ptr)
{
return static_cast<QLabel*>(ptr)->textInteractionFlags();
}
char QLabel_HasScaledContents(void* ptr)
{
return static_cast<QLabel*>(ptr)->hasScaledContents();
}
char QLabel_HasSelectedText(void* ptr)
{
return static_cast<QLabel*>(ptr)->hasSelectedText();
}
char QLabel_OpenExternalLinks(void* ptr)
{
return static_cast<QLabel*>(ptr)->openExternalLinks();
}
char QLabel_WordWrap(void* ptr)
{
return static_cast<QLabel*>(ptr)->wordWrap();
}
void* QLabel_Picture(void* ptr)
{
return const_cast<QPicture*>(static_cast<QLabel*>(ptr)->picture());
}
void* QLabel_Pixmap(void* ptr)
{
return const_cast<QPixmap*>(static_cast<QLabel*>(ptr)->pixmap());
}
int QLabel_Indent(void* ptr)
{
return static_cast<QLabel*>(ptr)->indent();
}
int QLabel_Margin(void* ptr)
{
return static_cast<QLabel*>(ptr)->margin();
}
int QLabel_SelectionStart(void* ptr)
{
return static_cast<QLabel*>(ptr)->selectionStart();
}
class MyQLayout: public QLayout
{
public:
MyQLayout() : QLayout() {};
MyQLayout(QWidget *parent) : QLayout(parent) {};
QLayout * layout() { return static_cast<QLayout*>(callbackQLayoutItem_Layout(this)); };
QLayoutItem * takeAt(int index) { return static_cast<QLayoutItem*>(callbackQLayout_TakeAt(this, index)); };
void addItem(QLayoutItem * item) { callbackQLayout_AddItem(this, item); };
void childEvent(QChildEvent * e) { callbackQLayout_ChildEvent(this, e); };
void invalidate() { callbackQLayoutItem_Invalidate(this); };
void setGeometry(const QRect & r) { callbackQLayout_SetGeometry(this, const_cast<QRect*>(&r)); };
QLayoutItem * itemAt(int index) const { return static_cast<QLayoutItem*>(callbackQLayout_ItemAt(const_cast<void*>(static_cast<const void*>(this)), index)); };
QRect geometry() const { return *static_cast<QRect*>(callbackQLayout_Geometry(const_cast<void*>(static_cast<const void*>(this)))); };
QSize maximumSize() const { return *static_cast<QSize*>(callbackQLayout_MaximumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSize() const { return *static_cast<QSize*>(callbackQLayout_MinimumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSizePolicy::ControlTypes controlTypes() const { return static_cast<QSizePolicy::ControlType>(callbackQLayoutItem_ControlTypes(const_cast<void*>(static_cast<const void*>(this)))); };
Qt::Orientations expandingDirections() const { return static_cast<Qt::Orientation>(callbackQLayout_ExpandingDirections(const_cast<void*>(static_cast<const void*>(this)))); };
bool isEmpty() const { return callbackQLayout_IsEmpty(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int count() const { return callbackQLayout_Count(const_cast<void*>(static_cast<const void*>(this))); };
int indexOf(QWidget * widget) const { return callbackQLayout_IndexOf(const_cast<void*>(static_cast<const void*>(this)), widget); };
bool event(QEvent * e) { return callbackQLayout_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQLayout_EventFilter(this, watched, event) != 0; };
void connectNotify(const QMetaMethod & sign) { callbackQLayout_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQLayout_CustomEvent(this, event); };
void deleteLater() { callbackQLayout_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQLayout_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQLayout_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQLayout_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQLayout_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQLayout_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
QSpacerItem * spacerItem() { return static_cast<QSpacerItem*>(callbackQLayoutItem_SpacerItem(this)); };
QWidget * widget() { return static_cast<QWidget*>(callbackQLayoutItem_Widget(this)); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQLayout_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQLayoutItem_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
};
void* QLayout_NewQLayout2()
{
return new MyQLayout();
}
void* QLayout_NewQLayout(void* parent)
{
return new MyQLayout(static_cast<QWidget*>(parent));
}
void* QLayout_ReplaceWidget(void* ptr, void* from, void* to, long long options)
{
return static_cast<QLayout*>(ptr)->replaceWidget(static_cast<QWidget*>(from), static_cast<QWidget*>(to), static_cast<Qt::FindChildOption>(options));
}
void* QLayout_TakeAt(void* ptr, int index)
{
return static_cast<QLayout*>(ptr)->takeAt(index);
}
void* QLayout_QLayout_ClosestAcceptableSize(void* widget, void* size)
{
return ({ QSize tmpValue = QLayout::closestAcceptableSize(static_cast<QWidget*>(widget), *static_cast<QSize*>(size)); new QSize(tmpValue.width(), tmpValue.height()); });
}
char QLayout_Activate(void* ptr)
{
return static_cast<QLayout*>(ptr)->activate();
}
char QLayout_SetAlignment2(void* ptr, void* l, long long alignment)
{
return static_cast<QLayout*>(ptr)->setAlignment(static_cast<QLayout*>(l), static_cast<Qt::AlignmentFlag>(alignment));
}
char QLayout_SetAlignment(void* ptr, void* w, long long alignment)
{
return static_cast<QLayout*>(ptr)->setAlignment(static_cast<QWidget*>(w), static_cast<Qt::AlignmentFlag>(alignment));
}
void QLayout_AddChildLayout(void* ptr, void* l)
{
static_cast<QLayout*>(ptr)->addChildLayout(static_cast<QLayout*>(l));
}
void QLayout_AddChildWidget(void* ptr, void* w)
{
static_cast<QLayout*>(ptr)->addChildWidget(static_cast<QWidget*>(w));
}
void QLayout_AddItem(void* ptr, void* item)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(item))) {
static_cast<QLayout*>(ptr)->addItem(static_cast<QLayout*>(item));
} else {
static_cast<QLayout*>(ptr)->addItem(static_cast<QLayoutItem*>(item));
}
}
void QLayout_AddWidget(void* ptr, void* w)
{
static_cast<QLayout*>(ptr)->addWidget(static_cast<QWidget*>(w));
}
void QLayout_ChildEvent(void* ptr, void* e)
{
static_cast<QLayout*>(ptr)->childEvent(static_cast<QChildEvent*>(e));
}
void QLayout_ChildEventDefault(void* ptr, void* e)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedLayout*>(ptr)->QStackedLayout::childEvent(static_cast<QChildEvent*>(e));
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGridLayout*>(ptr)->QGridLayout::childEvent(static_cast<QChildEvent*>(e));
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QFormLayout*>(ptr)->QFormLayout::childEvent(static_cast<QChildEvent*>(e));
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::childEvent(static_cast<QChildEvent*>(e));
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::childEvent(static_cast<QChildEvent*>(e));
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QBoxLayout*>(ptr)->QBoxLayout::childEvent(static_cast<QChildEvent*>(e));
} else {
static_cast<QLayout*>(ptr)->QLayout::childEvent(static_cast<QChildEvent*>(e));
}
}
void QLayout_RemoveItem(void* ptr, void* item)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(item))) {
static_cast<QLayout*>(ptr)->removeItem(static_cast<QLayout*>(item));
} else {
static_cast<QLayout*>(ptr)->removeItem(static_cast<QLayoutItem*>(item));
}
}
void QLayout_RemoveWidget(void* ptr, void* widget)
{
static_cast<QLayout*>(ptr)->removeWidget(static_cast<QWidget*>(widget));
}
void QLayout_SetContentsMargins2(void* ptr, void* margins)
{
static_cast<QLayout*>(ptr)->setContentsMargins(*static_cast<QMargins*>(margins));
}
void QLayout_SetContentsMargins(void* ptr, int left, int top, int right, int bottom)
{
static_cast<QLayout*>(ptr)->setContentsMargins(left, top, right, bottom);
}
void QLayout_SetEnabled(void* ptr, char enable)
{
static_cast<QLayout*>(ptr)->setEnabled(enable != 0);
}
void QLayout_SetGeometry(void* ptr, void* r)
{
static_cast<QLayout*>(ptr)->setGeometry(*static_cast<QRect*>(r));
}
void QLayout_SetGeometryDefault(void* ptr, void* r)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedLayout*>(ptr)->QStackedLayout::setGeometry(*static_cast<QRect*>(r));
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGridLayout*>(ptr)->QGridLayout::setGeometry(*static_cast<QRect*>(r));
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QFormLayout*>(ptr)->QFormLayout::setGeometry(*static_cast<QRect*>(r));
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::setGeometry(*static_cast<QRect*>(r));
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::setGeometry(*static_cast<QRect*>(r));
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QBoxLayout*>(ptr)->QBoxLayout::setGeometry(*static_cast<QRect*>(r));
} else {
static_cast<QLayout*>(ptr)->QLayout::setGeometry(*static_cast<QRect*>(r));
}
}
void QLayout_SetMenuBar(void* ptr, void* widget)
{
static_cast<QLayout*>(ptr)->setMenuBar(static_cast<QWidget*>(widget));
}
void QLayout_SetSizeConstraint(void* ptr, long long vsi)
{
static_cast<QLayout*>(ptr)->setSizeConstraint(static_cast<QLayout::SizeConstraint>(vsi));
}
void QLayout_SetSpacing(void* ptr, int vin)
{
static_cast<QLayout*>(ptr)->setSpacing(vin);
}
void QLayout_Update(void* ptr)
{
static_cast<QLayout*>(ptr)->update();
}
void* QLayout_ItemAt(void* ptr, int index)
{
return static_cast<QLayout*>(ptr)->itemAt(index);
}
void* QLayout_ContentsMargins(void* ptr)
{
return ({ QMargins tmpValue = static_cast<QLayout*>(ptr)->contentsMargins(); new QMargins(tmpValue.left(), tmpValue.top(), tmpValue.right(), tmpValue.bottom()); });
}
void* QLayout_AlignmentRect(void* ptr, void* r)
{
return ({ QRect tmpValue = static_cast<QLayout*>(ptr)->alignmentRect(*static_cast<QRect*>(r)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QLayout_ContentsRect(void* ptr)
{
return ({ QRect tmpValue = static_cast<QLayout*>(ptr)->contentsRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QLayout_Geometry(void* ptr)
{
return ({ QRect tmpValue = static_cast<QLayout*>(ptr)->geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QLayout_GeometryDefault(void* ptr)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QStackedLayout*>(ptr)->QStackedLayout::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QGridLayout*>(ptr)->QGridLayout::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QFormLayout*>(ptr)->QFormLayout::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QBoxLayout*>(ptr)->QBoxLayout::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRect tmpValue = static_cast<QLayout*>(ptr)->QLayout::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QLayout_MaximumSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QLayout*>(ptr)->maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QLayout_MaximumSizeDefault(void* ptr)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QStackedLayout*>(ptr)->QStackedLayout::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QGridLayout*>(ptr)->QGridLayout::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QFormLayout*>(ptr)->QFormLayout::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QBoxLayout*>(ptr)->QBoxLayout::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSize tmpValue = static_cast<QLayout*>(ptr)->QLayout::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
}
void* QLayout_MinimumSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QLayout*>(ptr)->minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QLayout_MinimumSizeDefault(void* ptr)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QStackedLayout*>(ptr)->QStackedLayout::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QGridLayout*>(ptr)->QGridLayout::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QFormLayout*>(ptr)->QFormLayout::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QBoxLayout*>(ptr)->QBoxLayout::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSize tmpValue = static_cast<QLayout*>(ptr)->QLayout::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
}
void* QLayout_MenuBar(void* ptr)
{
return static_cast<QLayout*>(ptr)->menuBar();
}
void* QLayout_ParentWidget(void* ptr)
{
return static_cast<QLayout*>(ptr)->parentWidget();
}
long long QLayout_ExpandingDirections(void* ptr)
{
return static_cast<QLayout*>(ptr)->expandingDirections();
}
long long QLayout_ExpandingDirectionsDefault(void* ptr)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::expandingDirections();
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QGridLayout*>(ptr)->QGridLayout::expandingDirections();
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QFormLayout*>(ptr)->QFormLayout::expandingDirections();
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::expandingDirections();
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::expandingDirections();
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::expandingDirections();
} else {
return static_cast<QLayout*>(ptr)->QLayout::expandingDirections();
}
}
long long QLayout_SizeConstraint(void* ptr)
{
return static_cast<QLayout*>(ptr)->sizeConstraint();
}
char QLayout_IsEmpty(void* ptr)
{
return static_cast<QLayout*>(ptr)->isEmpty();
}
char QLayout_IsEmptyDefault(void* ptr)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::isEmpty();
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QGridLayout*>(ptr)->QGridLayout::isEmpty();
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QFormLayout*>(ptr)->QFormLayout::isEmpty();
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::isEmpty();
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::isEmpty();
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::isEmpty();
} else {
return static_cast<QLayout*>(ptr)->QLayout::isEmpty();
}
}
char QLayout_IsEnabled(void* ptr)
{
return static_cast<QLayout*>(ptr)->isEnabled();
}
int QLayout_Count(void* ptr)
{
return static_cast<QLayout*>(ptr)->count();
}
int QLayout_IndexOf(void* ptr, void* widget)
{
return static_cast<QLayout*>(ptr)->indexOf(static_cast<QWidget*>(widget));
}
int QLayout_IndexOfDefault(void* ptr, void* widget)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::indexOf(static_cast<QWidget*>(widget));
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QGridLayout*>(ptr)->QGridLayout::indexOf(static_cast<QWidget*>(widget));
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QFormLayout*>(ptr)->QFormLayout::indexOf(static_cast<QWidget*>(widget));
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::indexOf(static_cast<QWidget*>(widget));
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::indexOf(static_cast<QWidget*>(widget));
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::indexOf(static_cast<QWidget*>(widget));
} else {
return static_cast<QLayout*>(ptr)->QLayout::indexOf(static_cast<QWidget*>(widget));
}
}
int QLayout_Spacing(void* ptr)
{
return static_cast<QLayout*>(ptr)->spacing();
}
void QLayout_GetContentsMargins(void* ptr, int left, int top, int right, int bottom)
{
static_cast<QLayout*>(ptr)->getContentsMargins(&left, &top, &right, &bottom);
}
void* QLayout___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QLayout___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QLayout___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QLayout___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QLayout___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QLayout___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QLayout___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QLayout___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QLayout___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QLayout___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QLayout___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QLayout___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QLayout___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QLayout___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QLayout___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QLayout_Event(void* ptr, void* e)
{
return static_cast<QLayout*>(ptr)->event(static_cast<QEvent*>(e));
}
char QLayout_EventDefault(void* ptr, void* e)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::event(static_cast<QEvent*>(e));
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QGridLayout*>(ptr)->QGridLayout::event(static_cast<QEvent*>(e));
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QFormLayout*>(ptr)->QFormLayout::event(static_cast<QEvent*>(e));
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::event(static_cast<QEvent*>(e));
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::event(static_cast<QEvent*>(e));
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::event(static_cast<QEvent*>(e));
} else {
return static_cast<QLayout*>(ptr)->QLayout::event(static_cast<QEvent*>(e));
}
}
char QLayout_EventFilter(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QLayout*>(ptr)->eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QLayout*>(ptr)->eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QLayout*>(ptr)->eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QLayout*>(ptr)->eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QLayout*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
char QLayout_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGridLayout*>(ptr)->QGridLayout::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGridLayout*>(ptr)->QGridLayout::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGridLayout*>(ptr)->QGridLayout::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGridLayout*>(ptr)->QGridLayout::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGridLayout*>(ptr)->QGridLayout::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QFormLayout*>(ptr)->QFormLayout::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QFormLayout*>(ptr)->QFormLayout::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QFormLayout*>(ptr)->QFormLayout::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QFormLayout*>(ptr)->QFormLayout::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QFormLayout*>(ptr)->QFormLayout::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QLayout*>(ptr)->QLayout::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QLayout*>(ptr)->QLayout::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QLayout*>(ptr)->QLayout::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QLayout*>(ptr)->QLayout::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QLayout*>(ptr)->QLayout::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
}
void QLayout_ConnectNotify(void* ptr, void* sign)
{
static_cast<QLayout*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QLayout_ConnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedLayout*>(ptr)->QStackedLayout::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGridLayout*>(ptr)->QGridLayout::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QFormLayout*>(ptr)->QFormLayout::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QBoxLayout*>(ptr)->QBoxLayout::connectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QLayout*>(ptr)->QLayout::connectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QLayout_CustomEvent(void* ptr, void* event)
{
static_cast<QLayout*>(ptr)->customEvent(static_cast<QEvent*>(event));
}
void QLayout_CustomEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedLayout*>(ptr)->QStackedLayout::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGridLayout*>(ptr)->QGridLayout::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QFormLayout*>(ptr)->QFormLayout::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QBoxLayout*>(ptr)->QBoxLayout::customEvent(static_cast<QEvent*>(event));
} else {
static_cast<QLayout*>(ptr)->QLayout::customEvent(static_cast<QEvent*>(event));
}
}
void QLayout_DeleteLater(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QLayout*>(ptr), "deleteLater");
}
void QLayout_DeleteLaterDefault(void* ptr)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedLayout*>(ptr)->QStackedLayout::deleteLater();
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGridLayout*>(ptr)->QGridLayout::deleteLater();
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QFormLayout*>(ptr)->QFormLayout::deleteLater();
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::deleteLater();
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::deleteLater();
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QBoxLayout*>(ptr)->QBoxLayout::deleteLater();
} else {
static_cast<QLayout*>(ptr)->QLayout::deleteLater();
}
}
void QLayout_DisconnectNotify(void* ptr, void* sign)
{
static_cast<QLayout*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QLayout_DisconnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedLayout*>(ptr)->QStackedLayout::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGridLayout*>(ptr)->QGridLayout::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QFormLayout*>(ptr)->QFormLayout::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QBoxLayout*>(ptr)->QBoxLayout::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QLayout*>(ptr)->QLayout::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QLayout_TimerEvent(void* ptr, void* event)
{
static_cast<QLayout*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event));
}
void QLayout_TimerEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedLayout*>(ptr)->QStackedLayout::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGridLayout*>(ptr)->QGridLayout::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QFormLayout*>(ptr)->QFormLayout::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QBoxLayout*>(ptr)->QBoxLayout::timerEvent(static_cast<QTimerEvent*>(event));
} else {
static_cast<QLayout*>(ptr)->QLayout::timerEvent(static_cast<QTimerEvent*>(event));
}
}
void* QLayout_MetaObject(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QLayout*>(ptr)->metaObject());
}
void* QLayout_MetaObjectDefault(void* ptr)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QStackedLayout*>(ptr)->QStackedLayout::metaObject());
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QGridLayout*>(ptr)->QGridLayout::metaObject());
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QFormLayout*>(ptr)->QFormLayout::metaObject());
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::metaObject());
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::metaObject());
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QBoxLayout*>(ptr)->QBoxLayout::metaObject());
} else {
return const_cast<QMetaObject*>(static_cast<QLayout*>(ptr)->QLayout::metaObject());
}
}
void* QLayout_SizeHint(void* ptr)
{
}
void* QLayout_SizeHintDefault(void* ptr)
{
if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QStackedLayout*>(ptr)->QStackedLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QGridLayout*>(ptr)->QGridLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QFormLayout*>(ptr)->QFormLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QBoxLayout*>(ptr)->QBoxLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else {
}
}
class MyQLayoutItem: public QLayoutItem
{
public:
MyQLayoutItem(Qt::Alignment alignment) : QLayoutItem(alignment) {};
QLayout * layout() { return static_cast<QLayout*>(callbackQLayoutItem_Layout(this)); };
QSpacerItem * spacerItem() { return static_cast<QSpacerItem*>(callbackQLayoutItem_SpacerItem(this)); };
QWidget * widget() { return static_cast<QWidget*>(callbackQLayoutItem_Widget(this)); };
void invalidate() { callbackQLayoutItem_Invalidate(this); };
void setGeometry(const QRect & r) { callbackQLayoutItem_SetGeometry(this, const_cast<QRect*>(&r)); };
~MyQLayoutItem() { callbackQLayoutItem_DestroyQLayoutItem(this); };
QRect geometry() const { return *static_cast<QRect*>(callbackQLayoutItem_Geometry(const_cast<void*>(static_cast<const void*>(this)))); };
QSize maximumSize() const { return *static_cast<QSize*>(callbackQLayoutItem_MaximumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSize() const { return *static_cast<QSize*>(callbackQLayoutItem_MinimumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQLayoutItem_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSizePolicy::ControlTypes controlTypes() const { return static_cast<QSizePolicy::ControlType>(callbackQLayoutItem_ControlTypes(const_cast<void*>(static_cast<const void*>(this)))); };
Qt::Orientations expandingDirections() const { return static_cast<Qt::Orientation>(callbackQLayoutItem_ExpandingDirections(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
bool isEmpty() const { return callbackQLayoutItem_IsEmpty(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQLayoutItem_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
};
void* QLayoutItem_Layout(void* ptr)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->layout();
} else {
return static_cast<QLayoutItem*>(ptr)->layout();
}
}
void* QLayoutItem_LayoutDefault(void* ptr)
{
if (dynamic_cast<QWidgetItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QWidgetItem*>(ptr)->QWidgetItem::layout();
} else if (dynamic_cast<QSpacerItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpacerItem*>(ptr)->QSpacerItem::layout();
} else if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::layout();
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QGridLayout*>(ptr)->QGridLayout::layout();
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QFormLayout*>(ptr)->QFormLayout::layout();
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::layout();
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::layout();
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::layout();
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->QLayout::layout();
} else {
return static_cast<QLayoutItem*>(ptr)->QLayoutItem::layout();
}
}
void* QLayoutItem_NewQLayoutItem(long long alignment)
{
return new MyQLayoutItem(static_cast<Qt::AlignmentFlag>(alignment));
}
void* QLayoutItem_SpacerItem(void* ptr)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->spacerItem();
} else {
return static_cast<QLayoutItem*>(ptr)->spacerItem();
}
}
void* QLayoutItem_SpacerItemDefault(void* ptr)
{
if (dynamic_cast<QWidgetItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QWidgetItem*>(ptr)->QWidgetItem::spacerItem();
} else if (dynamic_cast<QSpacerItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpacerItem*>(ptr)->QSpacerItem::spacerItem();
} else if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::spacerItem();
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QGridLayout*>(ptr)->QGridLayout::spacerItem();
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QFormLayout*>(ptr)->QFormLayout::spacerItem();
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::spacerItem();
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::spacerItem();
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::spacerItem();
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->QLayout::spacerItem();
} else {
return static_cast<QLayoutItem*>(ptr)->QLayoutItem::spacerItem();
}
}
void* QLayoutItem_Widget(void* ptr)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->widget();
} else {
return static_cast<QLayoutItem*>(ptr)->widget();
}
}
void* QLayoutItem_WidgetDefault(void* ptr)
{
if (dynamic_cast<QWidgetItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QWidgetItem*>(ptr)->QWidgetItem::widget();
} else if (dynamic_cast<QSpacerItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpacerItem*>(ptr)->QSpacerItem::widget();
} else if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::widget();
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QGridLayout*>(ptr)->QGridLayout::widget();
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QFormLayout*>(ptr)->QFormLayout::widget();
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::widget();
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::widget();
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::widget();
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->QLayout::widget();
} else {
return static_cast<QLayoutItem*>(ptr)->QLayoutItem::widget();
}
}
void QLayoutItem_Invalidate(void* ptr)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QLayout*>(ptr)->invalidate();
} else {
static_cast<QLayoutItem*>(ptr)->invalidate();
}
}
void QLayoutItem_InvalidateDefault(void* ptr)
{
if (dynamic_cast<QWidgetItem*>(static_cast<QObject*>(ptr))) {
static_cast<QWidgetItem*>(ptr)->QWidgetItem::invalidate();
} else if (dynamic_cast<QSpacerItem*>(static_cast<QObject*>(ptr))) {
static_cast<QSpacerItem*>(ptr)->QSpacerItem::invalidate();
} else if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedLayout*>(ptr)->QStackedLayout::invalidate();
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QGridLayout*>(ptr)->QGridLayout::invalidate();
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QFormLayout*>(ptr)->QFormLayout::invalidate();
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::invalidate();
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::invalidate();
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QBoxLayout*>(ptr)->QBoxLayout::invalidate();
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QLayout*>(ptr)->QLayout::invalidate();
} else {
static_cast<QLayoutItem*>(ptr)->QLayoutItem::invalidate();
}
}
void QLayoutItem_SetAlignment(void* ptr, long long alignment)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QLayout*>(ptr)->setAlignment(static_cast<Qt::AlignmentFlag>(alignment));
} else {
static_cast<QLayoutItem*>(ptr)->setAlignment(static_cast<Qt::AlignmentFlag>(alignment));
}
}
void QLayoutItem_SetGeometry(void* ptr, void* r)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QLayout*>(ptr)->setGeometry(*static_cast<QRect*>(r));
} else {
static_cast<QLayoutItem*>(ptr)->setGeometry(*static_cast<QRect*>(r));
}
}
void QLayoutItem_DestroyQLayoutItem(void* ptr)
{
static_cast<QLayoutItem*>(ptr)->~QLayoutItem();
}
void QLayoutItem_DestroyQLayoutItemDefault(void* ptr)
{
}
void* QLayoutItem_Geometry(void* ptr)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QLayout*>(ptr)->geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRect tmpValue = static_cast<QLayoutItem*>(ptr)->geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QLayoutItem_MaximumSize(void* ptr)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QLayout*>(ptr)->maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSize tmpValue = static_cast<QLayoutItem*>(ptr)->maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
}
void* QLayoutItem_MinimumSize(void* ptr)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QLayout*>(ptr)->minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSize tmpValue = static_cast<QLayoutItem*>(ptr)->minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
}
void* QLayoutItem_SizeHint(void* ptr)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QLayout*>(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSize tmpValue = static_cast<QLayoutItem*>(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
}
long long QLayoutItem_ControlTypes(void* ptr)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->controlTypes();
} else {
return static_cast<QLayoutItem*>(ptr)->controlTypes();
}
}
long long QLayoutItem_ControlTypesDefault(void* ptr)
{
if (dynamic_cast<QWidgetItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QWidgetItem*>(ptr)->QWidgetItem::controlTypes();
} else if (dynamic_cast<QSpacerItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpacerItem*>(ptr)->QSpacerItem::controlTypes();
} else if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::controlTypes();
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QGridLayout*>(ptr)->QGridLayout::controlTypes();
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QFormLayout*>(ptr)->QFormLayout::controlTypes();
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::controlTypes();
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::controlTypes();
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::controlTypes();
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->QLayout::controlTypes();
} else {
return static_cast<QLayoutItem*>(ptr)->QLayoutItem::controlTypes();
}
}
long long QLayoutItem_Alignment(void* ptr)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->alignment();
} else {
return static_cast<QLayoutItem*>(ptr)->alignment();
}
}
long long QLayoutItem_ExpandingDirections(void* ptr)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->expandingDirections();
} else {
return static_cast<QLayoutItem*>(ptr)->expandingDirections();
}
}
char QLayoutItem_HasHeightForWidth(void* ptr)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->hasHeightForWidth();
} else {
return static_cast<QLayoutItem*>(ptr)->hasHeightForWidth();
}
}
char QLayoutItem_HasHeightForWidthDefault(void* ptr)
{
if (dynamic_cast<QWidgetItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QWidgetItem*>(ptr)->QWidgetItem::hasHeightForWidth();
} else if (dynamic_cast<QSpacerItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpacerItem*>(ptr)->QSpacerItem::hasHeightForWidth();
} else if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::hasHeightForWidth();
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QGridLayout*>(ptr)->QGridLayout::hasHeightForWidth();
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QFormLayout*>(ptr)->QFormLayout::hasHeightForWidth();
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::hasHeightForWidth();
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::hasHeightForWidth();
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::hasHeightForWidth();
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->QLayout::hasHeightForWidth();
} else {
return static_cast<QLayoutItem*>(ptr)->QLayoutItem::hasHeightForWidth();
}
}
char QLayoutItem_IsEmpty(void* ptr)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->isEmpty();
} else {
return static_cast<QLayoutItem*>(ptr)->isEmpty();
}
}
int QLayoutItem_HeightForWidth(void* ptr, int w)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->heightForWidth(w);
} else {
return static_cast<QLayoutItem*>(ptr)->heightForWidth(w);
}
}
int QLayoutItem_HeightForWidthDefault(void* ptr, int w)
{
if (dynamic_cast<QWidgetItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QWidgetItem*>(ptr)->QWidgetItem::heightForWidth(w);
} else if (dynamic_cast<QSpacerItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpacerItem*>(ptr)->QSpacerItem::heightForWidth(w);
} else if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::heightForWidth(w);
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QGridLayout*>(ptr)->QGridLayout::heightForWidth(w);
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QFormLayout*>(ptr)->QFormLayout::heightForWidth(w);
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::heightForWidth(w);
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::heightForWidth(w);
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::heightForWidth(w);
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->QLayout::heightForWidth(w);
} else {
return static_cast<QLayoutItem*>(ptr)->QLayoutItem::heightForWidth(w);
}
}
int QLayoutItem_MinimumHeightForWidth(void* ptr, int w)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->minimumHeightForWidth(w);
} else {
return static_cast<QLayoutItem*>(ptr)->minimumHeightForWidth(w);
}
}
int QLayoutItem_MinimumHeightForWidthDefault(void* ptr, int w)
{
if (dynamic_cast<QWidgetItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QWidgetItem*>(ptr)->QWidgetItem::minimumHeightForWidth(w);
} else if (dynamic_cast<QSpacerItem*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpacerItem*>(ptr)->QSpacerItem::minimumHeightForWidth(w);
} else if (dynamic_cast<QStackedLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::minimumHeightForWidth(w);
} else if (dynamic_cast<QGridLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QGridLayout*>(ptr)->QGridLayout::minimumHeightForWidth(w);
} else if (dynamic_cast<QFormLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QFormLayout*>(ptr)->QFormLayout::minimumHeightForWidth(w);
} else if (dynamic_cast<QVBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QVBoxLayout*>(ptr)->QVBoxLayout::minimumHeightForWidth(w);
} else if (dynamic_cast<QHBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QHBoxLayout*>(ptr)->QHBoxLayout::minimumHeightForWidth(w);
} else if (dynamic_cast<QBoxLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QBoxLayout*>(ptr)->QBoxLayout::minimumHeightForWidth(w);
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->QLayout::minimumHeightForWidth(w);
} else {
return static_cast<QLayoutItem*>(ptr)->QLayoutItem::minimumHeightForWidth(w);
}
}
long long QLayoutItem_Align(void* ptr)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
return static_cast<QLayout*>(ptr)->align;
} else {
return static_cast<QLayoutItem*>(ptr)->align;
}
}
void QLayoutItem_SetAlign(void* ptr, long long vqt)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(ptr))) {
static_cast<QLayout*>(ptr)->align = static_cast<Qt::AlignmentFlag>(vqt);
} else {
static_cast<QLayoutItem*>(ptr)->align = static_cast<Qt::AlignmentFlag>(vqt);
}
}
class MyQLineEdit: public QLineEdit
{
public:
MyQLineEdit(QWidget *parent) : QLineEdit(parent) {};
MyQLineEdit(const QString &contents, QWidget *parent) : QLineEdit(contents, parent) {};
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
void clear() { callbackQLineEdit_Clear(this); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CursorPositionChanged(int old, int n) { callbackQLineEdit_CursorPositionChanged(this, old, n); };
void cut() { callbackQLineEdit_Cut(this); };
void dragEnterEvent(QDragEnterEvent * e) { callbackQWidget_DragEnterEvent(this, e); };
void dragLeaveEvent(QDragLeaveEvent * e) { callbackQWidget_DragLeaveEvent(this, e); };
void dragMoveEvent(QDragMoveEvent * e) { callbackQWidget_DragMoveEvent(this, e); };
void dropEvent(QDropEvent * e) { callbackQWidget_DropEvent(this, e); };
void Signal_EditingFinished() { callbackQLineEdit_EditingFinished(this); };
void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); };
void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); };
void inputMethodEvent(QInputMethodEvent * e) { callbackQWidget_InputMethodEvent(this, e); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); };
void paste() { callbackQLineEdit_Paste(this); };
void redo() { callbackQLineEdit_Redo(this); };
void Signal_ReturnPressed() { callbackQLineEdit_ReturnPressed(this); };
void selectAll() { callbackQLineEdit_SelectAll(this); };
void Signal_SelectionChanged() { callbackQLineEdit_SelectionChanged(this); };
void setText(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQLineEdit_SetText(this, vqsPacked); };
void Signal_TextChanged(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQLineEdit_TextChanged(this, textPacked); };
void Signal_TextEdited(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQLineEdit_TextEdited(this, textPacked); };
void undo() { callbackQLineEdit_Undo(this); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery property) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), property)); };
void copy() const { callbackQLineEdit_Copy(const_cast<void*>(static_cast<const void*>(this))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QLineEdit_AddAction2(void* ptr, void* icon, long long position)
{
return static_cast<QLineEdit*>(ptr)->addAction(*static_cast<QIcon*>(icon), static_cast<QLineEdit::ActionPosition>(position));
}
void* QLineEdit_NewQLineEdit(void* parent)
{
return new MyQLineEdit(static_cast<QWidget*>(parent));
}
void* QLineEdit_NewQLineEdit2(char* contents, void* parent)
{
return new MyQLineEdit(QString(contents), static_cast<QWidget*>(parent));
}
void* QLineEdit_CreateStandardContextMenu(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->createStandardContextMenu();
}
int QLineEdit_CursorPositionAt(void* ptr, void* pos)
{
return static_cast<QLineEdit*>(ptr)->cursorPositionAt(*static_cast<QPoint*>(pos));
}
void QLineEdit_AddAction(void* ptr, void* action, long long position)
{
static_cast<QLineEdit*>(ptr)->addAction(static_cast<QAction*>(action), static_cast<QLineEdit::ActionPosition>(position));
}
void QLineEdit_Backspace(void* ptr)
{
static_cast<QLineEdit*>(ptr)->backspace();
}
void QLineEdit_Clear(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QLineEdit*>(ptr), "clear");
}
void QLineEdit_ClearDefault(void* ptr)
{
static_cast<QLineEdit*>(ptr)->QLineEdit::clear();
}
void QLineEdit_CursorBackward(void* ptr, char mark, int steps)
{
static_cast<QLineEdit*>(ptr)->cursorBackward(mark != 0, steps);
}
void QLineEdit_CursorForward(void* ptr, char mark, int steps)
{
static_cast<QLineEdit*>(ptr)->cursorForward(mark != 0, steps);
}
void QLineEdit_ConnectCursorPositionChanged(void* ptr)
{
QObject::connect(static_cast<QLineEdit*>(ptr), static_cast<void (QLineEdit::*)(int, int)>(&QLineEdit::cursorPositionChanged), static_cast<MyQLineEdit*>(ptr), static_cast<void (MyQLineEdit::*)(int, int)>(&MyQLineEdit::Signal_CursorPositionChanged));
}
void QLineEdit_DisconnectCursorPositionChanged(void* ptr)
{
QObject::disconnect(static_cast<QLineEdit*>(ptr), static_cast<void (QLineEdit::*)(int, int)>(&QLineEdit::cursorPositionChanged), static_cast<MyQLineEdit*>(ptr), static_cast<void (MyQLineEdit::*)(int, int)>(&MyQLineEdit::Signal_CursorPositionChanged));
}
void QLineEdit_CursorPositionChanged(void* ptr, int old, int n)
{
static_cast<QLineEdit*>(ptr)->cursorPositionChanged(old, n);
}
void QLineEdit_CursorWordBackward(void* ptr, char mark)
{
static_cast<QLineEdit*>(ptr)->cursorWordBackward(mark != 0);
}
void QLineEdit_CursorWordForward(void* ptr, char mark)
{
static_cast<QLineEdit*>(ptr)->cursorWordForward(mark != 0);
}
void QLineEdit_Cut(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QLineEdit*>(ptr), "cut");
}
void QLineEdit_CutDefault(void* ptr)
{
static_cast<QLineEdit*>(ptr)->QLineEdit::cut();
}
void QLineEdit_Del(void* ptr)
{
static_cast<QLineEdit*>(ptr)->del();
}
void QLineEdit_Deselect(void* ptr)
{
static_cast<QLineEdit*>(ptr)->deselect();
}
void QLineEdit_ConnectEditingFinished(void* ptr)
{
QObject::connect(static_cast<QLineEdit*>(ptr), static_cast<void (QLineEdit::*)()>(&QLineEdit::editingFinished), static_cast<MyQLineEdit*>(ptr), static_cast<void (MyQLineEdit::*)()>(&MyQLineEdit::Signal_EditingFinished));
}
void QLineEdit_DisconnectEditingFinished(void* ptr)
{
QObject::disconnect(static_cast<QLineEdit*>(ptr), static_cast<void (QLineEdit::*)()>(&QLineEdit::editingFinished), static_cast<MyQLineEdit*>(ptr), static_cast<void (MyQLineEdit::*)()>(&MyQLineEdit::Signal_EditingFinished));
}
void QLineEdit_EditingFinished(void* ptr)
{
static_cast<QLineEdit*>(ptr)->editingFinished();
}
void QLineEdit_End(void* ptr, char mark)
{
static_cast<QLineEdit*>(ptr)->end(mark != 0);
}
void QLineEdit_Home(void* ptr, char mark)
{
static_cast<QLineEdit*>(ptr)->home(mark != 0);
}
void QLineEdit_Insert(void* ptr, char* newText)
{
static_cast<QLineEdit*>(ptr)->insert(QString(newText));
}
void QLineEdit_Paste(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QLineEdit*>(ptr), "paste");
}
void QLineEdit_PasteDefault(void* ptr)
{
static_cast<QLineEdit*>(ptr)->QLineEdit::paste();
}
void QLineEdit_Redo(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QLineEdit*>(ptr), "redo");
}
void QLineEdit_RedoDefault(void* ptr)
{
static_cast<QLineEdit*>(ptr)->QLineEdit::redo();
}
void QLineEdit_ConnectReturnPressed(void* ptr)
{
QObject::connect(static_cast<QLineEdit*>(ptr), static_cast<void (QLineEdit::*)()>(&QLineEdit::returnPressed), static_cast<MyQLineEdit*>(ptr), static_cast<void (MyQLineEdit::*)()>(&MyQLineEdit::Signal_ReturnPressed));
}
void QLineEdit_DisconnectReturnPressed(void* ptr)
{
QObject::disconnect(static_cast<QLineEdit*>(ptr), static_cast<void (QLineEdit::*)()>(&QLineEdit::returnPressed), static_cast<MyQLineEdit*>(ptr), static_cast<void (MyQLineEdit::*)()>(&MyQLineEdit::Signal_ReturnPressed));
}
void QLineEdit_ReturnPressed(void* ptr)
{
static_cast<QLineEdit*>(ptr)->returnPressed();
}
void QLineEdit_SelectAll(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QLineEdit*>(ptr), "selectAll");
}
void QLineEdit_SelectAllDefault(void* ptr)
{
static_cast<QLineEdit*>(ptr)->QLineEdit::selectAll();
}
void QLineEdit_ConnectSelectionChanged(void* ptr)
{
QObject::connect(static_cast<QLineEdit*>(ptr), static_cast<void (QLineEdit::*)()>(&QLineEdit::selectionChanged), static_cast<MyQLineEdit*>(ptr), static_cast<void (MyQLineEdit::*)()>(&MyQLineEdit::Signal_SelectionChanged));
}
void QLineEdit_DisconnectSelectionChanged(void* ptr)
{
QObject::disconnect(static_cast<QLineEdit*>(ptr), static_cast<void (QLineEdit::*)()>(&QLineEdit::selectionChanged), static_cast<MyQLineEdit*>(ptr), static_cast<void (MyQLineEdit::*)()>(&MyQLineEdit::Signal_SelectionChanged));
}
void QLineEdit_SelectionChanged(void* ptr)
{
static_cast<QLineEdit*>(ptr)->selectionChanged();
}
void QLineEdit_SetAlignment(void* ptr, long long flag)
{
static_cast<QLineEdit*>(ptr)->setAlignment(static_cast<Qt::AlignmentFlag>(flag));
}
void QLineEdit_SetClearButtonEnabled(void* ptr, char enable)
{
static_cast<QLineEdit*>(ptr)->setClearButtonEnabled(enable != 0);
}
void QLineEdit_SetCompleter(void* ptr, void* c)
{
static_cast<QLineEdit*>(ptr)->setCompleter(static_cast<QCompleter*>(c));
}
void QLineEdit_SetCursorMoveStyle(void* ptr, long long style)
{
static_cast<QLineEdit*>(ptr)->setCursorMoveStyle(static_cast<Qt::CursorMoveStyle>(style));
}
void QLineEdit_SetCursorPosition(void* ptr, int vin)
{
static_cast<QLineEdit*>(ptr)->setCursorPosition(vin);
}
void QLineEdit_SetDragEnabled(void* ptr, char b)
{
static_cast<QLineEdit*>(ptr)->setDragEnabled(b != 0);
}
void QLineEdit_SetEchoMode(void* ptr, long long vec)
{
static_cast<QLineEdit*>(ptr)->setEchoMode(static_cast<QLineEdit::EchoMode>(vec));
}
void QLineEdit_SetFrame(void* ptr, char vbo)
{
static_cast<QLineEdit*>(ptr)->setFrame(vbo != 0);
}
void QLineEdit_SetInputMask(void* ptr, char* inputMask)
{
static_cast<QLineEdit*>(ptr)->setInputMask(QString(inputMask));
}
void QLineEdit_SetMaxLength(void* ptr, int vin)
{
static_cast<QLineEdit*>(ptr)->setMaxLength(vin);
}
void QLineEdit_SetModified(void* ptr, char vbo)
{
static_cast<QLineEdit*>(ptr)->setModified(vbo != 0);
}
void QLineEdit_SetPlaceholderText(void* ptr, char* vqs)
{
static_cast<QLineEdit*>(ptr)->setPlaceholderText(QString(vqs));
}
void QLineEdit_SetReadOnly(void* ptr, char vbo)
{
static_cast<QLineEdit*>(ptr)->setReadOnly(vbo != 0);
}
void QLineEdit_SetSelection(void* ptr, int start, int length)
{
static_cast<QLineEdit*>(ptr)->setSelection(start, length);
}
void QLineEdit_SetText(void* ptr, char* vqs)
{
QMetaObject::invokeMethod(static_cast<QLineEdit*>(ptr), "setText", Q_ARG(QString, QString(vqs)));
}
void QLineEdit_SetTextDefault(void* ptr, char* vqs)
{
static_cast<QLineEdit*>(ptr)->QLineEdit::setText(QString(vqs));
}
void QLineEdit_SetTextMargins2(void* ptr, void* margins)
{
static_cast<QLineEdit*>(ptr)->setTextMargins(*static_cast<QMargins*>(margins));
}
void QLineEdit_SetTextMargins(void* ptr, int left, int top, int right, int bottom)
{
static_cast<QLineEdit*>(ptr)->setTextMargins(left, top, right, bottom);
}
void QLineEdit_SetValidator(void* ptr, void* v)
{
static_cast<QLineEdit*>(ptr)->setValidator(static_cast<QValidator*>(v));
}
void QLineEdit_ConnectTextChanged(void* ptr)
{
QObject::connect(static_cast<QLineEdit*>(ptr), static_cast<void (QLineEdit::*)(const QString &)>(&QLineEdit::textChanged), static_cast<MyQLineEdit*>(ptr), static_cast<void (MyQLineEdit::*)(const QString &)>(&MyQLineEdit::Signal_TextChanged));
}
void QLineEdit_DisconnectTextChanged(void* ptr)
{
QObject::disconnect(static_cast<QLineEdit*>(ptr), static_cast<void (QLineEdit::*)(const QString &)>(&QLineEdit::textChanged), static_cast<MyQLineEdit*>(ptr), static_cast<void (MyQLineEdit::*)(const QString &)>(&MyQLineEdit::Signal_TextChanged));
}
void QLineEdit_TextChanged(void* ptr, char* text)
{
static_cast<QLineEdit*>(ptr)->textChanged(QString(text));
}
void QLineEdit_ConnectTextEdited(void* ptr)
{
QObject::connect(static_cast<QLineEdit*>(ptr), static_cast<void (QLineEdit::*)(const QString &)>(&QLineEdit::textEdited), static_cast<MyQLineEdit*>(ptr), static_cast<void (MyQLineEdit::*)(const QString &)>(&MyQLineEdit::Signal_TextEdited));
}
void QLineEdit_DisconnectTextEdited(void* ptr)
{
QObject::disconnect(static_cast<QLineEdit*>(ptr), static_cast<void (QLineEdit::*)(const QString &)>(&QLineEdit::textEdited), static_cast<MyQLineEdit*>(ptr), static_cast<void (MyQLineEdit::*)(const QString &)>(&MyQLineEdit::Signal_TextEdited));
}
void QLineEdit_TextEdited(void* ptr, char* text)
{
static_cast<QLineEdit*>(ptr)->textEdited(QString(text));
}
void QLineEdit_Undo(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QLineEdit*>(ptr), "undo");
}
void QLineEdit_UndoDefault(void* ptr)
{
static_cast<QLineEdit*>(ptr)->QLineEdit::undo();
}
void QLineEdit_DestroyQLineEdit(void* ptr)
{
static_cast<QLineEdit*>(ptr)->~QLineEdit();
}
long long QLineEdit_EchoMode(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->echoMode();
}
void* QLineEdit_Completer(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->completer();
}
void* QLineEdit_TextMargins(void* ptr)
{
return ({ QMargins tmpValue = static_cast<QLineEdit*>(ptr)->textMargins(); new QMargins(tmpValue.left(), tmpValue.top(), tmpValue.right(), tmpValue.bottom()); });
}
void* QLineEdit_CursorRect(void* ptr)
{
return ({ QRect tmpValue = static_cast<QLineEdit*>(ptr)->cursorRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QLineEdit_DisplayText(void* ptr)
{
return ({ QByteArray t6ee01b = static_cast<QLineEdit*>(ptr)->displayText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t6ee01b.prepend("WHITESPACE").constData()+10), t6ee01b.size()-10 }; });
}
struct QtWidgets_PackedString QLineEdit_InputMask(void* ptr)
{
return ({ QByteArray taabe0f = static_cast<QLineEdit*>(ptr)->inputMask().toUtf8(); QtWidgets_PackedString { const_cast<char*>(taabe0f.prepend("WHITESPACE").constData()+10), taabe0f.size()-10 }; });
}
struct QtWidgets_PackedString QLineEdit_PlaceholderText(void* ptr)
{
return ({ QByteArray t749e76 = static_cast<QLineEdit*>(ptr)->placeholderText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t749e76.prepend("WHITESPACE").constData()+10), t749e76.size()-10 }; });
}
struct QtWidgets_PackedString QLineEdit_SelectedText(void* ptr)
{
return ({ QByteArray t1e6e00 = static_cast<QLineEdit*>(ptr)->selectedText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t1e6e00.prepend("WHITESPACE").constData()+10), t1e6e00.size()-10 }; });
}
struct QtWidgets_PackedString QLineEdit_Text(void* ptr)
{
return ({ QByteArray te2605d = static_cast<QLineEdit*>(ptr)->text().toUtf8(); QtWidgets_PackedString { const_cast<char*>(te2605d.prepend("WHITESPACE").constData()+10), te2605d.size()-10 }; });
}
long long QLineEdit_Alignment(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->alignment();
}
long long QLineEdit_CursorMoveStyle(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->cursorMoveStyle();
}
char QLineEdit_DragEnabled(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->dragEnabled();
}
char QLineEdit_HasAcceptableInput(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->hasAcceptableInput();
}
char QLineEdit_HasFrame(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->hasFrame();
}
char QLineEdit_HasSelectedText(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->hasSelectedText();
}
char QLineEdit_IsClearButtonEnabled(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->isClearButtonEnabled();
}
char QLineEdit_IsModified(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->isModified();
}
char QLineEdit_IsReadOnly(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->isReadOnly();
}
char QLineEdit_IsRedoAvailable(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->isRedoAvailable();
}
char QLineEdit_IsUndoAvailable(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->isUndoAvailable();
}
void* QLineEdit_Validator(void* ptr)
{
return const_cast<QValidator*>(static_cast<QLineEdit*>(ptr)->validator());
}
int QLineEdit_CursorPosition(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->cursorPosition();
}
int QLineEdit_MaxLength(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->maxLength();
}
int QLineEdit_SelectionStart(void* ptr)
{
return static_cast<QLineEdit*>(ptr)->selectionStart();
}
void QLineEdit_Copy(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QLineEdit*>(ptr), "copy");
}
void QLineEdit_CopyDefault(void* ptr)
{
static_cast<QLineEdit*>(ptr)->QLineEdit::copy();
}
void QLineEdit_GetTextMargins(void* ptr, int left, int top, int right, int bottom)
{
static_cast<QLineEdit*>(ptr)->getTextMargins(&left, &top, &right, &bottom);
}
void QLineEdit_InitStyleOption(void* ptr, void* option)
{
static_cast<QLineEdit*>(ptr)->initStyleOption(static_cast<QStyleOptionFrame*>(option));
}
class MyQListView: public QListView
{
public:
MyQListView(QWidget *parent) : QListView(parent) {};
QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast<QModelIndex*>(callbackQListView_MoveCursor(this, cursorAction, modifiers)); };
void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQListView_CurrentChanged(this, const_cast<QModelIndex*>(&current), const_cast<QModelIndex*>(&previous)); };
void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector<int> & roles) { callbackQListView_DataChanged(this, const_cast<QModelIndex*>(&topLeft), const_cast<QModelIndex*>(&bottomRight), ({ QVector<int>* tmpValue = const_cast<QVector<int>*>(&roles); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })); };
void dragLeaveEvent(QDragLeaveEvent * e) { callbackQWidget_DragLeaveEvent(this, e); };
void dragMoveEvent(QDragMoveEvent * e) { callbackQWidget_DragMoveEvent(this, e); };
void dropEvent(QDropEvent * e) { callbackQWidget_DropEvent(this, e); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); };
void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); };
void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQListView_RowsAboutToBeRemoved(this, const_cast<QModelIndex*>(&parent), start, end); };
void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQListView_RowsInserted(this, const_cast<QModelIndex*>(&parent), start, end); };
void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQListView_ScrollTo(this, const_cast<QModelIndex*>(&index), hint); };
void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQListView_SelectionChanged(this, const_cast<QItemSelection*>(&selected), const_cast<QItemSelection*>(&deselected)); };
void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags command) { callbackQListView_SetSelection(this, const_cast<QRect*>(&rect), command); };
void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); };
void updateGeometries() { callbackQListView_UpdateGeometries(this); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QModelIndex indexAt(const QPoint & p) const { return *static_cast<QModelIndex*>(callbackQListView_IndexAt(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&p))); };
QList<QModelIndex> selectedIndexes() const { return *static_cast<QList<QModelIndex>*>(callbackQAbstractItemView_SelectedIndexes(const_cast<void*>(static_cast<const void*>(this)))); };
QRect visualRect(const QModelIndex & index) const { return *static_cast<QRect*>(callbackQListView_VisualRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast<QRegion*>(callbackQListView_VisualRegionForSelection(const_cast<void*>(static_cast<const void*>(this)), const_cast<QItemSelection*>(&selection))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QStyleOptionViewItem viewOptions() const { return *static_cast<QStyleOptionViewItem*>(callbackQAbstractItemView_ViewOptions(const_cast<void*>(static_cast<const void*>(this)))); };
bool isIndexHidden(const QModelIndex & index) const { return callbackQListView_IsIndexHidden(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index)) != 0; };
int horizontalOffset() const { return callbackQListView_HorizontalOffset(const_cast<void*>(static_cast<const void*>(this))); };
int verticalOffset() const { return callbackQListView_VerticalOffset(const_cast<void*>(static_cast<const void*>(this))); };
bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast<QModelIndex*>(&index), trigger, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast<QModelIndex*>(&index)); };
void clearSelection() { callbackQAbstractItemView_ClearSelection(this); };
void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast<QModelIndex*>(&index)); };
void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); };
void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); };
void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast<QModelIndex*>(&index)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast<QModelIndex*>(&index)); };
void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); };
void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast<QModelIndex*>(&index)); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast<QSize*>(&size)); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyboardSearch(const QString & search) { QByteArray t3559d7 = search.toUtf8(); QtWidgets_PackedString searchPacked = { const_cast<char*>(t3559d7.prepend("WHITESPACE").constData()+10), t3559d7.size()-10 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast<QModelIndex*>(&index)); };
void reset() { callbackQAbstractItemView_Reset(this); };
void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); };
void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); };
void selectAll() { callbackQAbstractItemView_SelectAll(this); };
void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast<QModelIndex*>(&index)); };
void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); };
void setRootIndex(const QModelIndex & index) { callbackQAbstractItemView_SetRootIndex(this, const_cast<QModelIndex*>(&index)); };
void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); };
void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast<QModelIndex*>(&index)); };
void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); };
QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast<QItemSelectionModel::SelectionFlag>(callbackQAbstractItemView_SelectionCommand(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index), const_cast<QEvent*>(event))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast<void*>(static_cast<const void*>(this)), column); };
int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast<void*>(static_cast<const void*>(this)), row); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QListView_NewQListView(void* parent)
{
return new MyQListView(static_cast<QWidget*>(parent));
}
void* QListView_MoveCursor(void* ptr, long long cursorAction, long long modifiers)
{
return new QModelIndex(static_cast<QListView*>(ptr)->moveCursor(static_cast<QAbstractItemView::CursorAction>(cursorAction), static_cast<Qt::KeyboardModifier>(modifiers)));
}
void* QListView_MoveCursorDefault(void* ptr, long long cursorAction, long long modifiers)
{
if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return new QModelIndex(static_cast<QUndoView*>(ptr)->QUndoView::moveCursor(static_cast<QAbstractItemView::CursorAction>(cursorAction), static_cast<Qt::KeyboardModifier>(modifiers)));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return new QModelIndex(static_cast<QListWidget*>(ptr)->QListWidget::moveCursor(static_cast<QAbstractItemView::CursorAction>(cursorAction), static_cast<Qt::KeyboardModifier>(modifiers)));
} else {
return new QModelIndex(static_cast<QListView*>(ptr)->QListView::moveCursor(static_cast<QAbstractItemView::CursorAction>(cursorAction), static_cast<Qt::KeyboardModifier>(modifiers)));
}
}
void QListView_ClearPropertyFlags(void* ptr)
{
static_cast<QListView*>(ptr)->clearPropertyFlags();
}
void QListView_CurrentChanged(void* ptr, void* current, void* previous)
{
static_cast<QListView*>(ptr)->currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
}
void QListView_CurrentChangedDefault(void* ptr, void* current, void* previous)
{
if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
} else {
static_cast<QListView*>(ptr)->QListView::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
}
}
void QListView_DataChanged(void* ptr, void* topLeft, void* bottomRight, void* roles)
{
static_cast<QListView*>(ptr)->dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
}
void QListView_DataChangedDefault(void* ptr, void* topLeft, void* bottomRight, void* roles)
{
if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
} else {
static_cast<QListView*>(ptr)->QListView::dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
}
}
void QListView_RowsAboutToBeRemoved(void* ptr, void* parent, int start, int end)
{
static_cast<QListView*>(ptr)->rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
}
void QListView_RowsAboutToBeRemovedDefault(void* ptr, void* parent, int start, int end)
{
if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
} else {
static_cast<QListView*>(ptr)->QListView::rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
}
}
void QListView_RowsInserted(void* ptr, void* parent, int start, int end)
{
static_cast<QListView*>(ptr)->rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
}
void QListView_RowsInsertedDefault(void* ptr, void* parent, int start, int end)
{
if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
} else {
static_cast<QListView*>(ptr)->QListView::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
}
}
void QListView_ScrollTo(void* ptr, void* index, long long hint)
{
static_cast<QListView*>(ptr)->scrollTo(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::ScrollHint>(hint));
}
void QListView_ScrollToDefault(void* ptr, void* index, long long hint)
{
if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::scrollTo(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::ScrollHint>(hint));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::scrollTo(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::ScrollHint>(hint));
} else {
static_cast<QListView*>(ptr)->QListView::scrollTo(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::ScrollHint>(hint));
}
}
void QListView_SelectionChanged(void* ptr, void* selected, void* deselected)
{
static_cast<QListView*>(ptr)->selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
}
void QListView_SelectionChangedDefault(void* ptr, void* selected, void* deselected)
{
if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
} else {
static_cast<QListView*>(ptr)->QListView::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
}
}
void QListView_SetBatchSize(void* ptr, int batchSize)
{
static_cast<QListView*>(ptr)->setBatchSize(batchSize);
}
void QListView_SetFlow(void* ptr, long long flow)
{
static_cast<QListView*>(ptr)->setFlow(static_cast<QListView::Flow>(flow));
}
void QListView_SetGridSize(void* ptr, void* size)
{
static_cast<QListView*>(ptr)->setGridSize(*static_cast<QSize*>(size));
}
void QListView_SetLayoutMode(void* ptr, long long mode)
{
static_cast<QListView*>(ptr)->setLayoutMode(static_cast<QListView::LayoutMode>(mode));
}
void QListView_SetModelColumn(void* ptr, int column)
{
static_cast<QListView*>(ptr)->setModelColumn(column);
}
void QListView_SetMovement(void* ptr, long long movement)
{
static_cast<QListView*>(ptr)->setMovement(static_cast<QListView::Movement>(movement));
}
void QListView_SetPositionForIndex(void* ptr, void* position, void* index)
{
static_cast<QListView*>(ptr)->setPositionForIndex(*static_cast<QPoint*>(position), *static_cast<QModelIndex*>(index));
}
void QListView_SetResizeMode(void* ptr, long long mode)
{
static_cast<QListView*>(ptr)->setResizeMode(static_cast<QListView::ResizeMode>(mode));
}
void QListView_SetRowHidden(void* ptr, int row, char hide)
{
static_cast<QListView*>(ptr)->setRowHidden(row, hide != 0);
}
void QListView_SetSelection(void* ptr, void* rect, long long command)
{
static_cast<QListView*>(ptr)->setSelection(*static_cast<QRect*>(rect), static_cast<QItemSelectionModel::SelectionFlag>(command));
}
void QListView_SetSelectionDefault(void* ptr, void* rect, long long command)
{
if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::setSelection(*static_cast<QRect*>(rect), static_cast<QItemSelectionModel::SelectionFlag>(command));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::setSelection(*static_cast<QRect*>(rect), static_cast<QItemSelectionModel::SelectionFlag>(command));
} else {
static_cast<QListView*>(ptr)->QListView::setSelection(*static_cast<QRect*>(rect), static_cast<QItemSelectionModel::SelectionFlag>(command));
}
}
void QListView_SetSelectionRectVisible(void* ptr, char show)
{
static_cast<QListView*>(ptr)->setSelectionRectVisible(show != 0);
}
void QListView_SetSpacing(void* ptr, int space)
{
static_cast<QListView*>(ptr)->setSpacing(space);
}
void QListView_SetUniformItemSizes(void* ptr, char enable)
{
static_cast<QListView*>(ptr)->setUniformItemSizes(enable != 0);
}
void QListView_SetViewMode(void* ptr, long long mode)
{
static_cast<QListView*>(ptr)->setViewMode(static_cast<QListView::ViewMode>(mode));
}
void QListView_SetWordWrap(void* ptr, char on)
{
static_cast<QListView*>(ptr)->setWordWrap(on != 0);
}
void QListView_SetWrapping(void* ptr, char enable)
{
static_cast<QListView*>(ptr)->setWrapping(enable != 0);
}
void QListView_UpdateGeometries(void* ptr)
{
static_cast<QListView*>(ptr)->updateGeometries();
}
void QListView_UpdateGeometriesDefault(void* ptr)
{
if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::updateGeometries();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::updateGeometries();
} else {
static_cast<QListView*>(ptr)->QListView::updateGeometries();
}
}
void QListView_DestroyQListView(void* ptr)
{
static_cast<QListView*>(ptr)->~QListView();
}
long long QListView_Flow(void* ptr)
{
return static_cast<QListView*>(ptr)->flow();
}
long long QListView_LayoutMode(void* ptr)
{
return static_cast<QListView*>(ptr)->layoutMode();
}
long long QListView_Movement(void* ptr)
{
return static_cast<QListView*>(ptr)->movement();
}
void* QListView_IndexAt(void* ptr, void* p)
{
return new QModelIndex(static_cast<QListView*>(ptr)->indexAt(*static_cast<QPoint*>(p)));
}
void* QListView_IndexAtDefault(void* ptr, void* p)
{
if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return new QModelIndex(static_cast<QUndoView*>(ptr)->QUndoView::indexAt(*static_cast<QPoint*>(p)));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return new QModelIndex(static_cast<QListWidget*>(ptr)->QListWidget::indexAt(*static_cast<QPoint*>(p)));
} else {
return new QModelIndex(static_cast<QListView*>(ptr)->QListView::indexAt(*static_cast<QPoint*>(p)));
}
}
void* QListView_RectForIndex(void* ptr, void* index)
{
return ({ QRect tmpValue = static_cast<QListView*>(ptr)->rectForIndex(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QListView_VisualRect(void* ptr, void* index)
{
return ({ QRect tmpValue = static_cast<QListView*>(ptr)->visualRect(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QListView_VisualRectDefault(void* ptr, void* index)
{
if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QUndoView*>(ptr)->QUndoView::visualRect(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QListWidget*>(ptr)->QListWidget::visualRect(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRect tmpValue = static_cast<QListView*>(ptr)->QListView::visualRect(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QListView_VisualRegionForSelection(void* ptr, void* selection)
{
return new QRegion(static_cast<QListView*>(ptr)->visualRegionForSelection(*static_cast<QItemSelection*>(selection)));
}
void* QListView_VisualRegionForSelectionDefault(void* ptr, void* selection)
{
if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return new QRegion(static_cast<QUndoView*>(ptr)->QUndoView::visualRegionForSelection(*static_cast<QItemSelection*>(selection)));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return new QRegion(static_cast<QListWidget*>(ptr)->QListWidget::visualRegionForSelection(*static_cast<QItemSelection*>(selection)));
} else {
return new QRegion(static_cast<QListView*>(ptr)->QListView::visualRegionForSelection(*static_cast<QItemSelection*>(selection)));
}
}
void* QListView_GridSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QListView*>(ptr)->gridSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
long long QListView_ResizeMode(void* ptr)
{
return static_cast<QListView*>(ptr)->resizeMode();
}
long long QListView_ViewMode(void* ptr)
{
return static_cast<QListView*>(ptr)->viewMode();
}
char QListView_IsIndexHidden(void* ptr, void* index)
{
return static_cast<QListView*>(ptr)->isIndexHidden(*static_cast<QModelIndex*>(index));
}
char QListView_IsIndexHiddenDefault(void* ptr, void* index)
{
if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::isIndexHidden(*static_cast<QModelIndex*>(index));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::isIndexHidden(*static_cast<QModelIndex*>(index));
} else {
return static_cast<QListView*>(ptr)->QListView::isIndexHidden(*static_cast<QModelIndex*>(index));
}
}
char QListView_IsRowHidden(void* ptr, int row)
{
return static_cast<QListView*>(ptr)->isRowHidden(row);
}
char QListView_IsSelectionRectVisible(void* ptr)
{
return static_cast<QListView*>(ptr)->isSelectionRectVisible();
}
char QListView_IsWrapping(void* ptr)
{
return static_cast<QListView*>(ptr)->isWrapping();
}
char QListView_UniformItemSizes(void* ptr)
{
return static_cast<QListView*>(ptr)->uniformItemSizes();
}
char QListView_WordWrap(void* ptr)
{
return static_cast<QListView*>(ptr)->wordWrap();
}
int QListView_BatchSize(void* ptr)
{
return static_cast<QListView*>(ptr)->batchSize();
}
int QListView_HorizontalOffset(void* ptr)
{
return static_cast<QListView*>(ptr)->horizontalOffset();
}
int QListView_HorizontalOffsetDefault(void* ptr)
{
if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::horizontalOffset();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::horizontalOffset();
} else {
return static_cast<QListView*>(ptr)->QListView::horizontalOffset();
}
}
int QListView_ModelColumn(void* ptr)
{
return static_cast<QListView*>(ptr)->modelColumn();
}
int QListView_Spacing(void* ptr)
{
return static_cast<QListView*>(ptr)->spacing();
}
int QListView_VerticalOffset(void* ptr)
{
return static_cast<QListView*>(ptr)->verticalOffset();
}
int QListView_VerticalOffsetDefault(void* ptr)
{
if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::verticalOffset();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::verticalOffset();
} else {
return static_cast<QListView*>(ptr)->QListView::verticalOffset();
}
}
void* QListView___indexesMoved_indexes_atList(void* ptr, int i)
{
return new QModelIndex(static_cast<QList<QModelIndex>*>(ptr)->at(i));
}
void QListView___indexesMoved_indexes_setList(void* ptr, void* i)
{
static_cast<QList<QModelIndex>*>(ptr)->append(*static_cast<QModelIndex*>(i));
}
void* QListView___indexesMoved_indexes_newList(void* ptr)
{
return new QList<QModelIndex>;
}
class MyQListWidget: public QListWidget
{
public:
MyQListWidget(QWidget *parent) : QListWidget(parent) {};
bool dropMimeData(int index, const QMimeData * data, Qt::DropAction action) { return callbackQListWidget_DropMimeData(this, index, const_cast<QMimeData*>(data), action) != 0; };
void clear() { callbackQListWidget_Clear(this); };
void Signal_CurrentItemChanged(QListWidgetItem * current, QListWidgetItem * previous) { callbackQListWidget_CurrentItemChanged(this, current, previous); };
void Signal_CurrentRowChanged(int currentRow) { callbackQListWidget_CurrentRowChanged(this, currentRow); };
void Signal_CurrentTextChanged(const QString & currentText) { QByteArray t5a0ada = currentText.toUtf8(); QtWidgets_PackedString currentTextPacked = { const_cast<char*>(t5a0ada.prepend("WHITESPACE").constData()+10), t5a0ada.size()-10 };callbackQListWidget_CurrentTextChanged(this, currentTextPacked); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void Signal_ItemActivated(QListWidgetItem * item) { callbackQListWidget_ItemActivated(this, item); };
void Signal_ItemChanged(QListWidgetItem * item) { callbackQListWidget_ItemChanged(this, item); };
void Signal_ItemClicked(QListWidgetItem * item) { callbackQListWidget_ItemClicked(this, item); };
void Signal_ItemDoubleClicked(QListWidgetItem * item) { callbackQListWidget_ItemDoubleClicked(this, item); };
void Signal_ItemEntered(QListWidgetItem * item) { callbackQListWidget_ItemEntered(this, item); };
void Signal_ItemPressed(QListWidgetItem * item) { callbackQListWidget_ItemPressed(this, item); };
void Signal_ItemSelectionChanged() { callbackQListWidget_ItemSelectionChanged(this); };
void scrollToItem(const QListWidgetItem * item, QAbstractItemView::ScrollHint hint) { callbackQListWidget_ScrollToItem(this, const_cast<QListWidgetItem*>(item), hint); };
void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); };
QMimeData * mimeData(const QList<QListWidgetItem *> items) const { return static_cast<QMimeData*>(callbackQListWidget_MimeData(const_cast<void*>(static_cast<const void*>(this)), ({ QList<QListWidgetItem *>* tmpValue = new QList<QListWidgetItem *>(items); QtWidgets_PackedList { tmpValue, tmpValue->size() }; }))); };
QStringList mimeTypes() const { return QString(callbackQListWidget_MimeTypes(const_cast<void*>(static_cast<const void*>(this)))).split("|", QString::SkipEmptyParts); };
Qt::DropActions supportedDropActions() const { return static_cast<Qt::DropAction>(callbackQListWidget_SupportedDropActions(const_cast<void*>(static_cast<const void*>(this)))); };
QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast<QModelIndex*>(callbackQListView_MoveCursor(this, cursorAction, modifiers)); };
void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQListView_CurrentChanged(this, const_cast<QModelIndex*>(&current), const_cast<QModelIndex*>(&previous)); };
void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector<int> & roles) { callbackQListView_DataChanged(this, const_cast<QModelIndex*>(&topLeft), const_cast<QModelIndex*>(&bottomRight), ({ QVector<int>* tmpValue = const_cast<QVector<int>*>(&roles); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })); };
void dragLeaveEvent(QDragLeaveEvent * e) { callbackQWidget_DragLeaveEvent(this, e); };
void dragMoveEvent(QDragMoveEvent * e) { callbackQWidget_DragMoveEvent(this, e); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); };
void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); };
void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQListView_RowsAboutToBeRemoved(this, const_cast<QModelIndex*>(&parent), start, end); };
void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQListView_RowsInserted(this, const_cast<QModelIndex*>(&parent), start, end); };
void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQListView_ScrollTo(this, const_cast<QModelIndex*>(&index), hint); };
void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQListView_SelectionChanged(this, const_cast<QItemSelection*>(&selected), const_cast<QItemSelection*>(&deselected)); };
void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags command) { callbackQListView_SetSelection(this, const_cast<QRect*>(&rect), command); };
void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); };
void updateGeometries() { callbackQListView_UpdateGeometries(this); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QModelIndex indexAt(const QPoint & p) const { return *static_cast<QModelIndex*>(callbackQListView_IndexAt(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&p))); };
QList<QModelIndex> selectedIndexes() const { return *static_cast<QList<QModelIndex>*>(callbackQAbstractItemView_SelectedIndexes(const_cast<void*>(static_cast<const void*>(this)))); };
QRect visualRect(const QModelIndex & index) const { return *static_cast<QRect*>(callbackQListView_VisualRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast<QRegion*>(callbackQListView_VisualRegionForSelection(const_cast<void*>(static_cast<const void*>(this)), const_cast<QItemSelection*>(&selection))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QStyleOptionViewItem viewOptions() const { return *static_cast<QStyleOptionViewItem*>(callbackQAbstractItemView_ViewOptions(const_cast<void*>(static_cast<const void*>(this)))); };
bool isIndexHidden(const QModelIndex & index) const { return callbackQListView_IsIndexHidden(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index)) != 0; };
int horizontalOffset() const { return callbackQListView_HorizontalOffset(const_cast<void*>(static_cast<const void*>(this))); };
int verticalOffset() const { return callbackQListView_VerticalOffset(const_cast<void*>(static_cast<const void*>(this))); };
bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast<QModelIndex*>(&index), trigger, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast<QModelIndex*>(&index)); };
void clearSelection() { callbackQAbstractItemView_ClearSelection(this); };
void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast<QModelIndex*>(&index)); };
void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); };
void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); };
void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast<QModelIndex*>(&index)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast<QModelIndex*>(&index)); };
void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); };
void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast<QModelIndex*>(&index)); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast<QSize*>(&size)); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyboardSearch(const QString & search) { QByteArray t3559d7 = search.toUtf8(); QtWidgets_PackedString searchPacked = { const_cast<char*>(t3559d7.prepend("WHITESPACE").constData()+10), t3559d7.size()-10 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast<QModelIndex*>(&index)); };
void reset() { callbackQAbstractItemView_Reset(this); };
void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); };
void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); };
void selectAll() { callbackQAbstractItemView_SelectAll(this); };
void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast<QModelIndex*>(&index)); };
void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); };
void setRootIndex(const QModelIndex & index) { callbackQAbstractItemView_SetRootIndex(this, const_cast<QModelIndex*>(&index)); };
void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast<QModelIndex*>(&index)); };
void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); };
QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast<QItemSelectionModel::SelectionFlag>(callbackQAbstractItemView_SelectionCommand(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index), const_cast<QEvent*>(event))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast<void*>(static_cast<const void*>(this)), column); };
int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast<void*>(static_cast<const void*>(this)), row); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QListWidget_NewQListWidget(void* parent)
{
return new MyQListWidget(static_cast<QWidget*>(parent));
}
void* QListWidget_TakeItem(void* ptr, int row)
{
return static_cast<QListWidget*>(ptr)->takeItem(row);
}
char QListWidget_DropMimeData(void* ptr, int index, void* data, long long action)
{
return static_cast<QListWidget*>(ptr)->dropMimeData(index, static_cast<QMimeData*>(data), static_cast<Qt::DropAction>(action));
}
char QListWidget_DropMimeDataDefault(void* ptr, int index, void* data, long long action)
{
return static_cast<QListWidget*>(ptr)->QListWidget::dropMimeData(index, static_cast<QMimeData*>(data), static_cast<Qt::DropAction>(action));
}
void QListWidget_AddItem2(void* ptr, void* item)
{
static_cast<QListWidget*>(ptr)->addItem(static_cast<QListWidgetItem*>(item));
}
void QListWidget_AddItem(void* ptr, char* label)
{
static_cast<QListWidget*>(ptr)->addItem(QString(label));
}
void QListWidget_AddItems(void* ptr, char* labels)
{
static_cast<QListWidget*>(ptr)->addItems(QString(labels).split("|", QString::SkipEmptyParts));
}
void QListWidget_Clear(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QListWidget*>(ptr), "clear");
}
void QListWidget_ClearDefault(void* ptr)
{
static_cast<QListWidget*>(ptr)->QListWidget::clear();
}
void QListWidget_ClosePersistentEditor(void* ptr, void* item)
{
static_cast<QListWidget*>(ptr)->closePersistentEditor(static_cast<QListWidgetItem*>(item));
}
void QListWidget_ConnectCurrentItemChanged(void* ptr)
{
QObject::connect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(QListWidgetItem *, QListWidgetItem *)>(&QListWidget::currentItemChanged), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(QListWidgetItem *, QListWidgetItem *)>(&MyQListWidget::Signal_CurrentItemChanged));
}
void QListWidget_DisconnectCurrentItemChanged(void* ptr)
{
QObject::disconnect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(QListWidgetItem *, QListWidgetItem *)>(&QListWidget::currentItemChanged), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(QListWidgetItem *, QListWidgetItem *)>(&MyQListWidget::Signal_CurrentItemChanged));
}
void QListWidget_CurrentItemChanged(void* ptr, void* current, void* previous)
{
static_cast<QListWidget*>(ptr)->currentItemChanged(static_cast<QListWidgetItem*>(current), static_cast<QListWidgetItem*>(previous));
}
void QListWidget_ConnectCurrentRowChanged(void* ptr)
{
QObject::connect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(int)>(&QListWidget::currentRowChanged), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(int)>(&MyQListWidget::Signal_CurrentRowChanged));
}
void QListWidget_DisconnectCurrentRowChanged(void* ptr)
{
QObject::disconnect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(int)>(&QListWidget::currentRowChanged), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(int)>(&MyQListWidget::Signal_CurrentRowChanged));
}
void QListWidget_CurrentRowChanged(void* ptr, int currentRow)
{
static_cast<QListWidget*>(ptr)->currentRowChanged(currentRow);
}
void QListWidget_ConnectCurrentTextChanged(void* ptr)
{
QObject::connect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(const QString &)>(&QListWidget::currentTextChanged), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(const QString &)>(&MyQListWidget::Signal_CurrentTextChanged));
}
void QListWidget_DisconnectCurrentTextChanged(void* ptr)
{
QObject::disconnect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(const QString &)>(&QListWidget::currentTextChanged), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(const QString &)>(&MyQListWidget::Signal_CurrentTextChanged));
}
void QListWidget_CurrentTextChanged(void* ptr, char* currentText)
{
static_cast<QListWidget*>(ptr)->currentTextChanged(QString(currentText));
}
void QListWidget_EditItem(void* ptr, void* item)
{
static_cast<QListWidget*>(ptr)->editItem(static_cast<QListWidgetItem*>(item));
}
void QListWidget_InsertItem(void* ptr, int row, void* item)
{
static_cast<QListWidget*>(ptr)->insertItem(row, static_cast<QListWidgetItem*>(item));
}
void QListWidget_InsertItem2(void* ptr, int row, char* label)
{
static_cast<QListWidget*>(ptr)->insertItem(row, QString(label));
}
void QListWidget_InsertItems(void* ptr, int row, char* labels)
{
static_cast<QListWidget*>(ptr)->insertItems(row, QString(labels).split("|", QString::SkipEmptyParts));
}
void QListWidget_ConnectItemActivated(void* ptr)
{
QObject::connect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(QListWidgetItem *)>(&QListWidget::itemActivated), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(QListWidgetItem *)>(&MyQListWidget::Signal_ItemActivated));
}
void QListWidget_DisconnectItemActivated(void* ptr)
{
QObject::disconnect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(QListWidgetItem *)>(&QListWidget::itemActivated), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(QListWidgetItem *)>(&MyQListWidget::Signal_ItemActivated));
}
void QListWidget_ItemActivated(void* ptr, void* item)
{
static_cast<QListWidget*>(ptr)->itemActivated(static_cast<QListWidgetItem*>(item));
}
void QListWidget_ConnectItemChanged(void* ptr)
{
QObject::connect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(QListWidgetItem *)>(&QListWidget::itemChanged), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(QListWidgetItem *)>(&MyQListWidget::Signal_ItemChanged));
}
void QListWidget_DisconnectItemChanged(void* ptr)
{
QObject::disconnect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(QListWidgetItem *)>(&QListWidget::itemChanged), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(QListWidgetItem *)>(&MyQListWidget::Signal_ItemChanged));
}
void QListWidget_ItemChanged(void* ptr, void* item)
{
static_cast<QListWidget*>(ptr)->itemChanged(static_cast<QListWidgetItem*>(item));
}
void QListWidget_ConnectItemClicked(void* ptr)
{
QObject::connect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(QListWidgetItem *)>(&QListWidget::itemClicked), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(QListWidgetItem *)>(&MyQListWidget::Signal_ItemClicked));
}
void QListWidget_DisconnectItemClicked(void* ptr)
{
QObject::disconnect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(QListWidgetItem *)>(&QListWidget::itemClicked), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(QListWidgetItem *)>(&MyQListWidget::Signal_ItemClicked));
}
void QListWidget_ItemClicked(void* ptr, void* item)
{
static_cast<QListWidget*>(ptr)->itemClicked(static_cast<QListWidgetItem*>(item));
}
void QListWidget_ConnectItemDoubleClicked(void* ptr)
{
QObject::connect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(QListWidgetItem *)>(&QListWidget::itemDoubleClicked), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(QListWidgetItem *)>(&MyQListWidget::Signal_ItemDoubleClicked));
}
void QListWidget_DisconnectItemDoubleClicked(void* ptr)
{
QObject::disconnect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(QListWidgetItem *)>(&QListWidget::itemDoubleClicked), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(QListWidgetItem *)>(&MyQListWidget::Signal_ItemDoubleClicked));
}
void QListWidget_ItemDoubleClicked(void* ptr, void* item)
{
static_cast<QListWidget*>(ptr)->itemDoubleClicked(static_cast<QListWidgetItem*>(item));
}
void QListWidget_ConnectItemEntered(void* ptr)
{
QObject::connect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(QListWidgetItem *)>(&QListWidget::itemEntered), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(QListWidgetItem *)>(&MyQListWidget::Signal_ItemEntered));
}
void QListWidget_DisconnectItemEntered(void* ptr)
{
QObject::disconnect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(QListWidgetItem *)>(&QListWidget::itemEntered), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(QListWidgetItem *)>(&MyQListWidget::Signal_ItemEntered));
}
void QListWidget_ItemEntered(void* ptr, void* item)
{
static_cast<QListWidget*>(ptr)->itemEntered(static_cast<QListWidgetItem*>(item));
}
void QListWidget_ConnectItemPressed(void* ptr)
{
QObject::connect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(QListWidgetItem *)>(&QListWidget::itemPressed), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(QListWidgetItem *)>(&MyQListWidget::Signal_ItemPressed));
}
void QListWidget_DisconnectItemPressed(void* ptr)
{
QObject::disconnect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)(QListWidgetItem *)>(&QListWidget::itemPressed), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)(QListWidgetItem *)>(&MyQListWidget::Signal_ItemPressed));
}
void QListWidget_ItemPressed(void* ptr, void* item)
{
static_cast<QListWidget*>(ptr)->itemPressed(static_cast<QListWidgetItem*>(item));
}
void QListWidget_ConnectItemSelectionChanged(void* ptr)
{
QObject::connect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)()>(&QListWidget::itemSelectionChanged), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)()>(&MyQListWidget::Signal_ItemSelectionChanged));
}
void QListWidget_DisconnectItemSelectionChanged(void* ptr)
{
QObject::disconnect(static_cast<QListWidget*>(ptr), static_cast<void (QListWidget::*)()>(&QListWidget::itemSelectionChanged), static_cast<MyQListWidget*>(ptr), static_cast<void (MyQListWidget::*)()>(&MyQListWidget::Signal_ItemSelectionChanged));
}
void QListWidget_ItemSelectionChanged(void* ptr)
{
static_cast<QListWidget*>(ptr)->itemSelectionChanged();
}
void QListWidget_OpenPersistentEditor(void* ptr, void* item)
{
static_cast<QListWidget*>(ptr)->openPersistentEditor(static_cast<QListWidgetItem*>(item));
}
void QListWidget_RemoveItemWidget(void* ptr, void* item)
{
static_cast<QListWidget*>(ptr)->removeItemWidget(static_cast<QListWidgetItem*>(item));
}
void QListWidget_ScrollToItem(void* ptr, void* item, long long hint)
{
QMetaObject::invokeMethod(static_cast<QListWidget*>(ptr), "scrollToItem", Q_ARG(QListWidgetItem*, static_cast<QListWidgetItem*>(item)), Q_ARG(QAbstractItemView::ScrollHint, static_cast<QAbstractItemView::ScrollHint>(hint)));
}
void QListWidget_ScrollToItemDefault(void* ptr, void* item, long long hint)
{
static_cast<QListWidget*>(ptr)->QListWidget::scrollToItem(static_cast<QListWidgetItem*>(item), static_cast<QAbstractItemView::ScrollHint>(hint));
}
void QListWidget_SetCurrentItem(void* ptr, void* item)
{
static_cast<QListWidget*>(ptr)->setCurrentItem(static_cast<QListWidgetItem*>(item));
}
void QListWidget_SetCurrentItem2(void* ptr, void* item, long long command)
{
static_cast<QListWidget*>(ptr)->setCurrentItem(static_cast<QListWidgetItem*>(item), static_cast<QItemSelectionModel::SelectionFlag>(command));
}
void QListWidget_SetCurrentRow(void* ptr, int row)
{
static_cast<QListWidget*>(ptr)->setCurrentRow(row);
}
void QListWidget_SetCurrentRow2(void* ptr, int row, long long command)
{
static_cast<QListWidget*>(ptr)->setCurrentRow(row, static_cast<QItemSelectionModel::SelectionFlag>(command));
}
void QListWidget_SetItemWidget(void* ptr, void* item, void* widget)
{
static_cast<QListWidget*>(ptr)->setItemWidget(static_cast<QListWidgetItem*>(item), static_cast<QWidget*>(widget));
}
void QListWidget_SetSortingEnabled(void* ptr, char enable)
{
static_cast<QListWidget*>(ptr)->setSortingEnabled(enable != 0);
}
void QListWidget_SortItems(void* ptr, long long order)
{
static_cast<QListWidget*>(ptr)->sortItems(static_cast<Qt::SortOrder>(order));
}
void QListWidget_DestroyQListWidget(void* ptr)
{
static_cast<QListWidget*>(ptr)->~QListWidget();
}
struct QtWidgets_PackedList QListWidget_FindItems(void* ptr, char* text, long long flags)
{
return ({ QList<QListWidgetItem *>* tmpValue = new QList<QListWidgetItem *>(static_cast<QListWidget*>(ptr)->findItems(QString(text), static_cast<Qt::MatchFlag>(flags))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QListWidget_Items(void* ptr, void* data)
{
return ({ QList<QListWidgetItem *>* tmpValue = new QList<QListWidgetItem *>(static_cast<QListWidget*>(ptr)->items(static_cast<QMimeData*>(data))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QListWidget_SelectedItems(void* ptr)
{
return ({ QList<QListWidgetItem *>* tmpValue = new QList<QListWidgetItem *>(static_cast<QListWidget*>(ptr)->selectedItems()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QListWidget_CurrentItem(void* ptr)
{
return static_cast<QListWidget*>(ptr)->currentItem();
}
void* QListWidget_Item(void* ptr, int row)
{
return static_cast<QListWidget*>(ptr)->item(row);
}
void* QListWidget_ItemAt(void* ptr, void* p)
{
return static_cast<QListWidget*>(ptr)->itemAt(*static_cast<QPoint*>(p));
}
void* QListWidget_ItemAt2(void* ptr, int x, int y)
{
return static_cast<QListWidget*>(ptr)->itemAt(x, y);
}
void* QListWidget_ItemFromIndex(void* ptr, void* index)
{
return static_cast<QListWidget*>(ptr)->itemFromIndex(*static_cast<QModelIndex*>(index));
}
void* QListWidget_MimeData(void* ptr, void* items)
{
return static_cast<QListWidget*>(ptr)->mimeData(*static_cast<QList<QListWidgetItem *>*>(items));
}
void* QListWidget_MimeDataDefault(void* ptr, void* items)
{
return static_cast<QListWidget*>(ptr)->QListWidget::mimeData(*static_cast<QList<QListWidgetItem *>*>(items));
}
void* QListWidget_IndexFromItem(void* ptr, void* item)
{
return new QModelIndex(static_cast<QListWidget*>(ptr)->indexFromItem(static_cast<QListWidgetItem*>(item)));
}
void* QListWidget_VisualItemRect(void* ptr, void* item)
{
return ({ QRect tmpValue = static_cast<QListWidget*>(ptr)->visualItemRect(static_cast<QListWidgetItem*>(item)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QListWidget_MimeTypes(void* ptr)
{
return ({ QByteArray t46fd45 = static_cast<QListWidget*>(ptr)->mimeTypes().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t46fd45.prepend("WHITESPACE").constData()+10), t46fd45.size()-10 }; });
}
struct QtWidgets_PackedString QListWidget_MimeTypesDefault(void* ptr)
{
return ({ QByteArray tc474fd = static_cast<QListWidget*>(ptr)->QListWidget::mimeTypes().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(tc474fd.prepend("WHITESPACE").constData()+10), tc474fd.size()-10 }; });
}
void* QListWidget_ItemWidget(void* ptr, void* item)
{
return static_cast<QListWidget*>(ptr)->itemWidget(static_cast<QListWidgetItem*>(item));
}
long long QListWidget_SupportedDropActions(void* ptr)
{
return static_cast<QListWidget*>(ptr)->supportedDropActions();
}
long long QListWidget_SupportedDropActionsDefault(void* ptr)
{
return static_cast<QListWidget*>(ptr)->QListWidget::supportedDropActions();
}
char QListWidget_IsSortingEnabled(void* ptr)
{
return static_cast<QListWidget*>(ptr)->isSortingEnabled();
}
int QListWidget_Count(void* ptr)
{
return static_cast<QListWidget*>(ptr)->count();
}
int QListWidget_CurrentRow(void* ptr)
{
return static_cast<QListWidget*>(ptr)->currentRow();
}
int QListWidget_Row(void* ptr, void* item)
{
return static_cast<QListWidget*>(ptr)->row(static_cast<QListWidgetItem*>(item));
}
void* QListWidget___findItems_atList(void* ptr, int i)
{
return const_cast<QListWidgetItem*>(static_cast<QList<QListWidgetItem *>*>(ptr)->at(i));
}
void QListWidget___findItems_setList(void* ptr, void* i)
{
static_cast<QList<QListWidgetItem *>*>(ptr)->append(static_cast<QListWidgetItem*>(i));
}
void* QListWidget___findItems_newList(void* ptr)
{
return new QList<QListWidgetItem *>;
}
void* QListWidget___items_atList(void* ptr, int i)
{
return const_cast<QListWidgetItem*>(static_cast<QList<QListWidgetItem *>*>(ptr)->at(i));
}
void QListWidget___items_setList(void* ptr, void* i)
{
static_cast<QList<QListWidgetItem *>*>(ptr)->append(static_cast<QListWidgetItem*>(i));
}
void* QListWidget___items_newList(void* ptr)
{
return new QList<QListWidgetItem *>;
}
void* QListWidget___selectedItems_atList(void* ptr, int i)
{
return const_cast<QListWidgetItem*>(static_cast<QList<QListWidgetItem *>*>(ptr)->at(i));
}
void QListWidget___selectedItems_setList(void* ptr, void* i)
{
static_cast<QList<QListWidgetItem *>*>(ptr)->append(static_cast<QListWidgetItem*>(i));
}
void* QListWidget___selectedItems_newList(void* ptr)
{
return new QList<QListWidgetItem *>;
}
void* QListWidget___mimeData_items_atList(void* ptr, int i)
{
return const_cast<QListWidgetItem*>(static_cast<QList<QListWidgetItem *>*>(ptr)->at(i));
}
void QListWidget___mimeData_items_setList(void* ptr, void* i)
{
static_cast<QList<QListWidgetItem *>*>(ptr)->append(static_cast<QListWidgetItem*>(i));
}
void* QListWidget___mimeData_items_newList(void* ptr)
{
return new QList<QListWidgetItem *>;
}
class MyQListWidgetItem: public QListWidgetItem
{
public:
MyQListWidgetItem(QListWidget *parent, int type) : QListWidgetItem(parent, type) {};
MyQListWidgetItem(const QIcon &icon, const QString &text, QListWidget *parent, int type) : QListWidgetItem(icon, text, parent, type) {};
MyQListWidgetItem(const QString &text, QListWidget *parent, int type) : QListWidgetItem(text, parent, type) {};
MyQListWidgetItem(const QListWidgetItem &other) : QListWidgetItem(other) {};
void read(QDataStream & in) { callbackQListWidgetItem_Read(this, static_cast<QDataStream*>(&in)); };
void setData(int role, const QVariant & value) { callbackQListWidgetItem_SetData(this, role, const_cast<QVariant*>(&value)); };
~MyQListWidgetItem() { callbackQListWidgetItem_DestroyQListWidgetItem(this); };
QListWidgetItem * clone() const { return static_cast<QListWidgetItem*>(callbackQListWidgetItem_Clone(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant data(int role) const { return *static_cast<QVariant*>(callbackQListWidgetItem_Data(const_cast<void*>(static_cast<const void*>(this)), role)); };
void write(QDataStream & out) const { callbackQListWidgetItem_Write(const_cast<void*>(static_cast<const void*>(this)), static_cast<QDataStream*>(&out)); };
};
void* QListWidgetItem_NewQListWidgetItem(void* parent, int ty)
{
return new MyQListWidgetItem(static_cast<QListWidget*>(parent), ty);
}
void* QListWidgetItem_NewQListWidgetItem3(void* icon, char* text, void* parent, int ty)
{
return new MyQListWidgetItem(*static_cast<QIcon*>(icon), QString(text), static_cast<QListWidget*>(parent), ty);
}
void* QListWidgetItem_NewQListWidgetItem2(char* text, void* parent, int ty)
{
return new MyQListWidgetItem(QString(text), static_cast<QListWidget*>(parent), ty);
}
void QListWidgetItem_SetFlags(void* ptr, long long flags)
{
static_cast<QListWidgetItem*>(ptr)->setFlags(static_cast<Qt::ItemFlag>(flags));
}
void* QListWidgetItem_NewQListWidgetItem4(void* other)
{
return new MyQListWidgetItem(*static_cast<QListWidgetItem*>(other));
}
void QListWidgetItem_Read(void* ptr, void* in)
{
static_cast<QListWidgetItem*>(ptr)->read(*static_cast<QDataStream*>(in));
}
void QListWidgetItem_ReadDefault(void* ptr, void* in)
{
static_cast<QListWidgetItem*>(ptr)->QListWidgetItem::read(*static_cast<QDataStream*>(in));
}
void QListWidgetItem_SetBackground(void* ptr, void* brush)
{
static_cast<QListWidgetItem*>(ptr)->setBackground(*static_cast<QBrush*>(brush));
}
void QListWidgetItem_SetCheckState(void* ptr, long long state)
{
static_cast<QListWidgetItem*>(ptr)->setCheckState(static_cast<Qt::CheckState>(state));
}
void QListWidgetItem_SetData(void* ptr, int role, void* value)
{
static_cast<QListWidgetItem*>(ptr)->setData(role, *static_cast<QVariant*>(value));
}
void QListWidgetItem_SetDataDefault(void* ptr, int role, void* value)
{
static_cast<QListWidgetItem*>(ptr)->QListWidgetItem::setData(role, *static_cast<QVariant*>(value));
}
void QListWidgetItem_SetFont(void* ptr, void* font)
{
static_cast<QListWidgetItem*>(ptr)->setFont(*static_cast<QFont*>(font));
}
void QListWidgetItem_SetForeground(void* ptr, void* brush)
{
static_cast<QListWidgetItem*>(ptr)->setForeground(*static_cast<QBrush*>(brush));
}
void QListWidgetItem_SetHidden(void* ptr, char hide)
{
static_cast<QListWidgetItem*>(ptr)->setHidden(hide != 0);
}
void QListWidgetItem_SetIcon(void* ptr, void* icon)
{
static_cast<QListWidgetItem*>(ptr)->setIcon(*static_cast<QIcon*>(icon));
}
void QListWidgetItem_SetSelected(void* ptr, char sele)
{
static_cast<QListWidgetItem*>(ptr)->setSelected(sele != 0);
}
void QListWidgetItem_SetSizeHint(void* ptr, void* size)
{
static_cast<QListWidgetItem*>(ptr)->setSizeHint(*static_cast<QSize*>(size));
}
void QListWidgetItem_SetStatusTip(void* ptr, char* statusTip)
{
static_cast<QListWidgetItem*>(ptr)->setStatusTip(QString(statusTip));
}
void QListWidgetItem_SetText(void* ptr, char* text)
{
static_cast<QListWidgetItem*>(ptr)->setText(QString(text));
}
void QListWidgetItem_SetTextAlignment(void* ptr, int alignment)
{
static_cast<QListWidgetItem*>(ptr)->setTextAlignment(alignment);
}
void QListWidgetItem_SetToolTip(void* ptr, char* toolTip)
{
static_cast<QListWidgetItem*>(ptr)->setToolTip(QString(toolTip));
}
void QListWidgetItem_SetWhatsThis(void* ptr, char* whatsThis)
{
static_cast<QListWidgetItem*>(ptr)->setWhatsThis(QString(whatsThis));
}
void QListWidgetItem_DestroyQListWidgetItem(void* ptr)
{
static_cast<QListWidgetItem*>(ptr)->~QListWidgetItem();
}
void QListWidgetItem_DestroyQListWidgetItemDefault(void* ptr)
{
}
void* QListWidgetItem_Background(void* ptr)
{
return new QBrush(static_cast<QListWidgetItem*>(ptr)->background());
}
void* QListWidgetItem_Foreground(void* ptr)
{
return new QBrush(static_cast<QListWidgetItem*>(ptr)->foreground());
}
void* QListWidgetItem_Font(void* ptr)
{
return new QFont(static_cast<QListWidgetItem*>(ptr)->font());
}
void* QListWidgetItem_Icon(void* ptr)
{
return new QIcon(static_cast<QListWidgetItem*>(ptr)->icon());
}
void* QListWidgetItem_ListWidget(void* ptr)
{
return static_cast<QListWidgetItem*>(ptr)->listWidget();
}
void* QListWidgetItem_Clone(void* ptr)
{
return static_cast<QListWidgetItem*>(ptr)->clone();
}
void* QListWidgetItem_CloneDefault(void* ptr)
{
return static_cast<QListWidgetItem*>(ptr)->QListWidgetItem::clone();
}
void* QListWidgetItem_SizeHint(void* ptr)
{
return ({ QSize tmpValue = static_cast<QListWidgetItem*>(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QListWidgetItem_StatusTip(void* ptr)
{
return ({ QByteArray t97b7ce = static_cast<QListWidgetItem*>(ptr)->statusTip().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t97b7ce.prepend("WHITESPACE").constData()+10), t97b7ce.size()-10 }; });
}
struct QtWidgets_PackedString QListWidgetItem_Text(void* ptr)
{
return ({ QByteArray t3d0f8a = static_cast<QListWidgetItem*>(ptr)->text().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t3d0f8a.prepend("WHITESPACE").constData()+10), t3d0f8a.size()-10 }; });
}
struct QtWidgets_PackedString QListWidgetItem_ToolTip(void* ptr)
{
return ({ QByteArray tc8991e = static_cast<QListWidgetItem*>(ptr)->toolTip().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tc8991e.prepend("WHITESPACE").constData()+10), tc8991e.size()-10 }; });
}
struct QtWidgets_PackedString QListWidgetItem_WhatsThis(void* ptr)
{
return ({ QByteArray tf613a8 = static_cast<QListWidgetItem*>(ptr)->whatsThis().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tf613a8.prepend("WHITESPACE").constData()+10), tf613a8.size()-10 }; });
}
void* QListWidgetItem_Data(void* ptr, int role)
{
return new QVariant(static_cast<QListWidgetItem*>(ptr)->data(role));
}
void* QListWidgetItem_DataDefault(void* ptr, int role)
{
return new QVariant(static_cast<QListWidgetItem*>(ptr)->QListWidgetItem::data(role));
}
long long QListWidgetItem_CheckState(void* ptr)
{
return static_cast<QListWidgetItem*>(ptr)->checkState();
}
long long QListWidgetItem_Flags(void* ptr)
{
return static_cast<QListWidgetItem*>(ptr)->flags();
}
char QListWidgetItem_IsHidden(void* ptr)
{
return static_cast<QListWidgetItem*>(ptr)->isHidden();
}
char QListWidgetItem_IsSelected(void* ptr)
{
return static_cast<QListWidgetItem*>(ptr)->isSelected();
}
int QListWidgetItem_TextAlignment(void* ptr)
{
return static_cast<QListWidgetItem*>(ptr)->textAlignment();
}
int QListWidgetItem_Type(void* ptr)
{
return static_cast<QListWidgetItem*>(ptr)->type();
}
void QListWidgetItem_Write(void* ptr, void* out)
{
static_cast<QListWidgetItem*>(ptr)->write(*static_cast<QDataStream*>(out));
}
void QListWidgetItem_WriteDefault(void* ptr, void* out)
{
static_cast<QListWidgetItem*>(ptr)->QListWidgetItem::write(*static_cast<QDataStream*>(out));
}
class MyQMacCocoaViewContainer: public QMacCocoaViewContainer
{
public:
~MyQMacCocoaViewContainer() { callbackQMacCocoaViewContainer_DestroyQMacCocoaViewContainer(this); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QMacCocoaViewContainer_DestroyQMacCocoaViewContainer(void* ptr)
{
static_cast<QMacCocoaViewContainer*>(ptr)->~QMacCocoaViewContainer();
}
void QMacCocoaViewContainer_DestroyQMacCocoaViewContainerDefault(void* ptr)
{
#ifdef Q_OS_OSX
#endif
}
class MyQMacNativeWidget: public QMacNativeWidget
{
public:
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QMacNativeWidget_DestroyQMacNativeWidget(void* ptr)
{
static_cast<QMacNativeWidget*>(ptr)->~QMacNativeWidget();
}
class MyQMainWindow: public QMainWindow
{
public:
MyQMainWindow(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags) {};
QMenu * createPopupMenu() { return static_cast<QMenu*>(callbackQMainWindow_CreatePopupMenu(this)); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_IconSizeChanged(const QSize & iconSize) { callbackQMainWindow_IconSizeChanged(this, const_cast<QSize*>(&iconSize)); };
void setAnimated(bool enabled) { callbackQMainWindow_SetAnimated(this, enabled); };
void setDockNestingEnabled(bool enabled) { callbackQMainWindow_SetDockNestingEnabled(this, enabled); };
void setUnifiedTitleAndToolBarOnMac(bool set) { callbackQMainWindow_SetUnifiedTitleAndToolBarOnMac(this, set); };
void Signal_TabifiedDockWidgetActivated(QDockWidget * dockWidget) { callbackQMainWindow_TabifiedDockWidgetActivated(this, dockWidget); };
void Signal_ToolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle) { callbackQMainWindow_ToolButtonStyleChanged(this, toolButtonStyle); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QMainWindow_NewQMainWindow(void* parent, long long flags)
{
return new MyQMainWindow(static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(flags));
}
void* QMainWindow_CreatePopupMenu(void* ptr)
{
return static_cast<QMainWindow*>(ptr)->createPopupMenu();
}
void* QMainWindow_CreatePopupMenuDefault(void* ptr)
{
return static_cast<QMainWindow*>(ptr)->QMainWindow::createPopupMenu();
}
void* QMainWindow_AddToolBar3(void* ptr, char* title)
{
return static_cast<QMainWindow*>(ptr)->addToolBar(QString(title));
}
void* QMainWindow_TakeCentralWidget(void* ptr)
{
return static_cast<QMainWindow*>(ptr)->takeCentralWidget();
}
char QMainWindow_RestoreDockWidget(void* ptr, void* dockwidget)
{
return static_cast<QMainWindow*>(ptr)->restoreDockWidget(static_cast<QDockWidget*>(dockwidget));
}
char QMainWindow_RestoreState(void* ptr, void* state, int version)
{
return static_cast<QMainWindow*>(ptr)->restoreState(*static_cast<QByteArray*>(state), version);
}
void QMainWindow_AddDockWidget(void* ptr, long long area, void* dockwidget)
{
static_cast<QMainWindow*>(ptr)->addDockWidget(static_cast<Qt::DockWidgetArea>(area), static_cast<QDockWidget*>(dockwidget));
}
void QMainWindow_AddDockWidget2(void* ptr, long long area, void* dockwidget, long long orientation)
{
static_cast<QMainWindow*>(ptr)->addDockWidget(static_cast<Qt::DockWidgetArea>(area), static_cast<QDockWidget*>(dockwidget), static_cast<Qt::Orientation>(orientation));
}
void QMainWindow_AddToolBar2(void* ptr, void* toolbar)
{
static_cast<QMainWindow*>(ptr)->addToolBar(static_cast<QToolBar*>(toolbar));
}
void QMainWindow_AddToolBar(void* ptr, long long area, void* toolbar)
{
static_cast<QMainWindow*>(ptr)->addToolBar(static_cast<Qt::ToolBarArea>(area), static_cast<QToolBar*>(toolbar));
}
void QMainWindow_AddToolBarBreak(void* ptr, long long area)
{
static_cast<QMainWindow*>(ptr)->addToolBarBreak(static_cast<Qt::ToolBarArea>(area));
}
void QMainWindow_ConnectIconSizeChanged(void* ptr)
{
QObject::connect(static_cast<QMainWindow*>(ptr), static_cast<void (QMainWindow::*)(const QSize &)>(&QMainWindow::iconSizeChanged), static_cast<MyQMainWindow*>(ptr), static_cast<void (MyQMainWindow::*)(const QSize &)>(&MyQMainWindow::Signal_IconSizeChanged));
}
void QMainWindow_DisconnectIconSizeChanged(void* ptr)
{
QObject::disconnect(static_cast<QMainWindow*>(ptr), static_cast<void (QMainWindow::*)(const QSize &)>(&QMainWindow::iconSizeChanged), static_cast<MyQMainWindow*>(ptr), static_cast<void (MyQMainWindow::*)(const QSize &)>(&MyQMainWindow::Signal_IconSizeChanged));
}
void QMainWindow_IconSizeChanged(void* ptr, void* iconSize)
{
static_cast<QMainWindow*>(ptr)->iconSizeChanged(*static_cast<QSize*>(iconSize));
}
void QMainWindow_InsertToolBar(void* ptr, void* before, void* toolbar)
{
static_cast<QMainWindow*>(ptr)->insertToolBar(static_cast<QToolBar*>(before), static_cast<QToolBar*>(toolbar));
}
void QMainWindow_InsertToolBarBreak(void* ptr, void* before)
{
static_cast<QMainWindow*>(ptr)->insertToolBarBreak(static_cast<QToolBar*>(before));
}
void QMainWindow_RemoveDockWidget(void* ptr, void* dockwidget)
{
static_cast<QMainWindow*>(ptr)->removeDockWidget(static_cast<QDockWidget*>(dockwidget));
}
void QMainWindow_RemoveToolBar(void* ptr, void* toolbar)
{
static_cast<QMainWindow*>(ptr)->removeToolBar(static_cast<QToolBar*>(toolbar));
}
void QMainWindow_RemoveToolBarBreak(void* ptr, void* before)
{
static_cast<QMainWindow*>(ptr)->removeToolBarBreak(static_cast<QToolBar*>(before));
}
void QMainWindow_ResizeDocks(void* ptr, void* docks, void* sizes, long long orientation)
{
static_cast<QMainWindow*>(ptr)->resizeDocks(*static_cast<QList<QDockWidget *>*>(docks), *static_cast<QList<int>*>(sizes), static_cast<Qt::Orientation>(orientation));
}
void QMainWindow_SetAnimated(void* ptr, char enabled)
{
QMetaObject::invokeMethod(static_cast<QMainWindow*>(ptr), "setAnimated", Q_ARG(bool, enabled != 0));
}
void QMainWindow_SetAnimatedDefault(void* ptr, char enabled)
{
static_cast<QMainWindow*>(ptr)->QMainWindow::setAnimated(enabled != 0);
}
void QMainWindow_SetCentralWidget(void* ptr, void* widget)
{
static_cast<QMainWindow*>(ptr)->setCentralWidget(static_cast<QWidget*>(widget));
}
void QMainWindow_SetCorner(void* ptr, long long corner, long long area)
{
static_cast<QMainWindow*>(ptr)->setCorner(static_cast<Qt::Corner>(corner), static_cast<Qt::DockWidgetArea>(area));
}
void QMainWindow_SetDockNestingEnabled(void* ptr, char enabled)
{
QMetaObject::invokeMethod(static_cast<QMainWindow*>(ptr), "setDockNestingEnabled", Q_ARG(bool, enabled != 0));
}
void QMainWindow_SetDockNestingEnabledDefault(void* ptr, char enabled)
{
static_cast<QMainWindow*>(ptr)->QMainWindow::setDockNestingEnabled(enabled != 0);
}
void QMainWindow_SetDockOptions(void* ptr, long long options)
{
static_cast<QMainWindow*>(ptr)->setDockOptions(static_cast<QMainWindow::DockOption>(options));
}
void QMainWindow_SetDocumentMode(void* ptr, char enabled)
{
static_cast<QMainWindow*>(ptr)->setDocumentMode(enabled != 0);
}
void QMainWindow_SetIconSize(void* ptr, void* iconSize)
{
static_cast<QMainWindow*>(ptr)->setIconSize(*static_cast<QSize*>(iconSize));
}
void QMainWindow_SetMenuBar(void* ptr, void* menuBar)
{
static_cast<QMainWindow*>(ptr)->setMenuBar(static_cast<QMenuBar*>(menuBar));
}
void QMainWindow_SetMenuWidget(void* ptr, void* menuBar)
{
static_cast<QMainWindow*>(ptr)->setMenuWidget(static_cast<QWidget*>(menuBar));
}
void QMainWindow_SetStatusBar(void* ptr, void* statusbar)
{
static_cast<QMainWindow*>(ptr)->setStatusBar(static_cast<QStatusBar*>(statusbar));
}
void QMainWindow_SetTabPosition(void* ptr, long long areas, long long tabPosition)
{
static_cast<QMainWindow*>(ptr)->setTabPosition(static_cast<Qt::DockWidgetArea>(areas), static_cast<QTabWidget::TabPosition>(tabPosition));
}
void QMainWindow_SetTabShape(void* ptr, long long tabShape)
{
static_cast<QMainWindow*>(ptr)->setTabShape(static_cast<QTabWidget::TabShape>(tabShape));
}
void QMainWindow_SetToolButtonStyle(void* ptr, long long toolButtonStyle)
{
static_cast<QMainWindow*>(ptr)->setToolButtonStyle(static_cast<Qt::ToolButtonStyle>(toolButtonStyle));
}
void QMainWindow_SetUnifiedTitleAndToolBarOnMac(void* ptr, char set)
{
QMetaObject::invokeMethod(static_cast<QMainWindow*>(ptr), "setUnifiedTitleAndToolBarOnMac", Q_ARG(bool, set != 0));
}
void QMainWindow_SetUnifiedTitleAndToolBarOnMacDefault(void* ptr, char set)
{
static_cast<QMainWindow*>(ptr)->QMainWindow::setUnifiedTitleAndToolBarOnMac(set != 0);
}
void QMainWindow_SplitDockWidget(void* ptr, void* first, void* second, long long orientation)
{
static_cast<QMainWindow*>(ptr)->splitDockWidget(static_cast<QDockWidget*>(first), static_cast<QDockWidget*>(second), static_cast<Qt::Orientation>(orientation));
}
void QMainWindow_ConnectTabifiedDockWidgetActivated(void* ptr)
{
QObject::connect(static_cast<QMainWindow*>(ptr), static_cast<void (QMainWindow::*)(QDockWidget *)>(&QMainWindow::tabifiedDockWidgetActivated), static_cast<MyQMainWindow*>(ptr), static_cast<void (MyQMainWindow::*)(QDockWidget *)>(&MyQMainWindow::Signal_TabifiedDockWidgetActivated));
}
void QMainWindow_DisconnectTabifiedDockWidgetActivated(void* ptr)
{
QObject::disconnect(static_cast<QMainWindow*>(ptr), static_cast<void (QMainWindow::*)(QDockWidget *)>(&QMainWindow::tabifiedDockWidgetActivated), static_cast<MyQMainWindow*>(ptr), static_cast<void (MyQMainWindow::*)(QDockWidget *)>(&MyQMainWindow::Signal_TabifiedDockWidgetActivated));
}
void QMainWindow_TabifiedDockWidgetActivated(void* ptr, void* dockWidget)
{
static_cast<QMainWindow*>(ptr)->tabifiedDockWidgetActivated(static_cast<QDockWidget*>(dockWidget));
}
void QMainWindow_TabifyDockWidget(void* ptr, void* first, void* second)
{
static_cast<QMainWindow*>(ptr)->tabifyDockWidget(static_cast<QDockWidget*>(first), static_cast<QDockWidget*>(second));
}
void QMainWindow_ConnectToolButtonStyleChanged(void* ptr)
{
QObject::connect(static_cast<QMainWindow*>(ptr), static_cast<void (QMainWindow::*)(Qt::ToolButtonStyle)>(&QMainWindow::toolButtonStyleChanged), static_cast<MyQMainWindow*>(ptr), static_cast<void (MyQMainWindow::*)(Qt::ToolButtonStyle)>(&MyQMainWindow::Signal_ToolButtonStyleChanged));
}
void QMainWindow_DisconnectToolButtonStyleChanged(void* ptr)
{
QObject::disconnect(static_cast<QMainWindow*>(ptr), static_cast<void (QMainWindow::*)(Qt::ToolButtonStyle)>(&QMainWindow::toolButtonStyleChanged), static_cast<MyQMainWindow*>(ptr), static_cast<void (MyQMainWindow::*)(Qt::ToolButtonStyle)>(&MyQMainWindow::Signal_ToolButtonStyleChanged));
}
void QMainWindow_ToolButtonStyleChanged(void* ptr, long long toolButtonStyle)
{
static_cast<QMainWindow*>(ptr)->toolButtonStyleChanged(static_cast<Qt::ToolButtonStyle>(toolButtonStyle));
}
void QMainWindow_DestroyQMainWindow(void* ptr)
{
static_cast<QMainWindow*>(ptr)->~QMainWindow();
}
long long QMainWindow_DockOptions(void* ptr)
{
return static_cast<QMainWindow*>(ptr)->dockOptions();
}
void* QMainWindow_SaveState(void* ptr, int version)
{
return new QByteArray(static_cast<QMainWindow*>(ptr)->saveState(version));
}
struct QtWidgets_PackedList QMainWindow_TabifiedDockWidgets(void* ptr, void* dockwidget)
{
return ({ QList<QDockWidget *>* tmpValue = new QList<QDockWidget *>(static_cast<QMainWindow*>(ptr)->tabifiedDockWidgets(static_cast<QDockWidget*>(dockwidget))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QMainWindow_MenuBar(void* ptr)
{
return static_cast<QMainWindow*>(ptr)->menuBar();
}
void* QMainWindow_IconSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QMainWindow*>(ptr)->iconSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QMainWindow_StatusBar(void* ptr)
{
return static_cast<QMainWindow*>(ptr)->statusBar();
}
long long QMainWindow_TabPosition(void* ptr, long long area)
{
return static_cast<QMainWindow*>(ptr)->tabPosition(static_cast<Qt::DockWidgetArea>(area));
}
long long QMainWindow_TabShape(void* ptr)
{
return static_cast<QMainWindow*>(ptr)->tabShape();
}
void* QMainWindow_CentralWidget(void* ptr)
{
return static_cast<QMainWindow*>(ptr)->centralWidget();
}
void* QMainWindow_MenuWidget(void* ptr)
{
return static_cast<QMainWindow*>(ptr)->menuWidget();
}
long long QMainWindow_Corner(void* ptr, long long corner)
{
return static_cast<QMainWindow*>(ptr)->corner(static_cast<Qt::Corner>(corner));
}
long long QMainWindow_DockWidgetArea(void* ptr, void* dockwidget)
{
return static_cast<QMainWindow*>(ptr)->dockWidgetArea(static_cast<QDockWidget*>(dockwidget));
}
long long QMainWindow_ToolBarArea(void* ptr, void* toolbar)
{
return static_cast<QMainWindow*>(ptr)->toolBarArea(static_cast<QToolBar*>(toolbar));
}
long long QMainWindow_ToolButtonStyle(void* ptr)
{
return static_cast<QMainWindow*>(ptr)->toolButtonStyle();
}
char QMainWindow_DocumentMode(void* ptr)
{
return static_cast<QMainWindow*>(ptr)->documentMode();
}
char QMainWindow_IsAnimated(void* ptr)
{
return static_cast<QMainWindow*>(ptr)->isAnimated();
}
char QMainWindow_IsDockNestingEnabled(void* ptr)
{
return static_cast<QMainWindow*>(ptr)->isDockNestingEnabled();
}
char QMainWindow_ToolBarBreak(void* ptr, void* toolbar)
{
return static_cast<QMainWindow*>(ptr)->toolBarBreak(static_cast<QToolBar*>(toolbar));
}
char QMainWindow_UnifiedTitleAndToolBarOnMac(void* ptr)
{
return static_cast<QMainWindow*>(ptr)->unifiedTitleAndToolBarOnMac();
}
void* QMainWindow___resizeDocks_docks_atList(void* ptr, int i)
{
return const_cast<QDockWidget*>(static_cast<QList<QDockWidget *>*>(ptr)->at(i));
}
void QMainWindow___resizeDocks_docks_setList(void* ptr, void* i)
{
static_cast<QList<QDockWidget *>*>(ptr)->append(static_cast<QDockWidget*>(i));
}
void* QMainWindow___resizeDocks_docks_newList(void* ptr)
{
return new QList<QDockWidget *>;
}
int QMainWindow___resizeDocks_sizes_atList(void* ptr, int i)
{
return static_cast<QList<int>*>(ptr)->at(i);
}
void QMainWindow___resizeDocks_sizes_setList(void* ptr, int i)
{
static_cast<QList<int>*>(ptr)->append(i);
}
void* QMainWindow___resizeDocks_sizes_newList(void* ptr)
{
return new QList<int>;
}
void* QMainWindow___tabifiedDockWidgets_atList(void* ptr, int i)
{
return const_cast<QDockWidget*>(static_cast<QList<QDockWidget *>*>(ptr)->at(i));
}
void QMainWindow___tabifiedDockWidgets_setList(void* ptr, void* i)
{
static_cast<QList<QDockWidget *>*>(ptr)->append(static_cast<QDockWidget*>(i));
}
void* QMainWindow___tabifiedDockWidgets_newList(void* ptr)
{
return new QList<QDockWidget *>;
}
class MyQMdiArea: public QMdiArea
{
public:
MyQMdiArea(QWidget *parent) : QMdiArea(parent) {};
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void activateNextSubWindow() { callbackQMdiArea_ActivateNextSubWindow(this); };
void activatePreviousSubWindow() { callbackQMdiArea_ActivatePreviousSubWindow(this); };
void cascadeSubWindows() { callbackQMdiArea_CascadeSubWindows(this); };
void closeActiveSubWindow() { callbackQMdiArea_CloseActiveSubWindow(this); };
void closeAllSubWindows() { callbackQMdiArea_CloseAllSubWindows(this); };
void paintEvent(QPaintEvent * paintEvent) { callbackQWidget_PaintEvent(this, paintEvent); };
void resizeEvent(QResizeEvent * resizeEvent) { callbackQWidget_ResizeEvent(this, resizeEvent); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void setActiveSubWindow(QMdiSubWindow * window) { callbackQMdiArea_SetActiveSubWindow(this, window); };
void setupViewport(QWidget * viewport) { callbackQMdiArea_SetupViewport(this, viewport); };
void showEvent(QShowEvent * showEvent) { callbackQWidget_ShowEvent(this, showEvent); };
void Signal_SubWindowActivated(QMdiSubWindow * window) { callbackQMdiArea_SubWindowActivated(this, window); };
void tileSubWindows() { callbackQMdiArea_TileSubWindows(this); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QMdiArea_NewQMdiArea(void* parent)
{
return new MyQMdiArea(static_cast<QWidget*>(parent));
}
void* QMdiArea_AddSubWindow(void* ptr, void* widget, long long windowFlags)
{
return static_cast<QMdiArea*>(ptr)->addSubWindow(static_cast<QWidget*>(widget), static_cast<Qt::WindowType>(windowFlags));
}
void QMdiArea_ActivateNextSubWindow(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QMdiArea*>(ptr), "activateNextSubWindow");
}
void QMdiArea_ActivateNextSubWindowDefault(void* ptr)
{
static_cast<QMdiArea*>(ptr)->QMdiArea::activateNextSubWindow();
}
void QMdiArea_ActivatePreviousSubWindow(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QMdiArea*>(ptr), "activatePreviousSubWindow");
}
void QMdiArea_ActivatePreviousSubWindowDefault(void* ptr)
{
static_cast<QMdiArea*>(ptr)->QMdiArea::activatePreviousSubWindow();
}
void QMdiArea_CascadeSubWindows(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QMdiArea*>(ptr), "cascadeSubWindows");
}
void QMdiArea_CascadeSubWindowsDefault(void* ptr)
{
static_cast<QMdiArea*>(ptr)->QMdiArea::cascadeSubWindows();
}
void QMdiArea_CloseActiveSubWindow(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QMdiArea*>(ptr), "closeActiveSubWindow");
}
void QMdiArea_CloseActiveSubWindowDefault(void* ptr)
{
static_cast<QMdiArea*>(ptr)->QMdiArea::closeActiveSubWindow();
}
void QMdiArea_CloseAllSubWindows(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QMdiArea*>(ptr), "closeAllSubWindows");
}
void QMdiArea_CloseAllSubWindowsDefault(void* ptr)
{
static_cast<QMdiArea*>(ptr)->QMdiArea::closeAllSubWindows();
}
void QMdiArea_RemoveSubWindow(void* ptr, void* widget)
{
static_cast<QMdiArea*>(ptr)->removeSubWindow(static_cast<QWidget*>(widget));
}
void QMdiArea_SetActivationOrder(void* ptr, long long order)
{
static_cast<QMdiArea*>(ptr)->setActivationOrder(static_cast<QMdiArea::WindowOrder>(order));
}
void QMdiArea_SetActiveSubWindow(void* ptr, void* window)
{
QMetaObject::invokeMethod(static_cast<QMdiArea*>(ptr), "setActiveSubWindow", Q_ARG(QMdiSubWindow*, static_cast<QMdiSubWindow*>(window)));
}
void QMdiArea_SetActiveSubWindowDefault(void* ptr, void* window)
{
static_cast<QMdiArea*>(ptr)->QMdiArea::setActiveSubWindow(static_cast<QMdiSubWindow*>(window));
}
void QMdiArea_SetBackground(void* ptr, void* background)
{
static_cast<QMdiArea*>(ptr)->setBackground(*static_cast<QBrush*>(background));
}
void QMdiArea_SetDocumentMode(void* ptr, char enabled)
{
static_cast<QMdiArea*>(ptr)->setDocumentMode(enabled != 0);
}
void QMdiArea_SetOption(void* ptr, long long option, char on)
{
static_cast<QMdiArea*>(ptr)->setOption(static_cast<QMdiArea::AreaOption>(option), on != 0);
}
void QMdiArea_SetTabPosition(void* ptr, long long position)
{
static_cast<QMdiArea*>(ptr)->setTabPosition(static_cast<QTabWidget::TabPosition>(position));
}
void QMdiArea_SetTabShape(void* ptr, long long shape)
{
static_cast<QMdiArea*>(ptr)->setTabShape(static_cast<QTabWidget::TabShape>(shape));
}
void QMdiArea_SetViewMode(void* ptr, long long mode)
{
static_cast<QMdiArea*>(ptr)->setViewMode(static_cast<QMdiArea::ViewMode>(mode));
}
void QMdiArea_SetupViewport(void* ptr, void* viewport)
{
QMetaObject::invokeMethod(static_cast<QMdiArea*>(ptr), "setupViewport", Q_ARG(QWidget*, static_cast<QWidget*>(viewport)));
}
void QMdiArea_SetupViewportDefault(void* ptr, void* viewport)
{
static_cast<QMdiArea*>(ptr)->QMdiArea::setupViewport(static_cast<QWidget*>(viewport));
}
void QMdiArea_ConnectSubWindowActivated(void* ptr)
{
QObject::connect(static_cast<QMdiArea*>(ptr), static_cast<void (QMdiArea::*)(QMdiSubWindow *)>(&QMdiArea::subWindowActivated), static_cast<MyQMdiArea*>(ptr), static_cast<void (MyQMdiArea::*)(QMdiSubWindow *)>(&MyQMdiArea::Signal_SubWindowActivated));
}
void QMdiArea_DisconnectSubWindowActivated(void* ptr)
{
QObject::disconnect(static_cast<QMdiArea*>(ptr), static_cast<void (QMdiArea::*)(QMdiSubWindow *)>(&QMdiArea::subWindowActivated), static_cast<MyQMdiArea*>(ptr), static_cast<void (MyQMdiArea::*)(QMdiSubWindow *)>(&MyQMdiArea::Signal_SubWindowActivated));
}
void QMdiArea_SubWindowActivated(void* ptr, void* window)
{
static_cast<QMdiArea*>(ptr)->subWindowActivated(static_cast<QMdiSubWindow*>(window));
}
void QMdiArea_TileSubWindows(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QMdiArea*>(ptr), "tileSubWindows");
}
void QMdiArea_TileSubWindowsDefault(void* ptr)
{
static_cast<QMdiArea*>(ptr)->QMdiArea::tileSubWindows();
}
void QMdiArea_DestroyQMdiArea(void* ptr)
{
static_cast<QMdiArea*>(ptr)->~QMdiArea();
}
void* QMdiArea_Background(void* ptr)
{
return new QBrush(static_cast<QMdiArea*>(ptr)->background());
}
struct QtWidgets_PackedList QMdiArea_SubWindowList(void* ptr, long long order)
{
return ({ QList<QMdiSubWindow *>* tmpValue = new QList<QMdiSubWindow *>(static_cast<QMdiArea*>(ptr)->subWindowList(static_cast<QMdiArea::WindowOrder>(order))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QMdiArea_ActiveSubWindow(void* ptr)
{
return static_cast<QMdiArea*>(ptr)->activeSubWindow();
}
void* QMdiArea_CurrentSubWindow(void* ptr)
{
return static_cast<QMdiArea*>(ptr)->currentSubWindow();
}
long long QMdiArea_TabPosition(void* ptr)
{
return static_cast<QMdiArea*>(ptr)->tabPosition();
}
long long QMdiArea_TabShape(void* ptr)
{
return static_cast<QMdiArea*>(ptr)->tabShape();
}
long long QMdiArea_ViewMode(void* ptr)
{
return static_cast<QMdiArea*>(ptr)->viewMode();
}
long long QMdiArea_ActivationOrder(void* ptr)
{
return static_cast<QMdiArea*>(ptr)->activationOrder();
}
char QMdiArea_DocumentMode(void* ptr)
{
return static_cast<QMdiArea*>(ptr)->documentMode();
}
char QMdiArea_TestOption(void* ptr, long long option)
{
return static_cast<QMdiArea*>(ptr)->testOption(static_cast<QMdiArea::AreaOption>(option));
}
void* QMdiArea___subWindowList_atList(void* ptr, int i)
{
return const_cast<QMdiSubWindow*>(static_cast<QList<QMdiSubWindow *>*>(ptr)->at(i));
}
void QMdiArea___subWindowList_setList(void* ptr, void* i)
{
static_cast<QList<QMdiSubWindow *>*>(ptr)->append(static_cast<QMdiSubWindow*>(i));
}
void* QMdiArea___subWindowList_newList(void* ptr)
{
return new QList<QMdiSubWindow *>;
}
class MyQMdiSubWindow: public QMdiSubWindow
{
public:
MyQMdiSubWindow(QWidget *parent, Qt::WindowFlags flags) : QMdiSubWindow(parent, flags) {};
void Signal_AboutToActivate() { callbackQMdiSubWindow_AboutToActivate(this); };
void changeEvent(QEvent * changeEvent) { callbackQWidget_ChangeEvent(this, changeEvent); };
void closeEvent(QCloseEvent * closeEvent) { callbackQWidget_CloseEvent(this, closeEvent); };
void contextMenuEvent(QContextMenuEvent * contextMenuEvent) { callbackQWidget_ContextMenuEvent(this, contextMenuEvent); };
void focusInEvent(QFocusEvent * focusInEvent) { callbackQWidget_FocusInEvent(this, focusInEvent); };
void focusOutEvent(QFocusEvent * focusOutEvent) { callbackQWidget_FocusOutEvent(this, focusOutEvent); };
void hideEvent(QHideEvent * hideEvent) { callbackQWidget_HideEvent(this, hideEvent); };
void keyPressEvent(QKeyEvent * keyEvent) { callbackQWidget_KeyPressEvent(this, keyEvent); };
void leaveEvent(QEvent * leaveEvent) { callbackQWidget_LeaveEvent(this, leaveEvent); };
void mouseDoubleClickEvent(QMouseEvent * mouseEvent) { callbackQWidget_MouseDoubleClickEvent(this, mouseEvent); };
void mouseMoveEvent(QMouseEvent * mouseEvent) { callbackQWidget_MouseMoveEvent(this, mouseEvent); };
void mousePressEvent(QMouseEvent * mouseEvent) { callbackQWidget_MousePressEvent(this, mouseEvent); };
void mouseReleaseEvent(QMouseEvent * mouseEvent) { callbackQWidget_MouseReleaseEvent(this, mouseEvent); };
void moveEvent(QMoveEvent * moveEvent) { callbackQWidget_MoveEvent(this, moveEvent); };
void paintEvent(QPaintEvent * paintEvent) { callbackQWidget_PaintEvent(this, paintEvent); };
void resizeEvent(QResizeEvent * resizeEvent) { callbackQWidget_ResizeEvent(this, resizeEvent); };
void showEvent(QShowEvent * showEvent) { callbackQWidget_ShowEvent(this, showEvent); };
void showShaded() { callbackQMdiSubWindow_ShowShaded(this); };
void showSystemMenu() { callbackQMdiSubWindow_ShowSystemMenu(this); };
void Signal_WindowStateChanged(Qt::WindowStates oldState, Qt::WindowStates newState) { callbackQMdiSubWindow_WindowStateChanged(this, oldState, newState); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QMdiSubWindow_NewQMdiSubWindow(void* parent, long long flags)
{
return new MyQMdiSubWindow(static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(flags));
}
void QMdiSubWindow_ConnectAboutToActivate(void* ptr)
{
QObject::connect(static_cast<QMdiSubWindow*>(ptr), static_cast<void (QMdiSubWindow::*)()>(&QMdiSubWindow::aboutToActivate), static_cast<MyQMdiSubWindow*>(ptr), static_cast<void (MyQMdiSubWindow::*)()>(&MyQMdiSubWindow::Signal_AboutToActivate));
}
void QMdiSubWindow_DisconnectAboutToActivate(void* ptr)
{
QObject::disconnect(static_cast<QMdiSubWindow*>(ptr), static_cast<void (QMdiSubWindow::*)()>(&QMdiSubWindow::aboutToActivate), static_cast<MyQMdiSubWindow*>(ptr), static_cast<void (MyQMdiSubWindow::*)()>(&MyQMdiSubWindow::Signal_AboutToActivate));
}
void QMdiSubWindow_AboutToActivate(void* ptr)
{
static_cast<QMdiSubWindow*>(ptr)->aboutToActivate();
}
void QMdiSubWindow_SetKeyboardPageStep(void* ptr, int step)
{
static_cast<QMdiSubWindow*>(ptr)->setKeyboardPageStep(step);
}
void QMdiSubWindow_SetKeyboardSingleStep(void* ptr, int step)
{
static_cast<QMdiSubWindow*>(ptr)->setKeyboardSingleStep(step);
}
void QMdiSubWindow_SetOption(void* ptr, long long option, char on)
{
static_cast<QMdiSubWindow*>(ptr)->setOption(static_cast<QMdiSubWindow::SubWindowOption>(option), on != 0);
}
void QMdiSubWindow_SetSystemMenu(void* ptr, void* systemMenu)
{
static_cast<QMdiSubWindow*>(ptr)->setSystemMenu(static_cast<QMenu*>(systemMenu));
}
void QMdiSubWindow_SetWidget(void* ptr, void* widget)
{
static_cast<QMdiSubWindow*>(ptr)->setWidget(static_cast<QWidget*>(widget));
}
void QMdiSubWindow_ShowShaded(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QMdiSubWindow*>(ptr), "showShaded");
}
void QMdiSubWindow_ShowShadedDefault(void* ptr)
{
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::showShaded();
}
void QMdiSubWindow_ShowSystemMenu(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QMdiSubWindow*>(ptr), "showSystemMenu");
}
void QMdiSubWindow_ShowSystemMenuDefault(void* ptr)
{
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::showSystemMenu();
}
void QMdiSubWindow_ConnectWindowStateChanged(void* ptr)
{
QObject::connect(static_cast<QMdiSubWindow*>(ptr), static_cast<void (QMdiSubWindow::*)(Qt::WindowStates, Qt::WindowStates)>(&QMdiSubWindow::windowStateChanged), static_cast<MyQMdiSubWindow*>(ptr), static_cast<void (MyQMdiSubWindow::*)(Qt::WindowStates, Qt::WindowStates)>(&MyQMdiSubWindow::Signal_WindowStateChanged));
}
void QMdiSubWindow_DisconnectWindowStateChanged(void* ptr)
{
QObject::disconnect(static_cast<QMdiSubWindow*>(ptr), static_cast<void (QMdiSubWindow::*)(Qt::WindowStates, Qt::WindowStates)>(&QMdiSubWindow::windowStateChanged), static_cast<MyQMdiSubWindow*>(ptr), static_cast<void (MyQMdiSubWindow::*)(Qt::WindowStates, Qt::WindowStates)>(&MyQMdiSubWindow::Signal_WindowStateChanged));
}
void QMdiSubWindow_WindowStateChanged(void* ptr, long long oldState, long long newState)
{
static_cast<QMdiSubWindow*>(ptr)->windowStateChanged(static_cast<Qt::WindowState>(oldState), static_cast<Qt::WindowState>(newState));
}
void QMdiSubWindow_DestroyQMdiSubWindow(void* ptr)
{
static_cast<QMdiSubWindow*>(ptr)->~QMdiSubWindow();
}
void* QMdiSubWindow_MdiArea(void* ptr)
{
return static_cast<QMdiSubWindow*>(ptr)->mdiArea();
}
void* QMdiSubWindow_SystemMenu(void* ptr)
{
return static_cast<QMdiSubWindow*>(ptr)->systemMenu();
}
void* QMdiSubWindow_Widget(void* ptr)
{
return static_cast<QMdiSubWindow*>(ptr)->widget();
}
char QMdiSubWindow_IsShaded(void* ptr)
{
return static_cast<QMdiSubWindow*>(ptr)->isShaded();
}
char QMdiSubWindow_TestOption(void* ptr, long long option)
{
return static_cast<QMdiSubWindow*>(ptr)->testOption(static_cast<QMdiSubWindow::SubWindowOption>(option));
}
int QMdiSubWindow_KeyboardPageStep(void* ptr)
{
return static_cast<QMdiSubWindow*>(ptr)->keyboardPageStep();
}
int QMdiSubWindow_KeyboardSingleStep(void* ptr)
{
return static_cast<QMdiSubWindow*>(ptr)->keyboardSingleStep();
}
class MyQMenu: public QMenu
{
public:
MyQMenu(QWidget *parent) : QMenu(parent) {};
MyQMenu(const QString &title, QWidget *parent) : QMenu(title, parent) {};
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
void Signal_AboutToHide() { callbackQMenu_AboutToHide(this); };
void Signal_AboutToShow() { callbackQMenu_AboutToShow(this); };
void actionEvent(QActionEvent * e) { callbackQWidget_ActionEvent(this, e); };
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void enterEvent(QEvent * vqe) { callbackQWidget_EnterEvent(this, vqe); };
void hideEvent(QHideEvent * vqh) { callbackQWidget_HideEvent(this, vqh); };
void Signal_Hovered(QAction * action) { callbackQMenu_Hovered(this, action); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void leaveEvent(QEvent * vqe) { callbackQWidget_LeaveEvent(this, vqe); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); };
void Signal_Triggered(QAction * action) { callbackQMenu_Triggered(this, action); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QMenu_AddAction2(void* ptr, void* icon, char* text)
{
return static_cast<QMenu*>(ptr)->addAction(*static_cast<QIcon*>(icon), QString(text));
}
void* QMenu_AddAction4(void* ptr, void* icon, char* text, void* receiver, char* member, void* shortcut)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(receiver))) {
return static_cast<QMenu*>(ptr)->addAction(*static_cast<QIcon*>(icon), QString(text), static_cast<QGraphicsObject*>(receiver), const_cast<const char*>(member), *static_cast<QKeySequence*>(shortcut));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(receiver))) {
return static_cast<QMenu*>(ptr)->addAction(*static_cast<QIcon*>(icon), QString(text), static_cast<QGraphicsWidget*>(receiver), const_cast<const char*>(member), *static_cast<QKeySequence*>(shortcut));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(receiver))) {
return static_cast<QMenu*>(ptr)->addAction(*static_cast<QIcon*>(icon), QString(text), static_cast<QLayout*>(receiver), const_cast<const char*>(member), *static_cast<QKeySequence*>(shortcut));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(receiver))) {
return static_cast<QMenu*>(ptr)->addAction(*static_cast<QIcon*>(icon), QString(text), static_cast<QWidget*>(receiver), const_cast<const char*>(member), *static_cast<QKeySequence*>(shortcut));
} else {
return static_cast<QMenu*>(ptr)->addAction(*static_cast<QIcon*>(icon), QString(text), static_cast<QObject*>(receiver), const_cast<const char*>(member), *static_cast<QKeySequence*>(shortcut));
}
}
void* QMenu_AddAction(void* ptr, char* text)
{
return static_cast<QMenu*>(ptr)->addAction(QString(text));
}
void* QMenu_AddAction3(void* ptr, char* text, void* receiver, char* member, void* shortcut)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(receiver))) {
return static_cast<QMenu*>(ptr)->addAction(QString(text), static_cast<QGraphicsObject*>(receiver), const_cast<const char*>(member), *static_cast<QKeySequence*>(shortcut));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(receiver))) {
return static_cast<QMenu*>(ptr)->addAction(QString(text), static_cast<QGraphicsWidget*>(receiver), const_cast<const char*>(member), *static_cast<QKeySequence*>(shortcut));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(receiver))) {
return static_cast<QMenu*>(ptr)->addAction(QString(text), static_cast<QLayout*>(receiver), const_cast<const char*>(member), *static_cast<QKeySequence*>(shortcut));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(receiver))) {
return static_cast<QMenu*>(ptr)->addAction(QString(text), static_cast<QWidget*>(receiver), const_cast<const char*>(member), *static_cast<QKeySequence*>(shortcut));
} else {
return static_cast<QMenu*>(ptr)->addAction(QString(text), static_cast<QObject*>(receiver), const_cast<const char*>(member), *static_cast<QKeySequence*>(shortcut));
}
}
void* QMenu_AddMenu(void* ptr, void* menu)
{
return static_cast<QMenu*>(ptr)->addMenu(static_cast<QMenu*>(menu));
}
void* QMenu_AddSection2(void* ptr, void* icon, char* text)
{
return static_cast<QMenu*>(ptr)->addSection(*static_cast<QIcon*>(icon), QString(text));
}
void* QMenu_AddSection(void* ptr, char* text)
{
return static_cast<QMenu*>(ptr)->addSection(QString(text));
}
void* QMenu_AddSeparator(void* ptr)
{
return static_cast<QMenu*>(ptr)->addSeparator();
}
void* QMenu_Exec(void* ptr)
{
return static_cast<QMenu*>(ptr)->exec();
}
void* QMenu_QMenu_Exec3(void* actions, void* pos, void* at, void* parent)
{
return QMenu::exec(*static_cast<QList<QAction *>*>(actions), *static_cast<QPoint*>(pos), static_cast<QAction*>(at), static_cast<QWidget*>(parent));
}
void* QMenu_Exec2(void* ptr, void* p, void* action)
{
return static_cast<QMenu*>(ptr)->exec(*static_cast<QPoint*>(p), static_cast<QAction*>(action));
}
void* QMenu_InsertMenu(void* ptr, void* before, void* menu)
{
return static_cast<QMenu*>(ptr)->insertMenu(static_cast<QAction*>(before), static_cast<QMenu*>(menu));
}
void* QMenu_InsertSection2(void* ptr, void* before, void* icon, char* text)
{
return static_cast<QMenu*>(ptr)->insertSection(static_cast<QAction*>(before), *static_cast<QIcon*>(icon), QString(text));
}
void* QMenu_InsertSection(void* ptr, void* before, char* text)
{
return static_cast<QMenu*>(ptr)->insertSection(static_cast<QAction*>(before), QString(text));
}
void* QMenu_InsertSeparator(void* ptr, void* before)
{
return static_cast<QMenu*>(ptr)->insertSeparator(static_cast<QAction*>(before));
}
void* QMenu_AddMenu3(void* ptr, void* icon, char* title)
{
return static_cast<QMenu*>(ptr)->addMenu(*static_cast<QIcon*>(icon), QString(title));
}
void* QMenu_AddMenu2(void* ptr, char* title)
{
return static_cast<QMenu*>(ptr)->addMenu(QString(title));
}
void* QMenu_NewQMenu(void* parent)
{
return new MyQMenu(static_cast<QWidget*>(parent));
}
void* QMenu_NewQMenu2(char* title, void* parent)
{
return new MyQMenu(QString(title), static_cast<QWidget*>(parent));
}
void QMenu_ConnectAboutToHide(void* ptr)
{
QObject::connect(static_cast<QMenu*>(ptr), static_cast<void (QMenu::*)()>(&QMenu::aboutToHide), static_cast<MyQMenu*>(ptr), static_cast<void (MyQMenu::*)()>(&MyQMenu::Signal_AboutToHide));
}
void QMenu_DisconnectAboutToHide(void* ptr)
{
QObject::disconnect(static_cast<QMenu*>(ptr), static_cast<void (QMenu::*)()>(&QMenu::aboutToHide), static_cast<MyQMenu*>(ptr), static_cast<void (MyQMenu::*)()>(&MyQMenu::Signal_AboutToHide));
}
void QMenu_AboutToHide(void* ptr)
{
static_cast<QMenu*>(ptr)->aboutToHide();
}
void QMenu_ConnectAboutToShow(void* ptr)
{
QObject::connect(static_cast<QMenu*>(ptr), static_cast<void (QMenu::*)()>(&QMenu::aboutToShow), static_cast<MyQMenu*>(ptr), static_cast<void (MyQMenu::*)()>(&MyQMenu::Signal_AboutToShow));
}
void QMenu_DisconnectAboutToShow(void* ptr)
{
QObject::disconnect(static_cast<QMenu*>(ptr), static_cast<void (QMenu::*)()>(&QMenu::aboutToShow), static_cast<MyQMenu*>(ptr), static_cast<void (MyQMenu::*)()>(&MyQMenu::Signal_AboutToShow));
}
void QMenu_AboutToShow(void* ptr)
{
static_cast<QMenu*>(ptr)->aboutToShow();
}
void QMenu_Clear(void* ptr)
{
static_cast<QMenu*>(ptr)->clear();
}
void QMenu_HideTearOffMenu(void* ptr)
{
static_cast<QMenu*>(ptr)->hideTearOffMenu();
}
void QMenu_ConnectHovered(void* ptr)
{
QObject::connect(static_cast<QMenu*>(ptr), static_cast<void (QMenu::*)(QAction *)>(&QMenu::hovered), static_cast<MyQMenu*>(ptr), static_cast<void (MyQMenu::*)(QAction *)>(&MyQMenu::Signal_Hovered));
}
void QMenu_DisconnectHovered(void* ptr)
{
QObject::disconnect(static_cast<QMenu*>(ptr), static_cast<void (QMenu::*)(QAction *)>(&QMenu::hovered), static_cast<MyQMenu*>(ptr), static_cast<void (MyQMenu::*)(QAction *)>(&MyQMenu::Signal_Hovered));
}
void QMenu_Hovered(void* ptr, void* action)
{
static_cast<QMenu*>(ptr)->hovered(static_cast<QAction*>(action));
}
void QMenu_Popup(void* ptr, void* p, void* atAction)
{
static_cast<QMenu*>(ptr)->popup(*static_cast<QPoint*>(p), static_cast<QAction*>(atAction));
}
void QMenu_SetActiveAction(void* ptr, void* act)
{
static_cast<QMenu*>(ptr)->setActiveAction(static_cast<QAction*>(act));
}
void QMenu_SetAsDockMenu(void* ptr)
{
#ifdef Q_OS_OSX
static_cast<QMenu*>(ptr)->setAsDockMenu();
#endif
}
void QMenu_SetDefaultAction(void* ptr, void* act)
{
static_cast<QMenu*>(ptr)->setDefaultAction(static_cast<QAction*>(act));
}
void QMenu_SetIcon(void* ptr, void* icon)
{
static_cast<QMenu*>(ptr)->setIcon(*static_cast<QIcon*>(icon));
}
void QMenu_SetSeparatorsCollapsible(void* ptr, char collapse)
{
static_cast<QMenu*>(ptr)->setSeparatorsCollapsible(collapse != 0);
}
void QMenu_SetTearOffEnabled(void* ptr, char vbo)
{
static_cast<QMenu*>(ptr)->setTearOffEnabled(vbo != 0);
}
void QMenu_SetTitle(void* ptr, char* title)
{
static_cast<QMenu*>(ptr)->setTitle(QString(title));
}
void QMenu_SetToolTipsVisible(void* ptr, char visible)
{
static_cast<QMenu*>(ptr)->setToolTipsVisible(visible != 0);
}
void QMenu_ShowTearOffMenu2(void* ptr)
{
static_cast<QMenu*>(ptr)->showTearOffMenu();
}
void QMenu_ShowTearOffMenu(void* ptr, void* pos)
{
static_cast<QMenu*>(ptr)->showTearOffMenu(*static_cast<QPoint*>(pos));
}
void QMenu_ConnectTriggered(void* ptr)
{
QObject::connect(static_cast<QMenu*>(ptr), static_cast<void (QMenu::*)(QAction *)>(&QMenu::triggered), static_cast<MyQMenu*>(ptr), static_cast<void (MyQMenu::*)(QAction *)>(&MyQMenu::Signal_Triggered));
}
void QMenu_DisconnectTriggered(void* ptr)
{
QObject::disconnect(static_cast<QMenu*>(ptr), static_cast<void (QMenu::*)(QAction *)>(&QMenu::triggered), static_cast<MyQMenu*>(ptr), static_cast<void (MyQMenu::*)(QAction *)>(&MyQMenu::Signal_Triggered));
}
void QMenu_Triggered(void* ptr, void* action)
{
static_cast<QMenu*>(ptr)->triggered(static_cast<QAction*>(action));
}
void QMenu_DestroyQMenu(void* ptr)
{
static_cast<QMenu*>(ptr)->~QMenu();
}
void* QMenu_ActionAt(void* ptr, void* pt)
{
return static_cast<QMenu*>(ptr)->actionAt(*static_cast<QPoint*>(pt));
}
void* QMenu_ActiveAction(void* ptr)
{
return static_cast<QMenu*>(ptr)->activeAction();
}
void* QMenu_DefaultAction(void* ptr)
{
return static_cast<QMenu*>(ptr)->defaultAction();
}
void* QMenu_MenuAction(void* ptr)
{
return static_cast<QMenu*>(ptr)->menuAction();
}
void* QMenu_Icon(void* ptr)
{
return new QIcon(static_cast<QMenu*>(ptr)->icon());
}
void* QMenu_ActionGeometry(void* ptr, void* act)
{
return ({ QRect tmpValue = static_cast<QMenu*>(ptr)->actionGeometry(static_cast<QAction*>(act)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QMenu_Title(void* ptr)
{
return ({ QByteArray tbbbdf8 = static_cast<QMenu*>(ptr)->title().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tbbbdf8.prepend("WHITESPACE").constData()+10), tbbbdf8.size()-10 }; });
}
char QMenu_IsEmpty(void* ptr)
{
return static_cast<QMenu*>(ptr)->isEmpty();
}
char QMenu_IsTearOffEnabled(void* ptr)
{
return static_cast<QMenu*>(ptr)->isTearOffEnabled();
}
char QMenu_IsTearOffMenuVisible(void* ptr)
{
return static_cast<QMenu*>(ptr)->isTearOffMenuVisible();
}
char QMenu_SeparatorsCollapsible(void* ptr)
{
return static_cast<QMenu*>(ptr)->separatorsCollapsible();
}
char QMenu_ToolTipsVisible(void* ptr)
{
return static_cast<QMenu*>(ptr)->toolTipsVisible();
}
int QMenu_ColumnCount(void* ptr)
{
return static_cast<QMenu*>(ptr)->columnCount();
}
void QMenu_InitStyleOption(void* ptr, void* option, void* action)
{
static_cast<QMenu*>(ptr)->initStyleOption(static_cast<QStyleOptionMenuItem*>(option), static_cast<QAction*>(action));
}
void* QMenu___exec_actions_atList3(void* ptr, int i)
{
return const_cast<QAction*>(static_cast<QList<QAction *>*>(ptr)->at(i));
}
void QMenu___exec_actions_setList3(void* ptr, void* i)
{
static_cast<QList<QAction *>*>(ptr)->append(static_cast<QAction*>(i));
}
void* QMenu___exec_actions_newList3(void* ptr)
{
return new QList<QAction *>;
}
class MyQMenuBar: public QMenuBar
{
public:
MyQMenuBar(QWidget *parent) : QMenuBar(parent) {};
void actionEvent(QActionEvent * e) { callbackQWidget_ActionEvent(this, e); };
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void focusInEvent(QFocusEvent * vqf) { callbackQWidget_FocusInEvent(this, vqf); };
void focusOutEvent(QFocusEvent * vqf) { callbackQWidget_FocusOutEvent(this, vqf); };
void Signal_Hovered(QAction * action) { callbackQMenuBar_Hovered(this, action); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void leaveEvent(QEvent * vqe) { callbackQWidget_LeaveEvent(this, vqe); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); };
void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void Signal_Triggered(QAction * action) { callbackQMenuBar_Triggered(this, action); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
int heightForWidth(int vin) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), vin); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QMenuBar_AddAction(void* ptr, char* text)
{
return static_cast<QMenuBar*>(ptr)->addAction(QString(text));
}
void* QMenuBar_AddAction2(void* ptr, char* text, void* receiver, char* member)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(receiver))) {
return static_cast<QMenuBar*>(ptr)->addAction(QString(text), static_cast<QGraphicsObject*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(receiver))) {
return static_cast<QMenuBar*>(ptr)->addAction(QString(text), static_cast<QGraphicsWidget*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(receiver))) {
return static_cast<QMenuBar*>(ptr)->addAction(QString(text), static_cast<QLayout*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(receiver))) {
return static_cast<QMenuBar*>(ptr)->addAction(QString(text), static_cast<QWidget*>(receiver), const_cast<const char*>(member));
} else {
return static_cast<QMenuBar*>(ptr)->addAction(QString(text), static_cast<QObject*>(receiver), const_cast<const char*>(member));
}
}
void* QMenuBar_AddMenu(void* ptr, void* menu)
{
return static_cast<QMenuBar*>(ptr)->addMenu(static_cast<QMenu*>(menu));
}
void* QMenuBar_AddSeparator(void* ptr)
{
return static_cast<QMenuBar*>(ptr)->addSeparator();
}
void* QMenuBar_InsertMenu(void* ptr, void* before, void* menu)
{
return static_cast<QMenuBar*>(ptr)->insertMenu(static_cast<QAction*>(before), static_cast<QMenu*>(menu));
}
void* QMenuBar_InsertSeparator(void* ptr, void* before)
{
return static_cast<QMenuBar*>(ptr)->insertSeparator(static_cast<QAction*>(before));
}
void* QMenuBar_AddMenu3(void* ptr, void* icon, char* title)
{
return static_cast<QMenuBar*>(ptr)->addMenu(*static_cast<QIcon*>(icon), QString(title));
}
void* QMenuBar_AddMenu2(void* ptr, char* title)
{
return static_cast<QMenuBar*>(ptr)->addMenu(QString(title));
}
void* QMenuBar_NewQMenuBar(void* parent)
{
return new MyQMenuBar(static_cast<QWidget*>(parent));
}
void QMenuBar_Clear(void* ptr)
{
static_cast<QMenuBar*>(ptr)->clear();
}
void QMenuBar_ConnectHovered(void* ptr)
{
QObject::connect(static_cast<QMenuBar*>(ptr), static_cast<void (QMenuBar::*)(QAction *)>(&QMenuBar::hovered), static_cast<MyQMenuBar*>(ptr), static_cast<void (MyQMenuBar::*)(QAction *)>(&MyQMenuBar::Signal_Hovered));
}
void QMenuBar_DisconnectHovered(void* ptr)
{
QObject::disconnect(static_cast<QMenuBar*>(ptr), static_cast<void (QMenuBar::*)(QAction *)>(&QMenuBar::hovered), static_cast<MyQMenuBar*>(ptr), static_cast<void (MyQMenuBar::*)(QAction *)>(&MyQMenuBar::Signal_Hovered));
}
void QMenuBar_Hovered(void* ptr, void* action)
{
static_cast<QMenuBar*>(ptr)->hovered(static_cast<QAction*>(action));
}
void QMenuBar_SetActiveAction(void* ptr, void* act)
{
static_cast<QMenuBar*>(ptr)->setActiveAction(static_cast<QAction*>(act));
}
void QMenuBar_SetCornerWidget(void* ptr, void* widget, long long corner)
{
static_cast<QMenuBar*>(ptr)->setCornerWidget(static_cast<QWidget*>(widget), static_cast<Qt::Corner>(corner));
}
void QMenuBar_SetDefaultUp(void* ptr, char vbo)
{
static_cast<QMenuBar*>(ptr)->setDefaultUp(vbo != 0);
}
void QMenuBar_SetNativeMenuBar(void* ptr, char nativeMenuBar)
{
static_cast<QMenuBar*>(ptr)->setNativeMenuBar(nativeMenuBar != 0);
}
void QMenuBar_ConnectTriggered(void* ptr)
{
QObject::connect(static_cast<QMenuBar*>(ptr), static_cast<void (QMenuBar::*)(QAction *)>(&QMenuBar::triggered), static_cast<MyQMenuBar*>(ptr), static_cast<void (MyQMenuBar::*)(QAction *)>(&MyQMenuBar::Signal_Triggered));
}
void QMenuBar_DisconnectTriggered(void* ptr)
{
QObject::disconnect(static_cast<QMenuBar*>(ptr), static_cast<void (QMenuBar::*)(QAction *)>(&QMenuBar::triggered), static_cast<MyQMenuBar*>(ptr), static_cast<void (MyQMenuBar::*)(QAction *)>(&MyQMenuBar::Signal_Triggered));
}
void QMenuBar_Triggered(void* ptr, void* action)
{
static_cast<QMenuBar*>(ptr)->triggered(static_cast<QAction*>(action));
}
void QMenuBar_DestroyQMenuBar(void* ptr)
{
static_cast<QMenuBar*>(ptr)->~QMenuBar();
}
void* QMenuBar_ActionAt(void* ptr, void* pt)
{
return static_cast<QMenuBar*>(ptr)->actionAt(*static_cast<QPoint*>(pt));
}
void* QMenuBar_ActiveAction(void* ptr)
{
return static_cast<QMenuBar*>(ptr)->activeAction();
}
void* QMenuBar_ActionGeometry(void* ptr, void* act)
{
return ({ QRect tmpValue = static_cast<QMenuBar*>(ptr)->actionGeometry(static_cast<QAction*>(act)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QMenuBar_CornerWidget(void* ptr, long long corner)
{
return static_cast<QMenuBar*>(ptr)->cornerWidget(static_cast<Qt::Corner>(corner));
}
char QMenuBar_IsDefaultUp(void* ptr)
{
return static_cast<QMenuBar*>(ptr)->isDefaultUp();
}
char QMenuBar_IsNativeMenuBar(void* ptr)
{
return static_cast<QMenuBar*>(ptr)->isNativeMenuBar();
}
void QMenuBar_InitStyleOption(void* ptr, void* option, void* action)
{
static_cast<QMenuBar*>(ptr)->initStyleOption(static_cast<QStyleOptionMenuItem*>(option), static_cast<QAction*>(action));
}
class MyQMessageBox: public QMessageBox
{
public:
MyQMessageBox(Icon icon, const QString &title, const QString &text, StandardButtons buttons, QWidget *parent, Qt::WindowFlags f) : QMessageBox(icon, title, text, buttons, parent, f) {};
MyQMessageBox(QWidget *parent) : QMessageBox(parent) {};
int exec() { return callbackQDialog_Exec(this); };
void Signal_ButtonClicked(QAbstractButton * button) { callbackQMessageBox_ButtonClicked(this, button); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void showEvent(QShowEvent * e) { callbackQWidget_ShowEvent(this, e); };
void accept() { callbackQDialog_Accept(this); };
void Signal_Accepted() { callbackQDialog_Accepted(this); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void done(int r) { callbackQDialog_Done(this, r); };
void Signal_Finished(int result) { callbackQDialog_Finished(this, result); };
void open() { callbackQDialog_Open(this); };
void reject() { callbackQDialog_Reject(this); };
void Signal_Rejected() { callbackQDialog_Rejected(this); };
void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
int QMessageBox_ButtonMask_Type()
{
return QMessageBox::ButtonMask;
}
void* QMessageBox_NewQMessageBox2(long long icon, char* title, char* text, long long buttons, void* parent, long long fo)
{
return new MyQMessageBox(static_cast<QMessageBox::Icon>(icon), QString(title), QString(text), static_cast<QMessageBox::StandardButton>(buttons), static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(fo));
}
void* QMessageBox_NewQMessageBox(void* parent)
{
return new MyQMessageBox(static_cast<QWidget*>(parent));
}
void* QMessageBox_AddButton3(void* ptr, long long button)
{
return static_cast<QMessageBox*>(ptr)->addButton(static_cast<QMessageBox::StandardButton>(button));
}
void* QMessageBox_AddButton2(void* ptr, char* text, long long role)
{
return static_cast<QMessageBox*>(ptr)->addButton(QString(text), static_cast<QMessageBox::ButtonRole>(role));
}
long long QMessageBox_QMessageBox_Critical(void* parent, char* title, char* text, long long buttons, long long defaultButton)
{
return QMessageBox::critical(static_cast<QWidget*>(parent), QString(title), QString(text), static_cast<QMessageBox::StandardButton>(buttons), static_cast<QMessageBox::StandardButton>(defaultButton));
}
long long QMessageBox_QMessageBox_Information(void* parent, char* title, char* text, long long buttons, long long defaultButton)
{
return QMessageBox::information(static_cast<QWidget*>(parent), QString(title), QString(text), static_cast<QMessageBox::StandardButton>(buttons), static_cast<QMessageBox::StandardButton>(defaultButton));
}
long long QMessageBox_QMessageBox_Question(void* parent, char* title, char* text, long long buttons, long long defaultButton)
{
return QMessageBox::question(static_cast<QWidget*>(parent), QString(title), QString(text), static_cast<QMessageBox::StandardButton>(buttons), static_cast<QMessageBox::StandardButton>(defaultButton));
}
long long QMessageBox_QMessageBox_Warning(void* parent, char* title, char* text, long long buttons, long long defaultButton)
{
return QMessageBox::warning(static_cast<QWidget*>(parent), QString(title), QString(text), static_cast<QMessageBox::StandardButton>(buttons), static_cast<QMessageBox::StandardButton>(defaultButton));
}
void QMessageBox_QMessageBox_About(void* parent, char* title, char* text)
{
QMessageBox::about(static_cast<QWidget*>(parent), QString(title), QString(text));
}
void QMessageBox_QMessageBox_AboutQt(void* parent, char* title)
{
QMessageBox::aboutQt(static_cast<QWidget*>(parent), QString(title));
}
void QMessageBox_AddButton(void* ptr, void* button, long long role)
{
static_cast<QMessageBox*>(ptr)->addButton(static_cast<QAbstractButton*>(button), static_cast<QMessageBox::ButtonRole>(role));
}
void QMessageBox_ConnectButtonClicked(void* ptr)
{
QObject::connect(static_cast<QMessageBox*>(ptr), static_cast<void (QMessageBox::*)(QAbstractButton *)>(&QMessageBox::buttonClicked), static_cast<MyQMessageBox*>(ptr), static_cast<void (MyQMessageBox::*)(QAbstractButton *)>(&MyQMessageBox::Signal_ButtonClicked));
}
void QMessageBox_DisconnectButtonClicked(void* ptr)
{
QObject::disconnect(static_cast<QMessageBox*>(ptr), static_cast<void (QMessageBox::*)(QAbstractButton *)>(&QMessageBox::buttonClicked), static_cast<MyQMessageBox*>(ptr), static_cast<void (MyQMessageBox::*)(QAbstractButton *)>(&MyQMessageBox::Signal_ButtonClicked));
}
void QMessageBox_ButtonClicked(void* ptr, void* button)
{
static_cast<QMessageBox*>(ptr)->buttonClicked(static_cast<QAbstractButton*>(button));
}
void QMessageBox_Open(void* ptr, void* receiver, char* member)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(receiver))) {
static_cast<QMessageBox*>(ptr)->open(static_cast<QGraphicsObject*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(receiver))) {
static_cast<QMessageBox*>(ptr)->open(static_cast<QGraphicsWidget*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(receiver))) {
static_cast<QMessageBox*>(ptr)->open(static_cast<QLayout*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(receiver))) {
static_cast<QMessageBox*>(ptr)->open(static_cast<QWidget*>(receiver), const_cast<const char*>(member));
} else {
static_cast<QMessageBox*>(ptr)->open(static_cast<QObject*>(receiver), const_cast<const char*>(member));
}
}
void QMessageBox_RemoveButton(void* ptr, void* button)
{
static_cast<QMessageBox*>(ptr)->removeButton(static_cast<QAbstractButton*>(button));
}
void QMessageBox_SetCheckBox(void* ptr, void* cb)
{
static_cast<QMessageBox*>(ptr)->setCheckBox(static_cast<QCheckBox*>(cb));
}
void QMessageBox_SetDefaultButton(void* ptr, void* button)
{
static_cast<QMessageBox*>(ptr)->setDefaultButton(static_cast<QPushButton*>(button));
}
void QMessageBox_SetDefaultButton2(void* ptr, long long button)
{
static_cast<QMessageBox*>(ptr)->setDefaultButton(static_cast<QMessageBox::StandardButton>(button));
}
void QMessageBox_SetDetailedText(void* ptr, char* text)
{
static_cast<QMessageBox*>(ptr)->setDetailedText(QString(text));
}
void QMessageBox_SetEscapeButton(void* ptr, void* button)
{
static_cast<QMessageBox*>(ptr)->setEscapeButton(static_cast<QAbstractButton*>(button));
}
void QMessageBox_SetEscapeButton2(void* ptr, long long button)
{
static_cast<QMessageBox*>(ptr)->setEscapeButton(static_cast<QMessageBox::StandardButton>(button));
}
void QMessageBox_SetIcon(void* ptr, long long vic)
{
static_cast<QMessageBox*>(ptr)->setIcon(static_cast<QMessageBox::Icon>(vic));
}
void QMessageBox_SetIconPixmap(void* ptr, void* pixmap)
{
static_cast<QMessageBox*>(ptr)->setIconPixmap(*static_cast<QPixmap*>(pixmap));
}
void QMessageBox_SetInformativeText(void* ptr, char* text)
{
static_cast<QMessageBox*>(ptr)->setInformativeText(QString(text));
}
void QMessageBox_SetStandardButtons(void* ptr, long long buttons)
{
static_cast<QMessageBox*>(ptr)->setStandardButtons(static_cast<QMessageBox::StandardButton>(buttons));
}
void QMessageBox_SetText(void* ptr, char* text)
{
static_cast<QMessageBox*>(ptr)->setText(QString(text));
}
void QMessageBox_SetTextFormat(void* ptr, long long format)
{
static_cast<QMessageBox*>(ptr)->setTextFormat(static_cast<Qt::TextFormat>(format));
}
void QMessageBox_SetTextInteractionFlags(void* ptr, long long flags)
{
static_cast<QMessageBox*>(ptr)->setTextInteractionFlags(static_cast<Qt::TextInteractionFlag>(flags));
}
long long QMessageBox_Icon(void* ptr)
{
return static_cast<QMessageBox*>(ptr)->icon();
}
void* QMessageBox_IconPixmap(void* ptr)
{
return new QPixmap(static_cast<QMessageBox*>(ptr)->iconPixmap());
}
struct QtWidgets_PackedString QMessageBox_DetailedText(void* ptr)
{
return ({ QByteArray t9d0340 = static_cast<QMessageBox*>(ptr)->detailedText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t9d0340.prepend("WHITESPACE").constData()+10), t9d0340.size()-10 }; });
}
struct QtWidgets_PackedString QMessageBox_InformativeText(void* ptr)
{
return ({ QByteArray t0d44bc = static_cast<QMessageBox*>(ptr)->informativeText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t0d44bc.prepend("WHITESPACE").constData()+10), t0d44bc.size()-10 }; });
}
struct QtWidgets_PackedString QMessageBox_Text(void* ptr)
{
return ({ QByteArray te2bb59 = static_cast<QMessageBox*>(ptr)->text().toUtf8(); QtWidgets_PackedString { const_cast<char*>(te2bb59.prepend("WHITESPACE").constData()+10), te2bb59.size()-10 }; });
}
long long QMessageBox_TextFormat(void* ptr)
{
return static_cast<QMessageBox*>(ptr)->textFormat();
}
long long QMessageBox_TextInteractionFlags(void* ptr)
{
return static_cast<QMessageBox*>(ptr)->textInteractionFlags();
}
long long QMessageBox_StandardButtons(void* ptr)
{
return static_cast<QMessageBox*>(ptr)->standardButtons();
}
void QMessageBox_SetWindowTitle(void* ptr, char* title)
{
static_cast<QMessageBox*>(ptr)->setWindowTitle(QString(title));
}
void QMessageBox_DestroyQMessageBox(void* ptr)
{
static_cast<QMessageBox*>(ptr)->~QMessageBox();
}
long long QMessageBox_ButtonRole(void* ptr, void* button)
{
return static_cast<QMessageBox*>(ptr)->buttonRole(static_cast<QAbstractButton*>(button));
}
void* QMessageBox_Button(void* ptr, long long which)
{
return static_cast<QMessageBox*>(ptr)->button(static_cast<QMessageBox::StandardButton>(which));
}
void* QMessageBox_ClickedButton(void* ptr)
{
return static_cast<QMessageBox*>(ptr)->clickedButton();
}
void* QMessageBox_EscapeButton(void* ptr)
{
return static_cast<QMessageBox*>(ptr)->escapeButton();
}
void* QMessageBox_CheckBox(void* ptr)
{
return static_cast<QMessageBox*>(ptr)->checkBox();
}
struct QtWidgets_PackedList QMessageBox_Buttons(void* ptr)
{
return ({ QList<QAbstractButton *>* tmpValue = new QList<QAbstractButton *>(static_cast<QMessageBox*>(ptr)->buttons()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QMessageBox_DefaultButton(void* ptr)
{
return static_cast<QMessageBox*>(ptr)->defaultButton();
}
long long QMessageBox_StandardButton(void* ptr, void* button)
{
return static_cast<QMessageBox*>(ptr)->standardButton(static_cast<QAbstractButton*>(button));
}
void* QMessageBox___buttons_atList(void* ptr, int i)
{
return const_cast<QAbstractButton*>(static_cast<QList<QAbstractButton *>*>(ptr)->at(i));
}
void QMessageBox___buttons_setList(void* ptr, void* i)
{
static_cast<QList<QAbstractButton *>*>(ptr)->append(static_cast<QAbstractButton*>(i));
}
void* QMessageBox___buttons_newList(void* ptr)
{
return new QList<QAbstractButton *>;
}
class MyQMouseEventTransition: public QMouseEventTransition
{
public:
MyQMouseEventTransition(QObject *object, QEvent::Type type, Qt::MouseButton button, QState *sourceState) : QMouseEventTransition(object, type, button, sourceState) {};
MyQMouseEventTransition(QState *sourceState) : QMouseEventTransition(sourceState) {};
bool eventTest(QEvent * event) { return callbackQMouseEventTransition_EventTest(this, event) != 0; };
void onTransition(QEvent * event) { callbackQMouseEventTransition_OnTransition(this, event); };
bool event(QEvent * e) { return callbackQMouseEventTransition_Event(this, e) != 0; };
void Signal_TargetStateChanged() { callbackQMouseEventTransition_TargetStateChanged(this); };
void Signal_TargetStatesChanged() { callbackQMouseEventTransition_TargetStatesChanged(this); };
void Signal_Triggered() { callbackQMouseEventTransition_Triggered(this); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQMouseEventTransition_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQMouseEventTransition_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQMouseEventTransition_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQMouseEventTransition_CustomEvent(this, event); };
void deleteLater() { callbackQMouseEventTransition_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQMouseEventTransition_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQMouseEventTransition_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQMouseEventTransition_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQMouseEventTransition_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQMouseEventTransition_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QMouseEventTransition_NewQMouseEventTransition2(void* object, long long ty, long long button, void* sourceState)
{
return new MyQMouseEventTransition(static_cast<QObject*>(object), static_cast<QEvent::Type>(ty), static_cast<Qt::MouseButton>(button), static_cast<QState*>(sourceState));
}
void* QMouseEventTransition_NewQMouseEventTransition(void* sourceState)
{
return new MyQMouseEventTransition(static_cast<QState*>(sourceState));
}
char QMouseEventTransition_EventTestDefault(void* ptr, void* event)
{
return static_cast<QMouseEventTransition*>(ptr)->QMouseEventTransition::eventTest(static_cast<QEvent*>(event));
}
void QMouseEventTransition_OnTransitionDefault(void* ptr, void* event)
{
static_cast<QMouseEventTransition*>(ptr)->QMouseEventTransition::onTransition(static_cast<QEvent*>(event));
}
void QMouseEventTransition_SetButton(void* ptr, long long button)
{
static_cast<QMouseEventTransition*>(ptr)->setButton(static_cast<Qt::MouseButton>(button));
}
void QMouseEventTransition_SetHitTestPath(void* ptr, void* path)
{
static_cast<QMouseEventTransition*>(ptr)->setHitTestPath(*static_cast<QPainterPath*>(path));
}
void QMouseEventTransition_SetModifierMask(void* ptr, long long modifierMask)
{
static_cast<QMouseEventTransition*>(ptr)->setModifierMask(static_cast<Qt::KeyboardModifier>(modifierMask));
}
void QMouseEventTransition_DestroyQMouseEventTransition(void* ptr)
{
static_cast<QMouseEventTransition*>(ptr)->~QMouseEventTransition();
}
void* QMouseEventTransition_HitTestPath(void* ptr)
{
return new QPainterPath(static_cast<QMouseEventTransition*>(ptr)->hitTestPath());
}
long long QMouseEventTransition_ModifierMask(void* ptr)
{
return static_cast<QMouseEventTransition*>(ptr)->modifierMask();
}
long long QMouseEventTransition_Button(void* ptr)
{
return static_cast<QMouseEventTransition*>(ptr)->button();
}
void* QMouseEventTransition___setTargetStates_targets_atList(void* ptr, int i)
{
return const_cast<QAbstractState*>(static_cast<QList<QAbstractState *>*>(ptr)->at(i));
}
void QMouseEventTransition___setTargetStates_targets_setList(void* ptr, void* i)
{
static_cast<QList<QAbstractState *>*>(ptr)->append(static_cast<QAbstractState*>(i));
}
void* QMouseEventTransition___setTargetStates_targets_newList(void* ptr)
{
return new QList<QAbstractState *>;
}
void* QMouseEventTransition___animations_atList(void* ptr, int i)
{
return const_cast<QAbstractAnimation*>(static_cast<QList<QAbstractAnimation *>*>(ptr)->at(i));
}
void QMouseEventTransition___animations_setList(void* ptr, void* i)
{
static_cast<QList<QAbstractAnimation *>*>(ptr)->append(static_cast<QAbstractAnimation*>(i));
}
void* QMouseEventTransition___animations_newList(void* ptr)
{
return new QList<QAbstractAnimation *>;
}
void* QMouseEventTransition___targetStates_atList(void* ptr, int i)
{
return const_cast<QAbstractState*>(static_cast<QList<QAbstractState *>*>(ptr)->at(i));
}
void QMouseEventTransition___targetStates_setList(void* ptr, void* i)
{
static_cast<QList<QAbstractState *>*>(ptr)->append(static_cast<QAbstractState*>(i));
}
void* QMouseEventTransition___targetStates_newList(void* ptr)
{
return new QList<QAbstractState *>;
}
void* QMouseEventTransition___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QMouseEventTransition___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QMouseEventTransition___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QMouseEventTransition___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QMouseEventTransition___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QMouseEventTransition___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QMouseEventTransition___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QMouseEventTransition___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QMouseEventTransition___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QMouseEventTransition___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QMouseEventTransition___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QMouseEventTransition___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QMouseEventTransition___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QMouseEventTransition___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QMouseEventTransition___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QMouseEventTransition_EventDefault(void* ptr, void* e)
{
return static_cast<QMouseEventTransition*>(ptr)->QMouseEventTransition::event(static_cast<QEvent*>(e));
}
char QMouseEventTransition_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QMouseEventTransition*>(ptr)->QMouseEventTransition::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMouseEventTransition*>(ptr)->QMouseEventTransition::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QMouseEventTransition*>(ptr)->QMouseEventTransition::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMouseEventTransition*>(ptr)->QMouseEventTransition::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QMouseEventTransition*>(ptr)->QMouseEventTransition::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QMouseEventTransition_ChildEventDefault(void* ptr, void* event)
{
static_cast<QMouseEventTransition*>(ptr)->QMouseEventTransition::childEvent(static_cast<QChildEvent*>(event));
}
void QMouseEventTransition_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QMouseEventTransition*>(ptr)->QMouseEventTransition::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QMouseEventTransition_CustomEventDefault(void* ptr, void* event)
{
static_cast<QMouseEventTransition*>(ptr)->QMouseEventTransition::customEvent(static_cast<QEvent*>(event));
}
void QMouseEventTransition_DeleteLaterDefault(void* ptr)
{
static_cast<QMouseEventTransition*>(ptr)->QMouseEventTransition::deleteLater();
}
void QMouseEventTransition_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QMouseEventTransition*>(ptr)->QMouseEventTransition::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QMouseEventTransition_TimerEventDefault(void* ptr, void* event)
{
static_cast<QMouseEventTransition*>(ptr)->QMouseEventTransition::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QMouseEventTransition_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QMouseEventTransition*>(ptr)->QMouseEventTransition::metaObject());
}
class MyQPanGesture: public QPanGesture
{
public:
bool event(QEvent * e) { return callbackQGesture_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGesture_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGesture_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGesture_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGesture_CustomEvent(this, event); };
void deleteLater() { callbackQGesture_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGesture_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGesture_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGesture_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGesture_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGesture_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QPanGesture_SetAcceleration(void* ptr, double value)
{
static_cast<QPanGesture*>(ptr)->setAcceleration(value);
}
void QPanGesture_SetLastOffset(void* ptr, void* value)
{
static_cast<QPanGesture*>(ptr)->setLastOffset(*static_cast<QPointF*>(value));
}
void QPanGesture_SetOffset(void* ptr, void* value)
{
static_cast<QPanGesture*>(ptr)->setOffset(*static_cast<QPointF*>(value));
}
void QPanGesture_DestroyQPanGesture(void* ptr)
{
static_cast<QPanGesture*>(ptr)->~QPanGesture();
}
void* QPanGesture_Delta(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QPanGesture*>(ptr)->delta(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QPanGesture_LastOffset(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QPanGesture*>(ptr)->lastOffset(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QPanGesture_Offset(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QPanGesture*>(ptr)->offset(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
double QPanGesture_Acceleration(void* ptr)
{
return static_cast<QPanGesture*>(ptr)->acceleration();
}
class MyQPinchGesture: public QPinchGesture
{
public:
bool event(QEvent * e) { return callbackQGesture_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGesture_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGesture_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGesture_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGesture_CustomEvent(this, event); };
void deleteLater() { callbackQGesture_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGesture_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGesture_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGesture_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGesture_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGesture_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QPinchGesture_SetCenterPoint(void* ptr, void* value)
{
static_cast<QPinchGesture*>(ptr)->setCenterPoint(*static_cast<QPointF*>(value));
}
void QPinchGesture_SetChangeFlags(void* ptr, long long value)
{
static_cast<QPinchGesture*>(ptr)->setChangeFlags(static_cast<QPinchGesture::ChangeFlag>(value));
}
void QPinchGesture_SetLastCenterPoint(void* ptr, void* value)
{
static_cast<QPinchGesture*>(ptr)->setLastCenterPoint(*static_cast<QPointF*>(value));
}
void QPinchGesture_SetLastRotationAngle(void* ptr, double value)
{
static_cast<QPinchGesture*>(ptr)->setLastRotationAngle(value);
}
void QPinchGesture_SetLastScaleFactor(void* ptr, double value)
{
static_cast<QPinchGesture*>(ptr)->setLastScaleFactor(value);
}
void QPinchGesture_SetRotationAngle(void* ptr, double value)
{
static_cast<QPinchGesture*>(ptr)->setRotationAngle(value);
}
void QPinchGesture_SetScaleFactor(void* ptr, double value)
{
static_cast<QPinchGesture*>(ptr)->setScaleFactor(value);
}
void QPinchGesture_SetStartCenterPoint(void* ptr, void* value)
{
static_cast<QPinchGesture*>(ptr)->setStartCenterPoint(*static_cast<QPointF*>(value));
}
void QPinchGesture_SetTotalChangeFlags(void* ptr, long long value)
{
static_cast<QPinchGesture*>(ptr)->setTotalChangeFlags(static_cast<QPinchGesture::ChangeFlag>(value));
}
void QPinchGesture_SetTotalRotationAngle(void* ptr, double value)
{
static_cast<QPinchGesture*>(ptr)->setTotalRotationAngle(value);
}
void QPinchGesture_SetTotalScaleFactor(void* ptr, double value)
{
static_cast<QPinchGesture*>(ptr)->setTotalScaleFactor(value);
}
void QPinchGesture_DestroyQPinchGesture(void* ptr)
{
static_cast<QPinchGesture*>(ptr)->~QPinchGesture();
}
long long QPinchGesture_ChangeFlags(void* ptr)
{
return static_cast<QPinchGesture*>(ptr)->changeFlags();
}
long long QPinchGesture_TotalChangeFlags(void* ptr)
{
return static_cast<QPinchGesture*>(ptr)->totalChangeFlags();
}
void* QPinchGesture_CenterPoint(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QPinchGesture*>(ptr)->centerPoint(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QPinchGesture_LastCenterPoint(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QPinchGesture*>(ptr)->lastCenterPoint(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QPinchGesture_StartCenterPoint(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QPinchGesture*>(ptr)->startCenterPoint(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
double QPinchGesture_LastRotationAngle(void* ptr)
{
return static_cast<QPinchGesture*>(ptr)->lastRotationAngle();
}
double QPinchGesture_LastScaleFactor(void* ptr)
{
return static_cast<QPinchGesture*>(ptr)->lastScaleFactor();
}
double QPinchGesture_RotationAngle(void* ptr)
{
return static_cast<QPinchGesture*>(ptr)->rotationAngle();
}
double QPinchGesture_ScaleFactor(void* ptr)
{
return static_cast<QPinchGesture*>(ptr)->scaleFactor();
}
double QPinchGesture_TotalRotationAngle(void* ptr)
{
return static_cast<QPinchGesture*>(ptr)->totalRotationAngle();
}
double QPinchGesture_TotalScaleFactor(void* ptr)
{
return static_cast<QPinchGesture*>(ptr)->totalScaleFactor();
}
class MyQPlainTextDocumentLayout: public QPlainTextDocumentLayout
{
public:
MyQPlainTextDocumentLayout(QTextDocument *document) : QPlainTextDocumentLayout(document) {};
void documentChanged(int from, int charsRemoved, int charsAdded) { callbackQPlainTextDocumentLayout_DocumentChanged(this, from, charsRemoved, charsAdded); };
void draw(QPainter * vqp, const PaintContext & vpa) { callbackQPlainTextDocumentLayout_Draw(this, vqp, const_cast<PaintContext*>(&vpa)); };
QRectF blockBoundingRect(const QTextBlock & block) const { return *static_cast<QRectF*>(callbackQPlainTextDocumentLayout_BlockBoundingRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QTextBlock*>(&block))); };
QRectF frameBoundingRect(QTextFrame * vqt) const { return *static_cast<QRectF*>(callbackQPlainTextDocumentLayout_FrameBoundingRect(const_cast<void*>(static_cast<const void*>(this)), vqt)); };
QSizeF documentSize() const { return *static_cast<QSizeF*>(callbackQPlainTextDocumentLayout_DocumentSize(const_cast<void*>(static_cast<const void*>(this)))); };
int hitTest(const QPointF & vqp, Qt::HitTestAccuracy vqt) const { return callbackQPlainTextDocumentLayout_HitTest(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPointF*>(&vqp), vqt); };
int pageCount() const { return callbackQPlainTextDocumentLayout_PageCount(const_cast<void*>(static_cast<const void*>(this))); };
void Signal_DocumentSizeChanged(const QSizeF & newSize) { callbackQPlainTextDocumentLayout_DocumentSizeChanged(this, const_cast<QSizeF*>(&newSize)); };
void Signal_PageCountChanged(int newPages) { callbackQPlainTextDocumentLayout_PageCountChanged(this, newPages); };
void Signal_Update(const QRectF & rect) { callbackQPlainTextDocumentLayout_Update(this, const_cast<QRectF*>(&rect)); };
void Signal_UpdateBlock(const QTextBlock & block) { callbackQPlainTextDocumentLayout_UpdateBlock(this, const_cast<QTextBlock*>(&block)); };
bool event(QEvent * e) { return callbackQPlainTextDocumentLayout_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQPlainTextDocumentLayout_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQPlainTextDocumentLayout_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQPlainTextDocumentLayout_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQPlainTextDocumentLayout_CustomEvent(this, event); };
void deleteLater() { callbackQPlainTextDocumentLayout_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQPlainTextDocumentLayout_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQPlainTextDocumentLayout_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQPlainTextDocumentLayout_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQPlainTextDocumentLayout_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQPlainTextDocumentLayout_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QPlainTextDocumentLayout_NewQPlainTextDocumentLayout(void* document)
{
return new MyQPlainTextDocumentLayout(static_cast<QTextDocument*>(document));
}
void QPlainTextDocumentLayout_DocumentChanged(void* ptr, int from, int charsRemoved, int charsAdded)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->documentChanged(from, charsRemoved, charsAdded);
}
void QPlainTextDocumentLayout_DocumentChangedDefault(void* ptr, int from, int charsRemoved, int charsAdded)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::documentChanged(from, charsRemoved, charsAdded);
}
void QPlainTextDocumentLayout_Draw(void* ptr, void* vqp, void* vpa)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->draw(static_cast<QPainter*>(vqp), *static_cast<QAbstractTextDocumentLayout::PaintContext*>(vpa));
}
void QPlainTextDocumentLayout_DrawDefault(void* ptr, void* vqp, void* vpa)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::draw(static_cast<QPainter*>(vqp), *static_cast<QAbstractTextDocumentLayout::PaintContext*>(vpa));
}
void QPlainTextDocumentLayout_RequestUpdate(void* ptr)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->requestUpdate();
}
void QPlainTextDocumentLayout_SetCursorWidth(void* ptr, int width)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->setCursorWidth(width);
}
void QPlainTextDocumentLayout_DestroyQPlainTextDocumentLayout(void* ptr)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->~QPlainTextDocumentLayout();
}
void* QPlainTextDocumentLayout_BlockBoundingRect(void* ptr, void* block)
{
return ({ QRectF tmpValue = static_cast<QPlainTextDocumentLayout*>(ptr)->blockBoundingRect(*static_cast<QTextBlock*>(block)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QPlainTextDocumentLayout_BlockBoundingRectDefault(void* ptr, void* block)
{
return ({ QRectF tmpValue = static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::blockBoundingRect(*static_cast<QTextBlock*>(block)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QPlainTextDocumentLayout_FrameBoundingRect(void* ptr, void* vqt)
{
return ({ QRectF tmpValue = static_cast<QPlainTextDocumentLayout*>(ptr)->frameBoundingRect(static_cast<QTextFrame*>(vqt)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QPlainTextDocumentLayout_FrameBoundingRectDefault(void* ptr, void* vqt)
{
return ({ QRectF tmpValue = static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::frameBoundingRect(static_cast<QTextFrame*>(vqt)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QPlainTextDocumentLayout_DocumentSize(void* ptr)
{
return ({ QSizeF tmpValue = static_cast<QPlainTextDocumentLayout*>(ptr)->documentSize(); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
void* QPlainTextDocumentLayout_DocumentSizeDefault(void* ptr)
{
return ({ QSizeF tmpValue = static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::documentSize(); new QSizeF(tmpValue.width(), tmpValue.height()); });
}
int QPlainTextDocumentLayout_CursorWidth(void* ptr)
{
return static_cast<QPlainTextDocumentLayout*>(ptr)->cursorWidth();
}
int QPlainTextDocumentLayout_HitTest(void* ptr, void* vqp, long long vqt)
{
return static_cast<QPlainTextDocumentLayout*>(ptr)->hitTest(*static_cast<QPointF*>(vqp), static_cast<Qt::HitTestAccuracy>(vqt));
}
int QPlainTextDocumentLayout_HitTestDefault(void* ptr, void* vqp, long long vqt)
{
return static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::hitTest(*static_cast<QPointF*>(vqp), static_cast<Qt::HitTestAccuracy>(vqt));
}
int QPlainTextDocumentLayout_PageCount(void* ptr)
{
return static_cast<QPlainTextDocumentLayout*>(ptr)->pageCount();
}
int QPlainTextDocumentLayout_PageCountDefault(void* ptr)
{
return static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::pageCount();
}
void QPlainTextDocumentLayout_EnsureBlockLayout(void* ptr, void* block)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->ensureBlockLayout(*static_cast<QTextBlock*>(block));
}
void* QPlainTextDocumentLayout___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QPlainTextDocumentLayout___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QPlainTextDocumentLayout___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QPlainTextDocumentLayout___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QPlainTextDocumentLayout___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QPlainTextDocumentLayout___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QPlainTextDocumentLayout___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QPlainTextDocumentLayout___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QPlainTextDocumentLayout___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QPlainTextDocumentLayout___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QPlainTextDocumentLayout___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QPlainTextDocumentLayout___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QPlainTextDocumentLayout___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QPlainTextDocumentLayout___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QPlainTextDocumentLayout___children_newList(void* ptr)
{
return new QList<QObject *>;
}
void QPlainTextDocumentLayout_DrawInlineObjectDefault(void* ptr, void* painter, void* rect, void* object, int posInDocument, void* format)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::drawInlineObject(static_cast<QPainter*>(painter), *static_cast<QRectF*>(rect), *static_cast<QTextInlineObject*>(object), posInDocument, *static_cast<QTextFormat*>(format));
}
void QPlainTextDocumentLayout_PositionInlineObjectDefault(void* ptr, void* item, int posInDocument, void* format)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::positionInlineObject(*static_cast<QTextInlineObject*>(item), posInDocument, *static_cast<QTextFormat*>(format));
}
void QPlainTextDocumentLayout_ResizeInlineObjectDefault(void* ptr, void* item, int posInDocument, void* format)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::resizeInlineObject(*static_cast<QTextInlineObject*>(item), posInDocument, *static_cast<QTextFormat*>(format));
}
char QPlainTextDocumentLayout_EventDefault(void* ptr, void* e)
{
return static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::event(static_cast<QEvent*>(e));
}
char QPlainTextDocumentLayout_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QPlainTextDocumentLayout_ChildEventDefault(void* ptr, void* event)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::childEvent(static_cast<QChildEvent*>(event));
}
void QPlainTextDocumentLayout_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QPlainTextDocumentLayout_CustomEventDefault(void* ptr, void* event)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::customEvent(static_cast<QEvent*>(event));
}
void QPlainTextDocumentLayout_DeleteLaterDefault(void* ptr)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::deleteLater();
}
void QPlainTextDocumentLayout_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QPlainTextDocumentLayout_TimerEventDefault(void* ptr, void* event)
{
static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QPlainTextDocumentLayout_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QPlainTextDocumentLayout*>(ptr)->QPlainTextDocumentLayout::metaObject());
}
class MyQPlainTextEdit: public QPlainTextEdit
{
public:
MyQPlainTextEdit(QWidget *parent) : QPlainTextEdit(parent) {};
MyQPlainTextEdit(const QString &text, QWidget *parent) : QPlainTextEdit(text, parent) {};
QVariant loadResource(int ty, const QUrl & name) { return *static_cast<QVariant*>(callbackQPlainTextEdit_LoadResource(this, ty, const_cast<QUrl*>(&name))); };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
void appendHtml(const QString & html) { QByteArray t950a39 = html.toUtf8(); QtWidgets_PackedString htmlPacked = { const_cast<char*>(t950a39.prepend("WHITESPACE").constData()+10), t950a39.size()-10 };callbackQPlainTextEdit_AppendHtml(this, htmlPacked); };
void appendPlainText(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQPlainTextEdit_AppendPlainText(this, textPacked); };
void Signal_BlockCountChanged(int newBlockCount) { callbackQPlainTextEdit_BlockCountChanged(this, newBlockCount); };
void centerCursor() { callbackQPlainTextEdit_CenterCursor(this); };
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void clear() { callbackQPlainTextEdit_Clear(this); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void copy() { callbackQPlainTextEdit_Copy(this); };
void Signal_CopyAvailable(bool yes) { callbackQPlainTextEdit_CopyAvailable(this, yes); };
void Signal_CursorPositionChanged() { callbackQPlainTextEdit_CursorPositionChanged(this); };
void cut() { callbackQPlainTextEdit_Cut(this); };
void dragEnterEvent(QDragEnterEvent * e) { callbackQWidget_DragEnterEvent(this, e); };
void dragLeaveEvent(QDragLeaveEvent * e) { callbackQWidget_DragLeaveEvent(this, e); };
void dragMoveEvent(QDragMoveEvent * e) { callbackQWidget_DragMoveEvent(this, e); };
void dropEvent(QDropEvent * e) { callbackQWidget_DropEvent(this, e); };
void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); };
void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); };
void inputMethodEvent(QInputMethodEvent * e) { callbackQWidget_InputMethodEvent(this, e); };
void insertFromMimeData(const QMimeData * source) { callbackQPlainTextEdit_InsertFromMimeData(this, const_cast<QMimeData*>(source)); };
void insertPlainText(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQPlainTextEdit_InsertPlainText(this, textPacked); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); };
void Signal_ModificationChanged(bool changed) { callbackQPlainTextEdit_ModificationChanged(this, changed); };
void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); };
void paste() { callbackQPlainTextEdit_Paste(this); };
void redo() { callbackQPlainTextEdit_Redo(this); };
void Signal_RedoAvailable(bool available) { callbackQPlainTextEdit_RedoAvailable(this, available); };
void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void selectAll() { callbackQPlainTextEdit_SelectAll(this); };
void Signal_SelectionChanged() { callbackQPlainTextEdit_SelectionChanged(this); };
void setPlainText(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQPlainTextEdit_SetPlainText(this, textPacked); };
void showEvent(QShowEvent * vqs) { callbackQWidget_ShowEvent(this, vqs); };
void Signal_TextChanged() { callbackQPlainTextEdit_TextChanged(this); };
void undo() { callbackQPlainTextEdit_Undo(this); };
void Signal_UndoAvailable(bool available) { callbackQPlainTextEdit_UndoAvailable(this, available); };
void Signal_UpdateRequest(const QRect & rect, int dy) { callbackQPlainTextEdit_UpdateRequest(this, const_cast<QRect*>(&rect), dy); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
void zoomIn(int ran) { callbackQPlainTextEdit_ZoomIn(this, ran); };
void zoomOut(int ran) { callbackQPlainTextEdit_ZoomOut(this, ran); };
~MyQPlainTextEdit() { callbackQPlainTextEdit_DestroyQPlainTextEdit(this); };
QMimeData * createMimeDataFromSelection() const { return static_cast<QMimeData*>(callbackQPlainTextEdit_CreateMimeDataFromSelection(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery property) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), property)); };
bool canInsertFromMimeData(const QMimeData * source) const { return callbackQPlainTextEdit_CanInsertFromMimeData(const_cast<void*>(static_cast<const void*>(this)), const_cast<QMimeData*>(source)) != 0; };
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QPlainTextEdit_CreateStandardContextMenu(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->createStandardContextMenu();
}
void* QPlainTextEdit_LoadResource(void* ptr, int ty, void* name)
{
return new QVariant(static_cast<QPlainTextEdit*>(ptr)->loadResource(ty, *static_cast<QUrl*>(name)));
}
void* QPlainTextEdit_LoadResourceDefault(void* ptr, int ty, void* name)
{
return new QVariant(static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::loadResource(ty, *static_cast<QUrl*>(name)));
}
char QPlainTextEdit_Find2(void* ptr, void* exp, long long options)
{
return static_cast<QPlainTextEdit*>(ptr)->find(*static_cast<QRegExp*>(exp), static_cast<QTextDocument::FindFlag>(options));
}
void* QPlainTextEdit_CreateStandardContextMenu2(void* ptr, void* position)
{
return static_cast<QPlainTextEdit*>(ptr)->createStandardContextMenu(*static_cast<QPoint*>(position));
}
void* QPlainTextEdit_NewQPlainTextEdit(void* parent)
{
return new MyQPlainTextEdit(static_cast<QWidget*>(parent));
}
void* QPlainTextEdit_NewQPlainTextEdit2(char* text, void* parent)
{
return new MyQPlainTextEdit(QString(text), static_cast<QWidget*>(parent));
}
char QPlainTextEdit_Find(void* ptr, char* exp, long long options)
{
return static_cast<QPlainTextEdit*>(ptr)->find(QString(exp), static_cast<QTextDocument::FindFlag>(options));
}
void QPlainTextEdit_AppendHtml(void* ptr, char* html)
{
QMetaObject::invokeMethod(static_cast<QPlainTextEdit*>(ptr), "appendHtml", Q_ARG(QString, QString(html)));
}
void QPlainTextEdit_AppendHtmlDefault(void* ptr, char* html)
{
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::appendHtml(QString(html));
}
void QPlainTextEdit_AppendPlainText(void* ptr, char* text)
{
QMetaObject::invokeMethod(static_cast<QPlainTextEdit*>(ptr), "appendPlainText", Q_ARG(QString, QString(text)));
}
void QPlainTextEdit_AppendPlainTextDefault(void* ptr, char* text)
{
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::appendPlainText(QString(text));
}
void QPlainTextEdit_ConnectBlockCountChanged(void* ptr)
{
QObject::connect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)(int)>(&QPlainTextEdit::blockCountChanged), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)(int)>(&MyQPlainTextEdit::Signal_BlockCountChanged));
}
void QPlainTextEdit_DisconnectBlockCountChanged(void* ptr)
{
QObject::disconnect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)(int)>(&QPlainTextEdit::blockCountChanged), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)(int)>(&MyQPlainTextEdit::Signal_BlockCountChanged));
}
void QPlainTextEdit_BlockCountChanged(void* ptr, int newBlockCount)
{
static_cast<QPlainTextEdit*>(ptr)->blockCountChanged(newBlockCount);
}
void QPlainTextEdit_CenterCursor(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QPlainTextEdit*>(ptr), "centerCursor");
}
void QPlainTextEdit_CenterCursorDefault(void* ptr)
{
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::centerCursor();
}
void QPlainTextEdit_Clear(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QPlainTextEdit*>(ptr), "clear");
}
void QPlainTextEdit_ClearDefault(void* ptr)
{
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::clear();
}
void QPlainTextEdit_Copy(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QPlainTextEdit*>(ptr), "copy");
}
void QPlainTextEdit_CopyDefault(void* ptr)
{
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::copy();
}
void QPlainTextEdit_ConnectCopyAvailable(void* ptr)
{
QObject::connect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)(bool)>(&QPlainTextEdit::copyAvailable), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)(bool)>(&MyQPlainTextEdit::Signal_CopyAvailable));
}
void QPlainTextEdit_DisconnectCopyAvailable(void* ptr)
{
QObject::disconnect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)(bool)>(&QPlainTextEdit::copyAvailable), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)(bool)>(&MyQPlainTextEdit::Signal_CopyAvailable));
}
void QPlainTextEdit_CopyAvailable(void* ptr, char yes)
{
static_cast<QPlainTextEdit*>(ptr)->copyAvailable(yes != 0);
}
void QPlainTextEdit_ConnectCursorPositionChanged(void* ptr)
{
QObject::connect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)()>(&QPlainTextEdit::cursorPositionChanged), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)()>(&MyQPlainTextEdit::Signal_CursorPositionChanged));
}
void QPlainTextEdit_DisconnectCursorPositionChanged(void* ptr)
{
QObject::disconnect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)()>(&QPlainTextEdit::cursorPositionChanged), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)()>(&MyQPlainTextEdit::Signal_CursorPositionChanged));
}
void QPlainTextEdit_CursorPositionChanged(void* ptr)
{
static_cast<QPlainTextEdit*>(ptr)->cursorPositionChanged();
}
void QPlainTextEdit_Cut(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QPlainTextEdit*>(ptr), "cut");
}
void QPlainTextEdit_CutDefault(void* ptr)
{
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::cut();
}
void QPlainTextEdit_EnsureCursorVisible(void* ptr)
{
static_cast<QPlainTextEdit*>(ptr)->ensureCursorVisible();
}
void QPlainTextEdit_InsertFromMimeData(void* ptr, void* source)
{
static_cast<QPlainTextEdit*>(ptr)->insertFromMimeData(static_cast<QMimeData*>(source));
}
void QPlainTextEdit_InsertFromMimeDataDefault(void* ptr, void* source)
{
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::insertFromMimeData(static_cast<QMimeData*>(source));
}
void QPlainTextEdit_InsertPlainText(void* ptr, char* text)
{
QMetaObject::invokeMethod(static_cast<QPlainTextEdit*>(ptr), "insertPlainText", Q_ARG(QString, QString(text)));
}
void QPlainTextEdit_InsertPlainTextDefault(void* ptr, char* text)
{
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::insertPlainText(QString(text));
}
void QPlainTextEdit_MergeCurrentCharFormat(void* ptr, void* modifier)
{
static_cast<QPlainTextEdit*>(ptr)->mergeCurrentCharFormat(*static_cast<QTextCharFormat*>(modifier));
}
void QPlainTextEdit_ConnectModificationChanged(void* ptr)
{
QObject::connect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)(bool)>(&QPlainTextEdit::modificationChanged), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)(bool)>(&MyQPlainTextEdit::Signal_ModificationChanged));
}
void QPlainTextEdit_DisconnectModificationChanged(void* ptr)
{
QObject::disconnect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)(bool)>(&QPlainTextEdit::modificationChanged), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)(bool)>(&MyQPlainTextEdit::Signal_ModificationChanged));
}
void QPlainTextEdit_ModificationChanged(void* ptr, char changed)
{
static_cast<QPlainTextEdit*>(ptr)->modificationChanged(changed != 0);
}
void QPlainTextEdit_MoveCursor(void* ptr, long long operation, long long mode)
{
static_cast<QPlainTextEdit*>(ptr)->moveCursor(static_cast<QTextCursor::MoveOperation>(operation), static_cast<QTextCursor::MoveMode>(mode));
}
void QPlainTextEdit_Paste(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QPlainTextEdit*>(ptr), "paste");
}
void QPlainTextEdit_PasteDefault(void* ptr)
{
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::paste();
}
void QPlainTextEdit_Redo(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QPlainTextEdit*>(ptr), "redo");
}
void QPlainTextEdit_RedoDefault(void* ptr)
{
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::redo();
}
void QPlainTextEdit_ConnectRedoAvailable(void* ptr)
{
QObject::connect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)(bool)>(&QPlainTextEdit::redoAvailable), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)(bool)>(&MyQPlainTextEdit::Signal_RedoAvailable));
}
void QPlainTextEdit_DisconnectRedoAvailable(void* ptr)
{
QObject::disconnect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)(bool)>(&QPlainTextEdit::redoAvailable), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)(bool)>(&MyQPlainTextEdit::Signal_RedoAvailable));
}
void QPlainTextEdit_RedoAvailable(void* ptr, char available)
{
static_cast<QPlainTextEdit*>(ptr)->redoAvailable(available != 0);
}
void QPlainTextEdit_SelectAll(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QPlainTextEdit*>(ptr), "selectAll");
}
void QPlainTextEdit_SelectAllDefault(void* ptr)
{
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::selectAll();
}
void QPlainTextEdit_ConnectSelectionChanged(void* ptr)
{
QObject::connect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)()>(&QPlainTextEdit::selectionChanged), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)()>(&MyQPlainTextEdit::Signal_SelectionChanged));
}
void QPlainTextEdit_DisconnectSelectionChanged(void* ptr)
{
QObject::disconnect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)()>(&QPlainTextEdit::selectionChanged), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)()>(&MyQPlainTextEdit::Signal_SelectionChanged));
}
void QPlainTextEdit_SelectionChanged(void* ptr)
{
static_cast<QPlainTextEdit*>(ptr)->selectionChanged();
}
void QPlainTextEdit_SetBackgroundVisible(void* ptr, char visible)
{
static_cast<QPlainTextEdit*>(ptr)->setBackgroundVisible(visible != 0);
}
void QPlainTextEdit_SetCenterOnScroll(void* ptr, char enabled)
{
static_cast<QPlainTextEdit*>(ptr)->setCenterOnScroll(enabled != 0);
}
void QPlainTextEdit_SetCurrentCharFormat(void* ptr, void* format)
{
static_cast<QPlainTextEdit*>(ptr)->setCurrentCharFormat(*static_cast<QTextCharFormat*>(format));
}
void QPlainTextEdit_SetCursorWidth(void* ptr, int width)
{
static_cast<QPlainTextEdit*>(ptr)->setCursorWidth(width);
}
void QPlainTextEdit_SetDocument(void* ptr, void* document)
{
static_cast<QPlainTextEdit*>(ptr)->setDocument(static_cast<QTextDocument*>(document));
}
void QPlainTextEdit_SetDocumentTitle(void* ptr, char* title)
{
static_cast<QPlainTextEdit*>(ptr)->setDocumentTitle(QString(title));
}
void QPlainTextEdit_SetLineWrapMode(void* ptr, long long mode)
{
static_cast<QPlainTextEdit*>(ptr)->setLineWrapMode(static_cast<QPlainTextEdit::LineWrapMode>(mode));
}
void QPlainTextEdit_SetMaximumBlockCount(void* ptr, int maximum)
{
static_cast<QPlainTextEdit*>(ptr)->setMaximumBlockCount(maximum);
}
void QPlainTextEdit_SetOverwriteMode(void* ptr, char overwrite)
{
static_cast<QPlainTextEdit*>(ptr)->setOverwriteMode(overwrite != 0);
}
void QPlainTextEdit_SetPlaceholderText(void* ptr, char* placeholderText)
{
static_cast<QPlainTextEdit*>(ptr)->setPlaceholderText(QString(placeholderText));
}
void QPlainTextEdit_SetPlainText(void* ptr, char* text)
{
QMetaObject::invokeMethod(static_cast<QPlainTextEdit*>(ptr), "setPlainText", Q_ARG(QString, QString(text)));
}
void QPlainTextEdit_SetPlainTextDefault(void* ptr, char* text)
{
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::setPlainText(QString(text));
}
void QPlainTextEdit_SetReadOnly(void* ptr, char ro)
{
static_cast<QPlainTextEdit*>(ptr)->setReadOnly(ro != 0);
}
void QPlainTextEdit_SetTabChangesFocus(void* ptr, char b)
{
static_cast<QPlainTextEdit*>(ptr)->setTabChangesFocus(b != 0);
}
void QPlainTextEdit_SetTabStopWidth(void* ptr, int width)
{
static_cast<QPlainTextEdit*>(ptr)->setTabStopWidth(width);
}
void QPlainTextEdit_SetTextCursor(void* ptr, void* cursor)
{
static_cast<QPlainTextEdit*>(ptr)->setTextCursor(*static_cast<QTextCursor*>(cursor));
}
void QPlainTextEdit_SetTextInteractionFlags(void* ptr, long long flags)
{
static_cast<QPlainTextEdit*>(ptr)->setTextInteractionFlags(static_cast<Qt::TextInteractionFlag>(flags));
}
void QPlainTextEdit_SetUndoRedoEnabled(void* ptr, char enable)
{
static_cast<QPlainTextEdit*>(ptr)->setUndoRedoEnabled(enable != 0);
}
void QPlainTextEdit_SetWordWrapMode(void* ptr, long long policy)
{
static_cast<QPlainTextEdit*>(ptr)->setWordWrapMode(static_cast<QTextOption::WrapMode>(policy));
}
void QPlainTextEdit_ConnectTextChanged(void* ptr)
{
QObject::connect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)()>(&QPlainTextEdit::textChanged), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)()>(&MyQPlainTextEdit::Signal_TextChanged));
}
void QPlainTextEdit_DisconnectTextChanged(void* ptr)
{
QObject::disconnect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)()>(&QPlainTextEdit::textChanged), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)()>(&MyQPlainTextEdit::Signal_TextChanged));
}
void QPlainTextEdit_TextChanged(void* ptr)
{
static_cast<QPlainTextEdit*>(ptr)->textChanged();
}
void QPlainTextEdit_Undo(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QPlainTextEdit*>(ptr), "undo");
}
void QPlainTextEdit_UndoDefault(void* ptr)
{
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::undo();
}
void QPlainTextEdit_ConnectUndoAvailable(void* ptr)
{
QObject::connect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)(bool)>(&QPlainTextEdit::undoAvailable), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)(bool)>(&MyQPlainTextEdit::Signal_UndoAvailable));
}
void QPlainTextEdit_DisconnectUndoAvailable(void* ptr)
{
QObject::disconnect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)(bool)>(&QPlainTextEdit::undoAvailable), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)(bool)>(&MyQPlainTextEdit::Signal_UndoAvailable));
}
void QPlainTextEdit_UndoAvailable(void* ptr, char available)
{
static_cast<QPlainTextEdit*>(ptr)->undoAvailable(available != 0);
}
void QPlainTextEdit_ConnectUpdateRequest(void* ptr)
{
QObject::connect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)(const QRect &, int)>(&QPlainTextEdit::updateRequest), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)(const QRect &, int)>(&MyQPlainTextEdit::Signal_UpdateRequest));
}
void QPlainTextEdit_DisconnectUpdateRequest(void* ptr)
{
QObject::disconnect(static_cast<QPlainTextEdit*>(ptr), static_cast<void (QPlainTextEdit::*)(const QRect &, int)>(&QPlainTextEdit::updateRequest), static_cast<MyQPlainTextEdit*>(ptr), static_cast<void (MyQPlainTextEdit::*)(const QRect &, int)>(&MyQPlainTextEdit::Signal_UpdateRequest));
}
void QPlainTextEdit_UpdateRequest(void* ptr, void* rect, int dy)
{
static_cast<QPlainTextEdit*>(ptr)->updateRequest(*static_cast<QRect*>(rect), dy);
}
void QPlainTextEdit_ZoomIn(void* ptr, int ran)
{
QMetaObject::invokeMethod(static_cast<QPlainTextEdit*>(ptr), "zoomIn", Q_ARG(int, ran));
}
void QPlainTextEdit_ZoomInDefault(void* ptr, int ran)
{
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::zoomIn(ran);
}
void QPlainTextEdit_ZoomOut(void* ptr, int ran)
{
QMetaObject::invokeMethod(static_cast<QPlainTextEdit*>(ptr), "zoomOut", Q_ARG(int, ran));
}
void QPlainTextEdit_ZoomOutDefault(void* ptr, int ran)
{
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::zoomOut(ran);
}
void QPlainTextEdit_DestroyQPlainTextEdit(void* ptr)
{
static_cast<QPlainTextEdit*>(ptr)->~QPlainTextEdit();
}
void QPlainTextEdit_DestroyQPlainTextEditDefault(void* ptr)
{
}
long long QPlainTextEdit_LineWrapMode(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->lineWrapMode();
}
void* QPlainTextEdit_CreateMimeDataFromSelection(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->createMimeDataFromSelection();
}
void* QPlainTextEdit_CreateMimeDataFromSelectionDefault(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::createMimeDataFromSelection();
}
void* QPlainTextEdit_ContentOffset(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QPlainTextEdit*>(ptr)->contentOffset(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QPlainTextEdit_CursorRect2(void* ptr)
{
return ({ QRect tmpValue = static_cast<QPlainTextEdit*>(ptr)->cursorRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QPlainTextEdit_CursorRect(void* ptr, void* cursor)
{
return ({ QRect tmpValue = static_cast<QPlainTextEdit*>(ptr)->cursorRect(*static_cast<QTextCursor*>(cursor)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QPlainTextEdit_BlockBoundingGeometry(void* ptr, void* block)
{
return ({ QRectF tmpValue = static_cast<QPlainTextEdit*>(ptr)->blockBoundingGeometry(*static_cast<QTextBlock*>(block)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QPlainTextEdit_BlockBoundingRect(void* ptr, void* block)
{
return ({ QRectF tmpValue = static_cast<QPlainTextEdit*>(ptr)->blockBoundingRect(*static_cast<QTextBlock*>(block)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QPlainTextEdit_AnchorAt(void* ptr, void* pos)
{
return ({ QByteArray t8a0984 = static_cast<QPlainTextEdit*>(ptr)->anchorAt(*static_cast<QPoint*>(pos)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t8a0984.prepend("WHITESPACE").constData()+10), t8a0984.size()-10 }; });
}
struct QtWidgets_PackedString QPlainTextEdit_DocumentTitle(void* ptr)
{
return ({ QByteArray tba0a66 = static_cast<QPlainTextEdit*>(ptr)->documentTitle().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tba0a66.prepend("WHITESPACE").constData()+10), tba0a66.size()-10 }; });
}
struct QtWidgets_PackedString QPlainTextEdit_PlaceholderText(void* ptr)
{
return ({ QByteArray tb4d3fc = static_cast<QPlainTextEdit*>(ptr)->placeholderText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tb4d3fc.prepend("WHITESPACE").constData()+10), tb4d3fc.size()-10 }; });
}
struct QtWidgets_PackedString QPlainTextEdit_ToPlainText(void* ptr)
{
return ({ QByteArray t3c8ca8 = static_cast<QPlainTextEdit*>(ptr)->toPlainText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t3c8ca8.prepend("WHITESPACE").constData()+10), t3c8ca8.size()-10 }; });
}
void* QPlainTextEdit_FirstVisibleBlock(void* ptr)
{
return new QTextBlock(static_cast<QPlainTextEdit*>(ptr)->firstVisibleBlock());
}
void* QPlainTextEdit_CurrentCharFormat(void* ptr)
{
return new QTextCharFormat(static_cast<QPlainTextEdit*>(ptr)->currentCharFormat());
}
void* QPlainTextEdit_CursorForPosition(void* ptr, void* pos)
{
return new QTextCursor(static_cast<QPlainTextEdit*>(ptr)->cursorForPosition(*static_cast<QPoint*>(pos)));
}
void* QPlainTextEdit_TextCursor(void* ptr)
{
return new QTextCursor(static_cast<QPlainTextEdit*>(ptr)->textCursor());
}
void* QPlainTextEdit_Document(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->document();
}
long long QPlainTextEdit_WordWrapMode(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->wordWrapMode();
}
long long QPlainTextEdit_TextInteractionFlags(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->textInteractionFlags();
}
char QPlainTextEdit_BackgroundVisible(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->backgroundVisible();
}
char QPlainTextEdit_CanInsertFromMimeData(void* ptr, void* source)
{
return static_cast<QPlainTextEdit*>(ptr)->canInsertFromMimeData(static_cast<QMimeData*>(source));
}
char QPlainTextEdit_CanInsertFromMimeDataDefault(void* ptr, void* source)
{
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::canInsertFromMimeData(static_cast<QMimeData*>(source));
}
char QPlainTextEdit_CanPaste(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->canPaste();
}
char QPlainTextEdit_CenterOnScroll(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->centerOnScroll();
}
char QPlainTextEdit_IsReadOnly(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->isReadOnly();
}
char QPlainTextEdit_IsUndoRedoEnabled(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->isUndoRedoEnabled();
}
char QPlainTextEdit_OverwriteMode(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->overwriteMode();
}
char QPlainTextEdit_TabChangesFocus(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->tabChangesFocus();
}
int QPlainTextEdit_BlockCount(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->blockCount();
}
int QPlainTextEdit_CursorWidth(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->cursorWidth();
}
int QPlainTextEdit_MaximumBlockCount(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->maximumBlockCount();
}
int QPlainTextEdit_TabStopWidth(void* ptr)
{
return static_cast<QPlainTextEdit*>(ptr)->tabStopWidth();
}
void QPlainTextEdit_Print(void* ptr, void* printer)
{
#ifndef Q_OS_IOS
static_cast<QPlainTextEdit*>(ptr)->print(static_cast<QPagedPaintDevice*>(printer));
#endif
}
class MyQProgressBar: public QProgressBar
{
public:
MyQProgressBar(QWidget *parent) : QProgressBar(parent) {};
void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); };
void reset() { callbackQProgressBar_Reset(this); };
void setMaximum(int maximum) { callbackQProgressBar_SetMaximum(this, maximum); };
void setMinimum(int minimum) { callbackQProgressBar_SetMinimum(this, minimum); };
void setOrientation(Qt::Orientation vqt) { callbackQProgressBar_SetOrientation(this, vqt); };
void setRange(int minimum, int maximum) { callbackQProgressBar_SetRange(this, minimum, maximum); };
void setValue(int value) { callbackQProgressBar_SetValue(this, value); };
void Signal_ValueChanged(int value) { callbackQProgressBar_ValueChanged(this, value); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QString text() const { return QString(callbackQProgressBar_Text(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QProgressBar_NewQProgressBar(void* parent)
{
return new MyQProgressBar(static_cast<QWidget*>(parent));
}
void QProgressBar_Reset(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QProgressBar*>(ptr), "reset");
}
void QProgressBar_ResetDefault(void* ptr)
{
static_cast<QProgressBar*>(ptr)->QProgressBar::reset();
}
void QProgressBar_ResetFormat(void* ptr)
{
static_cast<QProgressBar*>(ptr)->resetFormat();
}
void QProgressBar_SetAlignment(void* ptr, long long alignment)
{
static_cast<QProgressBar*>(ptr)->setAlignment(static_cast<Qt::AlignmentFlag>(alignment));
}
void QProgressBar_SetFormat(void* ptr, char* format)
{
static_cast<QProgressBar*>(ptr)->setFormat(QString(format));
}
void QProgressBar_SetInvertedAppearance(void* ptr, char invert)
{
static_cast<QProgressBar*>(ptr)->setInvertedAppearance(invert != 0);
}
void QProgressBar_SetMaximum(void* ptr, int maximum)
{
QMetaObject::invokeMethod(static_cast<QProgressBar*>(ptr), "setMaximum", Q_ARG(int, maximum));
}
void QProgressBar_SetMaximumDefault(void* ptr, int maximum)
{
static_cast<QProgressBar*>(ptr)->QProgressBar::setMaximum(maximum);
}
void QProgressBar_SetMinimum(void* ptr, int minimum)
{
QMetaObject::invokeMethod(static_cast<QProgressBar*>(ptr), "setMinimum", Q_ARG(int, minimum));
}
void QProgressBar_SetMinimumDefault(void* ptr, int minimum)
{
static_cast<QProgressBar*>(ptr)->QProgressBar::setMinimum(minimum);
}
void QProgressBar_SetOrientation(void* ptr, long long vqt)
{
QMetaObject::invokeMethod(static_cast<QProgressBar*>(ptr), "setOrientation", Q_ARG(Qt::Orientation, static_cast<Qt::Orientation>(vqt)));
}
void QProgressBar_SetOrientationDefault(void* ptr, long long vqt)
{
static_cast<QProgressBar*>(ptr)->QProgressBar::setOrientation(static_cast<Qt::Orientation>(vqt));
}
void QProgressBar_SetRange(void* ptr, int minimum, int maximum)
{
QMetaObject::invokeMethod(static_cast<QProgressBar*>(ptr), "setRange", Q_ARG(int, minimum), Q_ARG(int, maximum));
}
void QProgressBar_SetRangeDefault(void* ptr, int minimum, int maximum)
{
static_cast<QProgressBar*>(ptr)->QProgressBar::setRange(minimum, maximum);
}
void QProgressBar_SetTextDirection(void* ptr, long long textDirection)
{
static_cast<QProgressBar*>(ptr)->setTextDirection(static_cast<QProgressBar::Direction>(textDirection));
}
void QProgressBar_SetTextVisible(void* ptr, char visible)
{
static_cast<QProgressBar*>(ptr)->setTextVisible(visible != 0);
}
void QProgressBar_SetValue(void* ptr, int value)
{
QMetaObject::invokeMethod(static_cast<QProgressBar*>(ptr), "setValue", Q_ARG(int, value));
}
void QProgressBar_SetValueDefault(void* ptr, int value)
{
static_cast<QProgressBar*>(ptr)->QProgressBar::setValue(value);
}
void QProgressBar_ConnectValueChanged(void* ptr)
{
QObject::connect(static_cast<QProgressBar*>(ptr), static_cast<void (QProgressBar::*)(int)>(&QProgressBar::valueChanged), static_cast<MyQProgressBar*>(ptr), static_cast<void (MyQProgressBar::*)(int)>(&MyQProgressBar::Signal_ValueChanged));
}
void QProgressBar_DisconnectValueChanged(void* ptr)
{
QObject::disconnect(static_cast<QProgressBar*>(ptr), static_cast<void (QProgressBar::*)(int)>(&QProgressBar::valueChanged), static_cast<MyQProgressBar*>(ptr), static_cast<void (MyQProgressBar::*)(int)>(&MyQProgressBar::Signal_ValueChanged));
}
void QProgressBar_ValueChanged(void* ptr, int value)
{
static_cast<QProgressBar*>(ptr)->valueChanged(value);
}
void QProgressBar_DestroyQProgressBar(void* ptr)
{
static_cast<QProgressBar*>(ptr)->~QProgressBar();
}
long long QProgressBar_TextDirection(void* ptr)
{
return static_cast<QProgressBar*>(ptr)->textDirection();
}
struct QtWidgets_PackedString QProgressBar_Format(void* ptr)
{
return ({ QByteArray tfbdd88 = static_cast<QProgressBar*>(ptr)->format().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tfbdd88.prepend("WHITESPACE").constData()+10), tfbdd88.size()-10 }; });
}
struct QtWidgets_PackedString QProgressBar_Text(void* ptr)
{
return ({ QByteArray tffaa7f = static_cast<QProgressBar*>(ptr)->text().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tffaa7f.prepend("WHITESPACE").constData()+10), tffaa7f.size()-10 }; });
}
struct QtWidgets_PackedString QProgressBar_TextDefault(void* ptr)
{
return ({ QByteArray t6f1b9c = static_cast<QProgressBar*>(ptr)->QProgressBar::text().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t6f1b9c.prepend("WHITESPACE").constData()+10), t6f1b9c.size()-10 }; });
}
long long QProgressBar_Alignment(void* ptr)
{
return static_cast<QProgressBar*>(ptr)->alignment();
}
long long QProgressBar_Orientation(void* ptr)
{
return static_cast<QProgressBar*>(ptr)->orientation();
}
char QProgressBar_InvertedAppearance(void* ptr)
{
return static_cast<QProgressBar*>(ptr)->invertedAppearance();
}
char QProgressBar_IsTextVisible(void* ptr)
{
return static_cast<QProgressBar*>(ptr)->isTextVisible();
}
int QProgressBar_Maximum(void* ptr)
{
return static_cast<QProgressBar*>(ptr)->maximum();
}
int QProgressBar_Minimum(void* ptr)
{
return static_cast<QProgressBar*>(ptr)->minimum();
}
int QProgressBar_Value(void* ptr)
{
return static_cast<QProgressBar*>(ptr)->value();
}
void QProgressBar_InitStyleOption(void* ptr, void* option)
{
static_cast<QProgressBar*>(ptr)->initStyleOption(static_cast<QStyleOptionProgressBar*>(option));
}
class MyQProgressDialog: public QProgressDialog
{
public:
MyQProgressDialog(QWidget *parent, Qt::WindowFlags f) : QProgressDialog(parent, f) {};
MyQProgressDialog(const QString &labelText, const QString &cancelButtonText, int minimum, int maximum, QWidget *parent, Qt::WindowFlags f) : QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, f) {};
void cancel() { callbackQProgressDialog_Cancel(this); };
void Signal_Canceled() { callbackQProgressDialog_Canceled(this); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); };
void forceShow() { callbackQProgressDialog_ForceShow(this); };
void reset() { callbackQProgressDialog_Reset(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setCancelButtonText(const QString & cancelButtonText) { QByteArray td2e1e2 = cancelButtonText.toUtf8(); QtWidgets_PackedString cancelButtonTextPacked = { const_cast<char*>(td2e1e2.prepend("WHITESPACE").constData()+10), td2e1e2.size()-10 };callbackQProgressDialog_SetCancelButtonText(this, cancelButtonTextPacked); };
void setLabelText(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQProgressDialog_SetLabelText(this, textPacked); };
void setMaximum(int maximum) { callbackQProgressDialog_SetMaximum(this, maximum); };
void setMinimum(int minimum) { callbackQProgressDialog_SetMinimum(this, minimum); };
void setMinimumDuration(int ms) { callbackQProgressDialog_SetMinimumDuration(this, ms); };
void setRange(int minimum, int maximum) { callbackQProgressDialog_SetRange(this, minimum, maximum); };
void setValue(int progress) { callbackQProgressDialog_SetValue(this, progress); };
void showEvent(QShowEvent * e) { callbackQWidget_ShowEvent(this, e); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
int exec() { return callbackQDialog_Exec(this); };
void accept() { callbackQDialog_Accept(this); };
void Signal_Accepted() { callbackQDialog_Accepted(this); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void done(int r) { callbackQDialog_Done(this, r); };
void Signal_Finished(int result) { callbackQDialog_Finished(this, result); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void open() { callbackQDialog_Open(this); };
void reject() { callbackQDialog_Reject(this); };
void Signal_Rejected() { callbackQDialog_Rejected(this); };
void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QProgressDialog_NewQProgressDialog(void* parent, long long fo)
{
return new MyQProgressDialog(static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(fo));
}
void* QProgressDialog_NewQProgressDialog2(char* labelText, char* cancelButtonText, int minimum, int maximum, void* parent, long long fo)
{
return new MyQProgressDialog(QString(labelText), QString(cancelButtonText), minimum, maximum, static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(fo));
}
void QProgressDialog_Cancel(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QProgressDialog*>(ptr), "cancel");
}
void QProgressDialog_CancelDefault(void* ptr)
{
static_cast<QProgressDialog*>(ptr)->QProgressDialog::cancel();
}
void QProgressDialog_ConnectCanceled(void* ptr)
{
QObject::connect(static_cast<QProgressDialog*>(ptr), static_cast<void (QProgressDialog::*)()>(&QProgressDialog::canceled), static_cast<MyQProgressDialog*>(ptr), static_cast<void (MyQProgressDialog::*)()>(&MyQProgressDialog::Signal_Canceled));
}
void QProgressDialog_DisconnectCanceled(void* ptr)
{
QObject::disconnect(static_cast<QProgressDialog*>(ptr), static_cast<void (QProgressDialog::*)()>(&QProgressDialog::canceled), static_cast<MyQProgressDialog*>(ptr), static_cast<void (MyQProgressDialog::*)()>(&MyQProgressDialog::Signal_Canceled));
}
void QProgressDialog_Canceled(void* ptr)
{
static_cast<QProgressDialog*>(ptr)->canceled();
}
void QProgressDialog_ForceShow(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QProgressDialog*>(ptr), "forceShow");
}
void QProgressDialog_ForceShowDefault(void* ptr)
{
static_cast<QProgressDialog*>(ptr)->QProgressDialog::forceShow();
}
void QProgressDialog_Open(void* ptr, void* receiver, char* member)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(receiver))) {
static_cast<QProgressDialog*>(ptr)->open(static_cast<QGraphicsObject*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(receiver))) {
static_cast<QProgressDialog*>(ptr)->open(static_cast<QGraphicsWidget*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(receiver))) {
static_cast<QProgressDialog*>(ptr)->open(static_cast<QLayout*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(receiver))) {
static_cast<QProgressDialog*>(ptr)->open(static_cast<QWidget*>(receiver), const_cast<const char*>(member));
} else {
static_cast<QProgressDialog*>(ptr)->open(static_cast<QObject*>(receiver), const_cast<const char*>(member));
}
}
void QProgressDialog_Reset(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QProgressDialog*>(ptr), "reset");
}
void QProgressDialog_ResetDefault(void* ptr)
{
static_cast<QProgressDialog*>(ptr)->QProgressDialog::reset();
}
void QProgressDialog_SetAutoClose(void* ptr, char close)
{
static_cast<QProgressDialog*>(ptr)->setAutoClose(close != 0);
}
void QProgressDialog_SetAutoReset(void* ptr, char reset)
{
static_cast<QProgressDialog*>(ptr)->setAutoReset(reset != 0);
}
void QProgressDialog_SetBar(void* ptr, void* bar)
{
static_cast<QProgressDialog*>(ptr)->setBar(static_cast<QProgressBar*>(bar));
}
void QProgressDialog_SetCancelButton(void* ptr, void* cancelButton)
{
static_cast<QProgressDialog*>(ptr)->setCancelButton(static_cast<QPushButton*>(cancelButton));
}
void QProgressDialog_SetCancelButtonText(void* ptr, char* cancelButtonText)
{
QMetaObject::invokeMethod(static_cast<QProgressDialog*>(ptr), "setCancelButtonText", Q_ARG(QString, QString(cancelButtonText)));
}
void QProgressDialog_SetCancelButtonTextDefault(void* ptr, char* cancelButtonText)
{
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setCancelButtonText(QString(cancelButtonText));
}
void QProgressDialog_SetLabel(void* ptr, void* label)
{
static_cast<QProgressDialog*>(ptr)->setLabel(static_cast<QLabel*>(label));
}
void QProgressDialog_SetLabelText(void* ptr, char* text)
{
QMetaObject::invokeMethod(static_cast<QProgressDialog*>(ptr), "setLabelText", Q_ARG(QString, QString(text)));
}
void QProgressDialog_SetLabelTextDefault(void* ptr, char* text)
{
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setLabelText(QString(text));
}
void QProgressDialog_SetMaximum(void* ptr, int maximum)
{
QMetaObject::invokeMethod(static_cast<QProgressDialog*>(ptr), "setMaximum", Q_ARG(int, maximum));
}
void QProgressDialog_SetMaximumDefault(void* ptr, int maximum)
{
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setMaximum(maximum);
}
void QProgressDialog_SetMinimum(void* ptr, int minimum)
{
QMetaObject::invokeMethod(static_cast<QProgressDialog*>(ptr), "setMinimum", Q_ARG(int, minimum));
}
void QProgressDialog_SetMinimumDefault(void* ptr, int minimum)
{
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setMinimum(minimum);
}
void QProgressDialog_SetMinimumDuration(void* ptr, int ms)
{
QMetaObject::invokeMethod(static_cast<QProgressDialog*>(ptr), "setMinimumDuration", Q_ARG(int, ms));
}
void QProgressDialog_SetMinimumDurationDefault(void* ptr, int ms)
{
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setMinimumDuration(ms);
}
void QProgressDialog_SetRange(void* ptr, int minimum, int maximum)
{
QMetaObject::invokeMethod(static_cast<QProgressDialog*>(ptr), "setRange", Q_ARG(int, minimum), Q_ARG(int, maximum));
}
void QProgressDialog_SetRangeDefault(void* ptr, int minimum, int maximum)
{
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setRange(minimum, maximum);
}
void QProgressDialog_SetValue(void* ptr, int progress)
{
QMetaObject::invokeMethod(static_cast<QProgressDialog*>(ptr), "setValue", Q_ARG(int, progress));
}
void QProgressDialog_SetValueDefault(void* ptr, int progress)
{
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setValue(progress);
}
void QProgressDialog_DestroyQProgressDialog(void* ptr)
{
static_cast<QProgressDialog*>(ptr)->~QProgressDialog();
}
struct QtWidgets_PackedString QProgressDialog_LabelText(void* ptr)
{
return ({ QByteArray t2a151b = static_cast<QProgressDialog*>(ptr)->labelText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t2a151b.prepend("WHITESPACE").constData()+10), t2a151b.size()-10 }; });
}
char QProgressDialog_AutoClose(void* ptr)
{
return static_cast<QProgressDialog*>(ptr)->autoClose();
}
char QProgressDialog_AutoReset(void* ptr)
{
return static_cast<QProgressDialog*>(ptr)->autoReset();
}
char QProgressDialog_WasCanceled(void* ptr)
{
return static_cast<QProgressDialog*>(ptr)->wasCanceled();
}
int QProgressDialog_Maximum(void* ptr)
{
return static_cast<QProgressDialog*>(ptr)->maximum();
}
int QProgressDialog_Minimum(void* ptr)
{
return static_cast<QProgressDialog*>(ptr)->minimum();
}
int QProgressDialog_MinimumDuration(void* ptr)
{
return static_cast<QProgressDialog*>(ptr)->minimumDuration();
}
int QProgressDialog_Value(void* ptr)
{
return static_cast<QProgressDialog*>(ptr)->value();
}
class MyQProxyStyle: public QProxyStyle
{
public:
MyQProxyStyle(QStyle *style) : QProxyStyle(style) {};
MyQProxyStyle(const QString &key) : QProxyStyle(key) {};
void polish(QApplication * app) { callbackQStyle_Polish3(this, app); };
void polish(QPalette & pal) { callbackQStyle_Polish2(this, static_cast<QPalette*>(&pal)); };
void polish(QWidget * widget) { callbackQStyle_Polish(this, widget); };
void unpolish(QApplication * app) { callbackQStyle_Unpolish2(this, app); };
void unpolish(QWidget * widget) { callbackQStyle_Unpolish(this, widget); };
QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption * option, const QWidget * widget) const { return *static_cast<QIcon*>(callbackQProxyStyle_StandardIcon(const_cast<void*>(static_cast<const void*>(this)), standardIcon, const_cast<QStyleOption*>(option), const_cast<QWidget*>(widget))); };
QPalette standardPalette() const { return *static_cast<QPalette*>(callbackQStyle_StandardPalette(const_cast<void*>(static_cast<const void*>(this)))); };
QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap & pixmap, const QStyleOption * opt) const { return *static_cast<QPixmap*>(callbackQCommonStyle_GeneratedIconPixmap(const_cast<void*>(static_cast<const void*>(this)), iconMode, const_cast<QPixmap*>(&pixmap), const_cast<QStyleOption*>(opt))); };
QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption * opt, const QWidget * widget) const { return *static_cast<QPixmap*>(callbackQCommonStyle_StandardPixmap(const_cast<void*>(static_cast<const void*>(this)), standardPixmap, const_cast<QStyleOption*>(opt), const_cast<QWidget*>(widget))); };
QRect itemPixmapRect(const QRect & r, int flags, const QPixmap & pixmap) const { return *static_cast<QRect*>(callbackQStyle_ItemPixmapRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QRect*>(&r), flags, const_cast<QPixmap*>(&pixmap))); };
QRect itemTextRect(const QFontMetrics & fm, const QRect & r, int flags, bool enabled, const QString & text) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };return *static_cast<QRect*>(callbackQStyle_ItemTextRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QFontMetrics*>(&fm), const_cast<QRect*>(&r), flags, enabled, textPacked)); };
QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex * option, QStyle::SubControl sc, const QWidget * widget) const { return *static_cast<QRect*>(callbackQCommonStyle_SubControlRect(const_cast<void*>(static_cast<const void*>(this)), cc, const_cast<QStyleOptionComplex*>(option), sc, const_cast<QWidget*>(widget))); };
QRect subElementRect(QStyle::SubElement element, const QStyleOption * option, const QWidget * widget) const { return *static_cast<QRect*>(callbackQCommonStyle_SubElementRect(const_cast<void*>(static_cast<const void*>(this)), element, const_cast<QStyleOption*>(option), const_cast<QWidget*>(widget))); };
QSize sizeFromContents(QStyle::ContentsType ty, const QStyleOption * option, const QSize & size, const QWidget * widget) const { return *static_cast<QSize*>(callbackQCommonStyle_SizeFromContents(const_cast<void*>(static_cast<const void*>(this)), ty, const_cast<QStyleOption*>(option), const_cast<QSize*>(&size), const_cast<QWidget*>(widget))); };
SubControl hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex * option, const QPoint & pos, const QWidget * widget) const { return static_cast<QStyle::SubControl>(callbackQCommonStyle_HitTestComplexControl(const_cast<void*>(static_cast<const void*>(this)), control, const_cast<QStyleOptionComplex*>(option), const_cast<QPoint*>(&pos), const_cast<QWidget*>(widget))); };
int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption * option, const QWidget * widget) const { return callbackQCommonStyle_LayoutSpacing(const_cast<void*>(static_cast<const void*>(this)), control1, control2, orientation, const_cast<QStyleOption*>(option), const_cast<QWidget*>(widget)); };
int pixelMetric(QStyle::PixelMetric metric, const QStyleOption * option, const QWidget * widget) const { return callbackQCommonStyle_PixelMetric(const_cast<void*>(static_cast<const void*>(this)), metric, const_cast<QStyleOption*>(option), const_cast<QWidget*>(widget)); };
int styleHint(QStyle::StyleHint hint, const QStyleOption * option, const QWidget * widget, QStyleHintReturn * returnData) const { return callbackQCommonStyle_StyleHint(const_cast<void*>(static_cast<const void*>(this)), hint, const_cast<QStyleOption*>(option), const_cast<QWidget*>(widget), returnData); };
void drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex * option, QPainter * painter, const QWidget * widget) const { callbackQCommonStyle_DrawComplexControl(const_cast<void*>(static_cast<const void*>(this)), control, const_cast<QStyleOptionComplex*>(option), painter, const_cast<QWidget*>(widget)); };
void drawControl(QStyle::ControlElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget) const { callbackQCommonStyle_DrawControl(const_cast<void*>(static_cast<const void*>(this)), element, const_cast<QStyleOption*>(option), painter, const_cast<QWidget*>(widget)); };
void drawItemPixmap(QPainter * painter, const QRect & rect, int alignment, const QPixmap & pixmap) const { callbackQStyle_DrawItemPixmap(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QRect*>(&rect), alignment, const_cast<QPixmap*>(&pixmap)); };
void drawItemText(QPainter * painter, const QRect & rect, int flags, const QPalette & pal, bool enabled, const QString & text, QPalette::ColorRole textRole) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQStyle_DrawItemText(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QRect*>(&rect), flags, const_cast<QPalette*>(&pal), enabled, textPacked, textRole); };
void drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget) const { callbackQCommonStyle_DrawPrimitive(const_cast<void*>(static_cast<const void*>(this)), element, const_cast<QStyleOption*>(option), painter, const_cast<QWidget*>(widget)); };
bool event(QEvent * e) { return callbackQStyle_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQStyle_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQStyle_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQStyle_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQStyle_CustomEvent(this, event); };
void deleteLater() { callbackQStyle_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQStyle_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQStyle_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQStyle_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQStyle_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQStyle_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QProxyStyle_NewQProxyStyle(void* style)
{
return new MyQProxyStyle(static_cast<QStyle*>(style));
}
void* QProxyStyle_NewQProxyStyle2(char* key)
{
return new MyQProxyStyle(QString(key));
}
void QProxyStyle_SetBaseStyle(void* ptr, void* style)
{
static_cast<QProxyStyle*>(ptr)->setBaseStyle(static_cast<QStyle*>(style));
}
void QProxyStyle_DestroyQProxyStyle(void* ptr)
{
static_cast<QProxyStyle*>(ptr)->~QProxyStyle();
}
void* QProxyStyle_StandardIcon(void* ptr, long long standardIcon, void* option, void* widget)
{
return new QIcon(static_cast<QProxyStyle*>(ptr)->standardIcon(static_cast<QStyle::StandardPixmap>(standardIcon), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget)));
}
void* QProxyStyle_StandardIconDefault(void* ptr, long long standardIcon, void* option, void* widget)
{
return new QIcon(static_cast<QProxyStyle*>(ptr)->QProxyStyle::standardIcon(static_cast<QStyle::StandardPixmap>(standardIcon), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget)));
}
void* QProxyStyle_BaseStyle(void* ptr)
{
return static_cast<QProxyStyle*>(ptr)->baseStyle();
}
class MyQPushButton: public QPushButton
{
public:
MyQPushButton(QWidget *parent) : QPushButton(parent) {};
MyQPushButton(const QIcon &icon, const QString &text, QWidget *parent) : QPushButton(icon, text, parent) {};
MyQPushButton(const QString &text, QWidget *parent) : QPushButton(text, parent) {};
void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); };
void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void paintEvent(QPaintEvent * vqp) { callbackQPushButton_PaintEvent(this, vqp); };
void showMenu() { callbackQPushButton_ShowMenu(this); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void animateClick(int msec) { callbackQAbstractButton_AnimateClick(this, msec); };
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void checkStateSet() { callbackQAbstractButton_CheckStateSet(this); };
void click() { callbackQAbstractButton_Click(this); };
void Signal_Clicked(bool checked) { callbackQAbstractButton_Clicked(this, checked); };
void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void nextCheckState() { callbackQAbstractButton_NextCheckState(this); };
void Signal_Pressed() { callbackQAbstractButton_Pressed(this); };
void Signal_Released() { callbackQAbstractButton_Released(this); };
void setChecked(bool vbo) { callbackQAbstractButton_SetChecked(this, vbo); };
void setIconSize(const QSize & size) { callbackQAbstractButton_SetIconSize(this, const_cast<QSize*>(&size)); };
void toggle() { callbackQAbstractButton_Toggle(this); };
void Signal_Toggled(bool checked) { callbackQAbstractButton_Toggled(this, checked); };
bool hitButton(const QPoint & pos) const { return callbackQAbstractButton_HitButton(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&pos)) != 0; };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QPushButton_NewQPushButton(void* parent)
{
return new MyQPushButton(static_cast<QWidget*>(parent));
}
void* QPushButton_NewQPushButton3(void* icon, char* text, void* parent)
{
return new MyQPushButton(*static_cast<QIcon*>(icon), QString(text), static_cast<QWidget*>(parent));
}
void* QPushButton_NewQPushButton2(char* text, void* parent)
{
return new MyQPushButton(QString(text), static_cast<QWidget*>(parent));
}
void QPushButton_PaintEvent(void* ptr, void* vqp)
{
static_cast<QPushButton*>(ptr)->paintEvent(static_cast<QPaintEvent*>(vqp));
}
void QPushButton_PaintEventDefault(void* ptr, void* vqp)
{
if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::paintEvent(static_cast<QPaintEvent*>(vqp));
} else {
static_cast<QPushButton*>(ptr)->QPushButton::paintEvent(static_cast<QPaintEvent*>(vqp));
}
}
void QPushButton_SetAutoDefault(void* ptr, char vbo)
{
static_cast<QPushButton*>(ptr)->setAutoDefault(vbo != 0);
}
void QPushButton_SetDefault(void* ptr, char vbo)
{
static_cast<QPushButton*>(ptr)->setDefault(vbo != 0);
}
void QPushButton_SetFlat(void* ptr, char vbo)
{
static_cast<QPushButton*>(ptr)->setFlat(vbo != 0);
}
void QPushButton_SetMenu(void* ptr, void* menu)
{
static_cast<QPushButton*>(ptr)->setMenu(static_cast<QMenu*>(menu));
}
void QPushButton_ShowMenu(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QPushButton*>(ptr), "showMenu");
}
void QPushButton_ShowMenuDefault(void* ptr)
{
if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::showMenu();
} else {
static_cast<QPushButton*>(ptr)->QPushButton::showMenu();
}
}
void QPushButton_DestroyQPushButton(void* ptr)
{
static_cast<QPushButton*>(ptr)->~QPushButton();
}
void* QPushButton_Menu(void* ptr)
{
return static_cast<QPushButton*>(ptr)->menu();
}
char QPushButton_AutoDefault(void* ptr)
{
return static_cast<QPushButton*>(ptr)->autoDefault();
}
char QPushButton_IsDefault(void* ptr)
{
return static_cast<QPushButton*>(ptr)->isDefault();
}
char QPushButton_IsFlat(void* ptr)
{
return static_cast<QPushButton*>(ptr)->isFlat();
}
void QPushButton_InitStyleOption(void* ptr, void* option)
{
static_cast<QPushButton*>(ptr)->initStyleOption(static_cast<QStyleOptionButton*>(option));
}
class MyQRadioButton: public QRadioButton
{
public:
MyQRadioButton(QWidget *parent) : QRadioButton(parent) {};
MyQRadioButton(const QString &text, QWidget *parent) : QRadioButton(text, parent) {};
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void paintEvent(QPaintEvent * vqp) { callbackQRadioButton_PaintEvent(this, vqp); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool hitButton(const QPoint & pos) const { return callbackQAbstractButton_HitButton(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&pos)) != 0; };
void animateClick(int msec) { callbackQAbstractButton_AnimateClick(this, msec); };
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void checkStateSet() { callbackQAbstractButton_CheckStateSet(this); };
void click() { callbackQAbstractButton_Click(this); };
void Signal_Clicked(bool checked) { callbackQAbstractButton_Clicked(this, checked); };
void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); };
void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void nextCheckState() { callbackQAbstractButton_NextCheckState(this); };
void Signal_Pressed() { callbackQAbstractButton_Pressed(this); };
void Signal_Released() { callbackQAbstractButton_Released(this); };
void setChecked(bool vbo) { callbackQAbstractButton_SetChecked(this, vbo); };
void setIconSize(const QSize & size) { callbackQAbstractButton_SetIconSize(this, const_cast<QSize*>(&size)); };
void toggle() { callbackQAbstractButton_Toggle(this); };
void Signal_Toggled(bool checked) { callbackQAbstractButton_Toggled(this, checked); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QRadioButton_NewQRadioButton(void* parent)
{
return new MyQRadioButton(static_cast<QWidget*>(parent));
}
void* QRadioButton_NewQRadioButton2(char* text, void* parent)
{
return new MyQRadioButton(QString(text), static_cast<QWidget*>(parent));
}
void QRadioButton_PaintEvent(void* ptr, void* vqp)
{
static_cast<QRadioButton*>(ptr)->paintEvent(static_cast<QPaintEvent*>(vqp));
}
void QRadioButton_PaintEventDefault(void* ptr, void* vqp)
{
static_cast<QRadioButton*>(ptr)->QRadioButton::paintEvent(static_cast<QPaintEvent*>(vqp));
}
void QRadioButton_DestroyQRadioButton(void* ptr)
{
static_cast<QRadioButton*>(ptr)->~QRadioButton();
}
void QRadioButton_InitStyleOption(void* ptr, void* option)
{
static_cast<QRadioButton*>(ptr)->initStyleOption(static_cast<QStyleOptionButton*>(option));
}
class MyQRubberBand: public QRubberBand
{
public:
MyQRubberBand(Shape s, QWidget *p) : QRubberBand(s, p) {};
void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); };
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void moveEvent(QMoveEvent * vqm) { callbackQWidget_MoveEvent(this, vqm); };
void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); };
void showEvent(QShowEvent * e) { callbackQWidget_ShowEvent(this, e); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QRubberBand_NewQRubberBand(long long s, void* p)
{
return new MyQRubberBand(static_cast<QRubberBand::Shape>(s), static_cast<QWidget*>(p));
}
void QRubberBand_DestroyQRubberBand(void* ptr)
{
static_cast<QRubberBand*>(ptr)->~QRubberBand();
}
long long QRubberBand_Shape(void* ptr)
{
return static_cast<QRubberBand*>(ptr)->shape();
}
void QRubberBand_InitStyleOption(void* ptr, void* option)
{
static_cast<QRubberBand*>(ptr)->initStyleOption(static_cast<QStyleOptionRubberBand*>(option));
}
class MyQScrollArea: public QScrollArea
{
public:
MyQScrollArea(QWidget *parent) : QScrollArea(parent) {};
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QScrollArea_NewQScrollArea(void* parent)
{
return new MyQScrollArea(static_cast<QWidget*>(parent));
}
void* QScrollArea_TakeWidget(void* ptr)
{
return static_cast<QScrollArea*>(ptr)->takeWidget();
}
void QScrollArea_EnsureVisible(void* ptr, int x, int y, int xmargin, int ymargin)
{
static_cast<QScrollArea*>(ptr)->ensureVisible(x, y, xmargin, ymargin);
}
void QScrollArea_EnsureWidgetVisible(void* ptr, void* childWidget, int xmargin, int ymargin)
{
static_cast<QScrollArea*>(ptr)->ensureWidgetVisible(static_cast<QWidget*>(childWidget), xmargin, ymargin);
}
void QScrollArea_SetAlignment(void* ptr, long long vqt)
{
static_cast<QScrollArea*>(ptr)->setAlignment(static_cast<Qt::AlignmentFlag>(vqt));
}
void QScrollArea_SetWidget(void* ptr, void* widget)
{
static_cast<QScrollArea*>(ptr)->setWidget(static_cast<QWidget*>(widget));
}
void QScrollArea_SetWidgetResizable(void* ptr, char resizable)
{
static_cast<QScrollArea*>(ptr)->setWidgetResizable(resizable != 0);
}
void QScrollArea_DestroyQScrollArea(void* ptr)
{
static_cast<QScrollArea*>(ptr)->~QScrollArea();
}
void* QScrollArea_Widget(void* ptr)
{
return static_cast<QScrollArea*>(ptr)->widget();
}
long long QScrollArea_Alignment(void* ptr)
{
return static_cast<QScrollArea*>(ptr)->alignment();
}
char QScrollArea_WidgetResizable(void* ptr)
{
return static_cast<QScrollArea*>(ptr)->widgetResizable();
}
class MyQScrollBar: public QScrollBar
{
public:
MyQScrollBar(QWidget *parent) : QScrollBar(parent) {};
MyQScrollBar(Qt::Orientation orientation, QWidget *parent) : QScrollBar(orientation, parent) {};
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void hideEvent(QHideEvent * vqh) { callbackQWidget_HideEvent(this, vqh); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); };
void sliderChange(QAbstractSlider::SliderChange change) { callbackQAbstractSlider_SliderChange(this, change); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void Signal_ActionTriggered(int action) { callbackQAbstractSlider_ActionTriggered(this, action); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
void keyPressEvent(QKeyEvent * ev) { callbackQWidget_KeyPressEvent(this, ev); };
void Signal_RangeChanged(int min, int max) { callbackQAbstractSlider_RangeChanged(this, min, max); };
void setOrientation(Qt::Orientation vqt) { callbackQAbstractSlider_SetOrientation(this, vqt); };
void setRange(int min, int max) { callbackQAbstractSlider_SetRange(this, min, max); };
void setValue(int vin) { callbackQAbstractSlider_SetValue(this, vin); };
void Signal_SliderMoved(int value) { callbackQAbstractSlider_SliderMoved(this, value); };
void Signal_SliderPressed() { callbackQAbstractSlider_SliderPressed(this); };
void Signal_SliderReleased() { callbackQAbstractSlider_SliderReleased(this); };
void Signal_ValueChanged(int value) { callbackQAbstractSlider_ValueChanged(this, value); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QScrollBar_NewQScrollBar(void* parent)
{
return new MyQScrollBar(static_cast<QWidget*>(parent));
}
void* QScrollBar_NewQScrollBar2(long long orientation, void* parent)
{
return new MyQScrollBar(static_cast<Qt::Orientation>(orientation), static_cast<QWidget*>(parent));
}
void QScrollBar_DestroyQScrollBar(void* ptr)
{
static_cast<QScrollBar*>(ptr)->~QScrollBar();
}
void QScrollBar_InitStyleOption(void* ptr, void* option)
{
static_cast<QScrollBar*>(ptr)->initStyleOption(static_cast<QStyleOptionSlider*>(option));
}
class MyQScroller: public QScroller
{
public:
void ensureVisible(const QRectF & rect, qreal xmargin, qreal ymargin) { callbackQScroller_EnsureVisible(this, const_cast<QRectF*>(&rect), xmargin, ymargin); };
void ensureVisible(const QRectF & rect, qreal xmargin, qreal ymargin, int scrollTime) { callbackQScroller_EnsureVisible2(this, const_cast<QRectF*>(&rect), xmargin, ymargin, scrollTime); };
void resendPrepareEvent() { callbackQScroller_ResendPrepareEvent(this); };
void scrollTo(const QPointF & pos) { callbackQScroller_ScrollTo(this, const_cast<QPointF*>(&pos)); };
void scrollTo(const QPointF & pos, int scrollTime) { callbackQScroller_ScrollTo2(this, const_cast<QPointF*>(&pos), scrollTime); };
void Signal_ScrollerPropertiesChanged(const QScrollerProperties & newProperties) { callbackQScroller_ScrollerPropertiesChanged(this, const_cast<QScrollerProperties*>(&newProperties)); };
void setScrollerProperties(const QScrollerProperties & prop) { callbackQScroller_SetScrollerProperties(this, const_cast<QScrollerProperties*>(&prop)); };
void Signal_StateChanged(QScroller::State newState) { callbackQScroller_StateChanged(this, newState); };
bool event(QEvent * e) { return callbackQScroller_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQScroller_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQScroller_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQScroller_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQScroller_CustomEvent(this, event); };
void deleteLater() { callbackQScroller_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQScroller_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQScroller_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQScroller_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQScroller_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQScroller_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
struct QtWidgets_PackedList QScroller_QScroller_ActiveScrollers()
{
return ({ QList<QScroller *>* tmpValue = new QList<QScroller *>(QScroller::activeScrollers()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QScroller_QScroller_Scroller(void* target)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(target))) {
return QScroller::scroller(static_cast<QGraphicsObject*>(target));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(target))) {
return QScroller::scroller(static_cast<QGraphicsWidget*>(target));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(target))) {
return QScroller::scroller(static_cast<QLayout*>(target));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(target))) {
return QScroller::scroller(static_cast<QWidget*>(target));
} else {
return QScroller::scroller(static_cast<QObject*>(target));
}
}
long long QScroller_QScroller_GrabGesture(void* target, long long scrollGestureType)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(target))) {
return QScroller::grabGesture(static_cast<QGraphicsObject*>(target), static_cast<QScroller::ScrollerGestureType>(scrollGestureType));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(target))) {
return QScroller::grabGesture(static_cast<QGraphicsWidget*>(target), static_cast<QScroller::ScrollerGestureType>(scrollGestureType));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(target))) {
return QScroller::grabGesture(static_cast<QLayout*>(target), static_cast<QScroller::ScrollerGestureType>(scrollGestureType));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(target))) {
return QScroller::grabGesture(static_cast<QWidget*>(target), static_cast<QScroller::ScrollerGestureType>(scrollGestureType));
} else {
return QScroller::grabGesture(static_cast<QObject*>(target), static_cast<QScroller::ScrollerGestureType>(scrollGestureType));
}
}
long long QScroller_QScroller_GrabbedGesture(void* target)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(target))) {
return QScroller::grabbedGesture(static_cast<QGraphicsObject*>(target));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(target))) {
return QScroller::grabbedGesture(static_cast<QGraphicsWidget*>(target));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(target))) {
return QScroller::grabbedGesture(static_cast<QLayout*>(target));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(target))) {
return QScroller::grabbedGesture(static_cast<QWidget*>(target));
} else {
return QScroller::grabbedGesture(static_cast<QObject*>(target));
}
}
char QScroller_HandleInput(void* ptr, long long input, void* position, long long timestamp)
{
return static_cast<QScroller*>(ptr)->handleInput(static_cast<QScroller::Input>(input), *static_cast<QPointF*>(position), timestamp);
}
char QScroller_QScroller_HasScroller(void* target)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(target))) {
return QScroller::hasScroller(static_cast<QGraphicsObject*>(target));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(target))) {
return QScroller::hasScroller(static_cast<QGraphicsWidget*>(target));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(target))) {
return QScroller::hasScroller(static_cast<QLayout*>(target));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(target))) {
return QScroller::hasScroller(static_cast<QWidget*>(target));
} else {
return QScroller::hasScroller(static_cast<QObject*>(target));
}
}
void* QScroller_QScroller_Scroller2(void* target)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(target))) {
return const_cast<QScroller*>(QScroller::scroller(static_cast<QGraphicsObject*>(target)));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(target))) {
return const_cast<QScroller*>(QScroller::scroller(static_cast<QGraphicsWidget*>(target)));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(target))) {
return const_cast<QScroller*>(QScroller::scroller(static_cast<QLayout*>(target)));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(target))) {
return const_cast<QScroller*>(QScroller::scroller(static_cast<QWidget*>(target)));
} else {
return const_cast<QScroller*>(QScroller::scroller(static_cast<QObject*>(target)));
}
}
void QScroller_EnsureVisible(void* ptr, void* rect, double xmargin, double ymargin)
{
QMetaObject::invokeMethod(static_cast<QScroller*>(ptr), "ensureVisible", Q_ARG(QRectF, *static_cast<QRectF*>(rect)), Q_ARG(qreal, xmargin), Q_ARG(qreal, ymargin));
}
void QScroller_EnsureVisibleDefault(void* ptr, void* rect, double xmargin, double ymargin)
{
static_cast<QScroller*>(ptr)->QScroller::ensureVisible(*static_cast<QRectF*>(rect), xmargin, ymargin);
}
void QScroller_EnsureVisible2(void* ptr, void* rect, double xmargin, double ymargin, int scrollTime)
{
QMetaObject::invokeMethod(static_cast<QScroller*>(ptr), "ensureVisible", Q_ARG(QRectF, *static_cast<QRectF*>(rect)), Q_ARG(qreal, xmargin), Q_ARG(qreal, ymargin), Q_ARG(int, scrollTime));
}
void QScroller_EnsureVisible2Default(void* ptr, void* rect, double xmargin, double ymargin, int scrollTime)
{
static_cast<QScroller*>(ptr)->QScroller::ensureVisible(*static_cast<QRectF*>(rect), xmargin, ymargin, scrollTime);
}
void QScroller_ResendPrepareEvent(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QScroller*>(ptr), "resendPrepareEvent");
}
void QScroller_ResendPrepareEventDefault(void* ptr)
{
static_cast<QScroller*>(ptr)->QScroller::resendPrepareEvent();
}
void QScroller_ScrollTo(void* ptr, void* pos)
{
QMetaObject::invokeMethod(static_cast<QScroller*>(ptr), "scrollTo", Q_ARG(QPointF, *static_cast<QPointF*>(pos)));
}
void QScroller_ScrollToDefault(void* ptr, void* pos)
{
static_cast<QScroller*>(ptr)->QScroller::scrollTo(*static_cast<QPointF*>(pos));
}
void QScroller_ScrollTo2(void* ptr, void* pos, int scrollTime)
{
QMetaObject::invokeMethod(static_cast<QScroller*>(ptr), "scrollTo", Q_ARG(QPointF, *static_cast<QPointF*>(pos)), Q_ARG(int, scrollTime));
}
void QScroller_ScrollTo2Default(void* ptr, void* pos, int scrollTime)
{
static_cast<QScroller*>(ptr)->QScroller::scrollTo(*static_cast<QPointF*>(pos), scrollTime);
}
void QScroller_ConnectScrollerPropertiesChanged(void* ptr)
{
QObject::connect(static_cast<QScroller*>(ptr), static_cast<void (QScroller::*)(const QScrollerProperties &)>(&QScroller::scrollerPropertiesChanged), static_cast<MyQScroller*>(ptr), static_cast<void (MyQScroller::*)(const QScrollerProperties &)>(&MyQScroller::Signal_ScrollerPropertiesChanged));
}
void QScroller_DisconnectScrollerPropertiesChanged(void* ptr)
{
QObject::disconnect(static_cast<QScroller*>(ptr), static_cast<void (QScroller::*)(const QScrollerProperties &)>(&QScroller::scrollerPropertiesChanged), static_cast<MyQScroller*>(ptr), static_cast<void (MyQScroller::*)(const QScrollerProperties &)>(&MyQScroller::Signal_ScrollerPropertiesChanged));
}
void QScroller_ScrollerPropertiesChanged(void* ptr, void* newProperties)
{
static_cast<QScroller*>(ptr)->scrollerPropertiesChanged(*static_cast<QScrollerProperties*>(newProperties));
}
void QScroller_SetScrollerProperties(void* ptr, void* prop)
{
QMetaObject::invokeMethod(static_cast<QScroller*>(ptr), "setScrollerProperties", Q_ARG(QScrollerProperties, *static_cast<QScrollerProperties*>(prop)));
}
void QScroller_SetScrollerPropertiesDefault(void* ptr, void* prop)
{
static_cast<QScroller*>(ptr)->QScroller::setScrollerProperties(*static_cast<QScrollerProperties*>(prop));
}
void QScroller_SetSnapPositionsX(void* ptr, void* positions)
{
static_cast<QScroller*>(ptr)->setSnapPositionsX(*static_cast<QList<qreal>*>(positions));
}
void QScroller_SetSnapPositionsX2(void* ptr, double first, double interval)
{
static_cast<QScroller*>(ptr)->setSnapPositionsX(first, interval);
}
void QScroller_SetSnapPositionsY(void* ptr, void* positions)
{
static_cast<QScroller*>(ptr)->setSnapPositionsY(*static_cast<QList<qreal>*>(positions));
}
void QScroller_SetSnapPositionsY2(void* ptr, double first, double interval)
{
static_cast<QScroller*>(ptr)->setSnapPositionsY(first, interval);
}
void QScroller_ConnectStateChanged(void* ptr)
{
QObject::connect(static_cast<QScroller*>(ptr), static_cast<void (QScroller::*)(QScroller::State)>(&QScroller::stateChanged), static_cast<MyQScroller*>(ptr), static_cast<void (MyQScroller::*)(QScroller::State)>(&MyQScroller::Signal_StateChanged));
}
void QScroller_DisconnectStateChanged(void* ptr)
{
QObject::disconnect(static_cast<QScroller*>(ptr), static_cast<void (QScroller::*)(QScroller::State)>(&QScroller::stateChanged), static_cast<MyQScroller*>(ptr), static_cast<void (MyQScroller::*)(QScroller::State)>(&MyQScroller::Signal_StateChanged));
}
void QScroller_StateChanged(void* ptr, long long newState)
{
static_cast<QScroller*>(ptr)->stateChanged(static_cast<QScroller::State>(newState));
}
void QScroller_Stop(void* ptr)
{
static_cast<QScroller*>(ptr)->stop();
}
void QScroller_QScroller_UngrabGesture(void* target)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(target))) {
QScroller::ungrabGesture(static_cast<QGraphicsObject*>(target));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(target))) {
QScroller::ungrabGesture(static_cast<QGraphicsWidget*>(target));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(target))) {
QScroller::ungrabGesture(static_cast<QLayout*>(target));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(target))) {
QScroller::ungrabGesture(static_cast<QWidget*>(target));
} else {
QScroller::ungrabGesture(static_cast<QObject*>(target));
}
}
void* QScroller_Target(void* ptr)
{
return static_cast<QScroller*>(ptr)->target();
}
void* QScroller_FinalPosition(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QScroller*>(ptr)->finalPosition(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QScroller_PixelPerMeter(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QScroller*>(ptr)->pixelPerMeter(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QScroller_Velocity(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QScroller*>(ptr)->velocity(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void* QScroller_ScrollerProperties(void* ptr)
{
return new QScrollerProperties(static_cast<QScroller*>(ptr)->scrollerProperties());
}
long long QScroller_State(void* ptr)
{
return static_cast<QScroller*>(ptr)->state();
}
void* QScroller___activeScrollers_atList(void* ptr, int i)
{
return const_cast<QScroller*>(static_cast<QList<QScroller *>*>(ptr)->at(i));
}
void QScroller___activeScrollers_setList(void* ptr, void* i)
{
static_cast<QList<QScroller *>*>(ptr)->append(static_cast<QScroller*>(i));
}
void* QScroller___activeScrollers_newList(void* ptr)
{
return new QList<QScroller *>;
}
double QScroller___setSnapPositionsX_positions_atList(void* ptr, int i)
{
return static_cast<QList<qreal>*>(ptr)->at(i);
}
void QScroller___setSnapPositionsX_positions_setList(void* ptr, double i)
{
static_cast<QList<qreal>*>(ptr)->append(i);
}
void* QScroller___setSnapPositionsX_positions_newList(void* ptr)
{
return new QList<qreal>;
}
double QScroller___setSnapPositionsY_positions_atList(void* ptr, int i)
{
return static_cast<QList<qreal>*>(ptr)->at(i);
}
void QScroller___setSnapPositionsY_positions_setList(void* ptr, double i)
{
static_cast<QList<qreal>*>(ptr)->append(i);
}
void* QScroller___setSnapPositionsY_positions_newList(void* ptr)
{
return new QList<qreal>;
}
void* QScroller___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QScroller___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QScroller___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QScroller___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QScroller___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QScroller___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QScroller___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QScroller___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QScroller___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QScroller___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QScroller___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QScroller___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QScroller___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QScroller___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QScroller___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QScroller_EventDefault(void* ptr, void* e)
{
return static_cast<QScroller*>(ptr)->QScroller::event(static_cast<QEvent*>(e));
}
char QScroller_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QScroller*>(ptr)->QScroller::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QScroller*>(ptr)->QScroller::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QScroller*>(ptr)->QScroller::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QScroller*>(ptr)->QScroller::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QScroller*>(ptr)->QScroller::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QScroller_ChildEventDefault(void* ptr, void* event)
{
static_cast<QScroller*>(ptr)->QScroller::childEvent(static_cast<QChildEvent*>(event));
}
void QScroller_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QScroller*>(ptr)->QScroller::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QScroller_CustomEventDefault(void* ptr, void* event)
{
static_cast<QScroller*>(ptr)->QScroller::customEvent(static_cast<QEvent*>(event));
}
void QScroller_DeleteLaterDefault(void* ptr)
{
static_cast<QScroller*>(ptr)->QScroller::deleteLater();
}
void QScroller_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QScroller*>(ptr)->QScroller::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QScroller_TimerEventDefault(void* ptr, void* event)
{
static_cast<QScroller*>(ptr)->QScroller::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QScroller_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QScroller*>(ptr)->QScroller::metaObject());
}
class MyQScrollerProperties: public QScrollerProperties
{
public:
MyQScrollerProperties() : QScrollerProperties() {};
MyQScrollerProperties(const QScrollerProperties &sp) : QScrollerProperties(sp) {};
~MyQScrollerProperties() { callbackQScrollerProperties_DestroyQScrollerProperties(this); };
};
void* QScrollerProperties_NewQScrollerProperties()
{
return new MyQScrollerProperties();
}
void* QScrollerProperties_NewQScrollerProperties2(void* sp)
{
return new MyQScrollerProperties(*static_cast<QScrollerProperties*>(sp));
}
void QScrollerProperties_QScrollerProperties_SetDefaultScrollerProperties(void* sp)
{
QScrollerProperties::setDefaultScrollerProperties(*static_cast<QScrollerProperties*>(sp));
}
void QScrollerProperties_SetScrollMetric(void* ptr, long long metric, void* value)
{
static_cast<QScrollerProperties*>(ptr)->setScrollMetric(static_cast<QScrollerProperties::ScrollMetric>(metric), *static_cast<QVariant*>(value));
}
void QScrollerProperties_QScrollerProperties_UnsetDefaultScrollerProperties()
{
QScrollerProperties::unsetDefaultScrollerProperties();
}
void QScrollerProperties_DestroyQScrollerProperties(void* ptr)
{
static_cast<QScrollerProperties*>(ptr)->~QScrollerProperties();
}
void QScrollerProperties_DestroyQScrollerPropertiesDefault(void* ptr)
{
}
void* QScrollerProperties_ScrollMetric(void* ptr, long long metric)
{
return new QVariant(static_cast<QScrollerProperties*>(ptr)->scrollMetric(static_cast<QScrollerProperties::ScrollMetric>(metric)));
}
class MyQShortcut: public QShortcut
{
public:
MyQShortcut(QWidget *parent) : QShortcut(parent) {};
MyQShortcut(const QKeySequence &key, QWidget *parent, const char *member, const char *ambiguousMember, Qt::ShortcutContext context) : QShortcut(key, parent, member, ambiguousMember, context) {};
void Signal_Activated() { callbackQShortcut_Activated(this); };
void Signal_ActivatedAmbiguously() { callbackQShortcut_ActivatedAmbiguously(this); };
bool event(QEvent * e) { return callbackQShortcut_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQShortcut_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQShortcut_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQShortcut_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQShortcut_CustomEvent(this, event); };
void deleteLater() { callbackQShortcut_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQShortcut_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQShortcut_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQShortcut_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQShortcut_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQShortcut_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QShortcut_NewQShortcut(void* parent)
{
return new MyQShortcut(static_cast<QWidget*>(parent));
}
void* QShortcut_NewQShortcut2(void* key, void* parent, char* member, char* ambiguousMember, long long context)
{
return new MyQShortcut(*static_cast<QKeySequence*>(key), static_cast<QWidget*>(parent), const_cast<const char*>(member), const_cast<const char*>(ambiguousMember), static_cast<Qt::ShortcutContext>(context));
}
void QShortcut_ConnectActivated(void* ptr)
{
QObject::connect(static_cast<QShortcut*>(ptr), static_cast<void (QShortcut::*)()>(&QShortcut::activated), static_cast<MyQShortcut*>(ptr), static_cast<void (MyQShortcut::*)()>(&MyQShortcut::Signal_Activated));
}
void QShortcut_DisconnectActivated(void* ptr)
{
QObject::disconnect(static_cast<QShortcut*>(ptr), static_cast<void (QShortcut::*)()>(&QShortcut::activated), static_cast<MyQShortcut*>(ptr), static_cast<void (MyQShortcut::*)()>(&MyQShortcut::Signal_Activated));
}
void QShortcut_Activated(void* ptr)
{
static_cast<QShortcut*>(ptr)->activated();
}
void QShortcut_ConnectActivatedAmbiguously(void* ptr)
{
QObject::connect(static_cast<QShortcut*>(ptr), static_cast<void (QShortcut::*)()>(&QShortcut::activatedAmbiguously), static_cast<MyQShortcut*>(ptr), static_cast<void (MyQShortcut::*)()>(&MyQShortcut::Signal_ActivatedAmbiguously));
}
void QShortcut_DisconnectActivatedAmbiguously(void* ptr)
{
QObject::disconnect(static_cast<QShortcut*>(ptr), static_cast<void (QShortcut::*)()>(&QShortcut::activatedAmbiguously), static_cast<MyQShortcut*>(ptr), static_cast<void (MyQShortcut::*)()>(&MyQShortcut::Signal_ActivatedAmbiguously));
}
void QShortcut_ActivatedAmbiguously(void* ptr)
{
static_cast<QShortcut*>(ptr)->activatedAmbiguously();
}
void QShortcut_SetAutoRepeat(void* ptr, char on)
{
static_cast<QShortcut*>(ptr)->setAutoRepeat(on != 0);
}
void QShortcut_SetContext(void* ptr, long long context)
{
static_cast<QShortcut*>(ptr)->setContext(static_cast<Qt::ShortcutContext>(context));
}
void QShortcut_SetEnabled(void* ptr, char enable)
{
static_cast<QShortcut*>(ptr)->setEnabled(enable != 0);
}
void QShortcut_SetKey(void* ptr, void* key)
{
static_cast<QShortcut*>(ptr)->setKey(*static_cast<QKeySequence*>(key));
}
void QShortcut_SetWhatsThis(void* ptr, char* text)
{
static_cast<QShortcut*>(ptr)->setWhatsThis(QString(text));
}
void QShortcut_DestroyQShortcut(void* ptr)
{
static_cast<QShortcut*>(ptr)->~QShortcut();
}
void* QShortcut_Key(void* ptr)
{
return new QKeySequence(static_cast<QShortcut*>(ptr)->key());
}
struct QtWidgets_PackedString QShortcut_WhatsThis(void* ptr)
{
return ({ QByteArray t714906 = static_cast<QShortcut*>(ptr)->whatsThis().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t714906.prepend("WHITESPACE").constData()+10), t714906.size()-10 }; });
}
void* QShortcut_ParentWidget(void* ptr)
{
return static_cast<QShortcut*>(ptr)->parentWidget();
}
long long QShortcut_Context(void* ptr)
{
return static_cast<QShortcut*>(ptr)->context();
}
char QShortcut_AutoRepeat(void* ptr)
{
return static_cast<QShortcut*>(ptr)->autoRepeat();
}
char QShortcut_IsEnabled(void* ptr)
{
return static_cast<QShortcut*>(ptr)->isEnabled();
}
int QShortcut_Id(void* ptr)
{
return static_cast<QShortcut*>(ptr)->id();
}
void* QShortcut___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QShortcut___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QShortcut___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QShortcut___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QShortcut___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QShortcut___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QShortcut___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QShortcut___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QShortcut___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QShortcut___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QShortcut___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QShortcut___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QShortcut___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QShortcut___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QShortcut___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QShortcut_EventDefault(void* ptr, void* e)
{
return static_cast<QShortcut*>(ptr)->QShortcut::event(static_cast<QEvent*>(e));
}
char QShortcut_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QShortcut*>(ptr)->QShortcut::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QShortcut*>(ptr)->QShortcut::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QShortcut*>(ptr)->QShortcut::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QShortcut*>(ptr)->QShortcut::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QShortcut*>(ptr)->QShortcut::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QShortcut_ChildEventDefault(void* ptr, void* event)
{
static_cast<QShortcut*>(ptr)->QShortcut::childEvent(static_cast<QChildEvent*>(event));
}
void QShortcut_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QShortcut*>(ptr)->QShortcut::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QShortcut_CustomEventDefault(void* ptr, void* event)
{
static_cast<QShortcut*>(ptr)->QShortcut::customEvent(static_cast<QEvent*>(event));
}
void QShortcut_DeleteLaterDefault(void* ptr)
{
static_cast<QShortcut*>(ptr)->QShortcut::deleteLater();
}
void QShortcut_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QShortcut*>(ptr)->QShortcut::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QShortcut_TimerEventDefault(void* ptr, void* event)
{
static_cast<QShortcut*>(ptr)->QShortcut::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QShortcut_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QShortcut*>(ptr)->QShortcut::metaObject());
}
class MyQSizeGrip: public QSizeGrip
{
public:
MyQSizeGrip(QWidget *parent) : QSizeGrip(parent) {};
void hideEvent(QHideEvent * hideEvent) { callbackQWidget_HideEvent(this, hideEvent); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * mouseEvent) { callbackQWidget_MouseReleaseEvent(this, mouseEvent); };
void moveEvent(QMoveEvent * moveEvent) { callbackQWidget_MoveEvent(this, moveEvent); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void setVisible(bool visible) { callbackQSizeGrip_SetVisible(this, visible); };
void showEvent(QShowEvent * showEvent) { callbackQWidget_ShowEvent(this, showEvent); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QSizeGrip_NewQSizeGrip(void* parent)
{
return new MyQSizeGrip(static_cast<QWidget*>(parent));
}
void QSizeGrip_SetVisible(void* ptr, char visible)
{
static_cast<QSizeGrip*>(ptr)->setVisible(visible != 0);
}
void QSizeGrip_SetVisibleDefault(void* ptr, char visible)
{
static_cast<QSizeGrip*>(ptr)->QSizeGrip::setVisible(visible != 0);
}
void QSizeGrip_DestroyQSizeGrip(void* ptr)
{
static_cast<QSizeGrip*>(ptr)->~QSizeGrip();
}
void* QSizePolicy_NewQSizePolicy()
{
return new QSizePolicy();
}
void* QSizePolicy_NewQSizePolicy2(long long horizontal, long long vertical, long long ty)
{
return new QSizePolicy(static_cast<QSizePolicy::Policy>(horizontal), static_cast<QSizePolicy::Policy>(vertical), static_cast<QSizePolicy::ControlType>(ty));
}
void QSizePolicy_SetControlType(void* ptr, long long ty)
{
static_cast<QSizePolicy*>(ptr)->setControlType(static_cast<QSizePolicy::ControlType>(ty));
}
void QSizePolicy_SetHeightForWidth(void* ptr, char dependent)
{
static_cast<QSizePolicy*>(ptr)->setHeightForWidth(dependent != 0);
}
void QSizePolicy_SetHorizontalPolicy(void* ptr, long long policy)
{
static_cast<QSizePolicy*>(ptr)->setHorizontalPolicy(static_cast<QSizePolicy::Policy>(policy));
}
void QSizePolicy_SetHorizontalStretch(void* ptr, int stretchFactor)
{
static_cast<QSizePolicy*>(ptr)->setHorizontalStretch(stretchFactor);
}
void QSizePolicy_SetRetainSizeWhenHidden(void* ptr, char retainSize)
{
static_cast<QSizePolicy*>(ptr)->setRetainSizeWhenHidden(retainSize != 0);
}
void QSizePolicy_SetVerticalPolicy(void* ptr, long long policy)
{
static_cast<QSizePolicy*>(ptr)->setVerticalPolicy(static_cast<QSizePolicy::Policy>(policy));
}
void QSizePolicy_SetVerticalStretch(void* ptr, int stretchFactor)
{
static_cast<QSizePolicy*>(ptr)->setVerticalStretch(stretchFactor);
}
void QSizePolicy_SetWidthForHeight(void* ptr, char dependent)
{
static_cast<QSizePolicy*>(ptr)->setWidthForHeight(dependent != 0);
}
void QSizePolicy_Transpose(void* ptr)
{
static_cast<QSizePolicy*>(ptr)->transpose();
}
long long QSizePolicy_ControlType(void* ptr)
{
return static_cast<QSizePolicy*>(ptr)->controlType();
}
long long QSizePolicy_HorizontalPolicy(void* ptr)
{
return static_cast<QSizePolicy*>(ptr)->horizontalPolicy();
}
long long QSizePolicy_VerticalPolicy(void* ptr)
{
return static_cast<QSizePolicy*>(ptr)->verticalPolicy();
}
long long QSizePolicy_ExpandingDirections(void* ptr)
{
return static_cast<QSizePolicy*>(ptr)->expandingDirections();
}
char QSizePolicy_HasHeightForWidth(void* ptr)
{
return static_cast<QSizePolicy*>(ptr)->hasHeightForWidth();
}
char QSizePolicy_HasWidthForHeight(void* ptr)
{
return static_cast<QSizePolicy*>(ptr)->hasWidthForHeight();
}
char QSizePolicy_RetainSizeWhenHidden(void* ptr)
{
return static_cast<QSizePolicy*>(ptr)->retainSizeWhenHidden();
}
int QSizePolicy_HorizontalStretch(void* ptr)
{
return static_cast<QSizePolicy*>(ptr)->horizontalStretch();
}
int QSizePolicy_VerticalStretch(void* ptr)
{
return static_cast<QSizePolicy*>(ptr)->verticalStretch();
}
class MyQSlider: public QSlider
{
public:
MyQSlider(QWidget *parent) : QSlider(parent) {};
MyQSlider(Qt::Orientation orientation, QWidget *parent) : QSlider(orientation, parent) {};
void mouseMoveEvent(QMouseEvent * ev) { callbackQWidget_MouseMoveEvent(this, ev); };
void mousePressEvent(QMouseEvent * ev) { callbackQWidget_MousePressEvent(this, ev); };
void mouseReleaseEvent(QMouseEvent * ev) { callbackQWidget_MouseReleaseEvent(this, ev); };
void paintEvent(QPaintEvent * ev) { callbackQWidget_PaintEvent(this, ev); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void Signal_ActionTriggered(int action) { callbackQAbstractSlider_ActionTriggered(this, action); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
void keyPressEvent(QKeyEvent * ev) { callbackQWidget_KeyPressEvent(this, ev); };
void Signal_RangeChanged(int min, int max) { callbackQAbstractSlider_RangeChanged(this, min, max); };
void setOrientation(Qt::Orientation vqt) { callbackQAbstractSlider_SetOrientation(this, vqt); };
void setRange(int min, int max) { callbackQAbstractSlider_SetRange(this, min, max); };
void setValue(int vin) { callbackQAbstractSlider_SetValue(this, vin); };
void sliderChange(QAbstractSlider::SliderChange change) { callbackQAbstractSlider_SliderChange(this, change); };
void Signal_SliderMoved(int value) { callbackQAbstractSlider_SliderMoved(this, value); };
void Signal_SliderPressed() { callbackQAbstractSlider_SliderPressed(this); };
void Signal_SliderReleased() { callbackQAbstractSlider_SliderReleased(this); };
void Signal_ValueChanged(int value) { callbackQAbstractSlider_ValueChanged(this, value); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QSlider_SetTickInterval(void* ptr, int ti)
{
static_cast<QSlider*>(ptr)->setTickInterval(ti);
}
void QSlider_SetTickPosition(void* ptr, long long position)
{
static_cast<QSlider*>(ptr)->setTickPosition(static_cast<QSlider::TickPosition>(position));
}
void* QSlider_NewQSlider(void* parent)
{
return new MyQSlider(static_cast<QWidget*>(parent));
}
void* QSlider_NewQSlider2(long long orientation, void* parent)
{
return new MyQSlider(static_cast<Qt::Orientation>(orientation), static_cast<QWidget*>(parent));
}
void QSlider_DestroyQSlider(void* ptr)
{
static_cast<QSlider*>(ptr)->~QSlider();
}
long long QSlider_TickPosition(void* ptr)
{
return static_cast<QSlider*>(ptr)->tickPosition();
}
int QSlider_TickInterval(void* ptr)
{
return static_cast<QSlider*>(ptr)->tickInterval();
}
void QSlider_InitStyleOption(void* ptr, void* option)
{
static_cast<QSlider*>(ptr)->initStyleOption(static_cast<QStyleOptionSlider*>(option));
}
class MyQSpacerItem: public QSpacerItem
{
public:
MyQSpacerItem(int w, int h, QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy) : QSpacerItem(w, h, hPolicy, vPolicy) {};
QSpacerItem * spacerItem() { return static_cast<QSpacerItem*>(callbackQLayoutItem_SpacerItem(this)); };
void setGeometry(const QRect & r) { callbackQSpacerItem_SetGeometry(this, const_cast<QRect*>(&r)); };
QRect geometry() const { return *static_cast<QRect*>(callbackQSpacerItem_Geometry(const_cast<void*>(static_cast<const void*>(this)))); };
QSize maximumSize() const { return *static_cast<QSize*>(callbackQSpacerItem_MaximumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSize() const { return *static_cast<QSize*>(callbackQSpacerItem_MinimumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQSpacerItem_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
Qt::Orientations expandingDirections() const { return static_cast<Qt::Orientation>(callbackQSpacerItem_ExpandingDirections(const_cast<void*>(static_cast<const void*>(this)))); };
bool isEmpty() const { return callbackQSpacerItem_IsEmpty(const_cast<void*>(static_cast<const void*>(this))) != 0; };
QLayout * layout() { return static_cast<QLayout*>(callbackQLayoutItem_Layout(this)); };
QWidget * widget() { return static_cast<QWidget*>(callbackQLayoutItem_Widget(this)); };
void invalidate() { callbackQLayoutItem_Invalidate(this); };
QSizePolicy::ControlTypes controlTypes() const { return static_cast<QSizePolicy::ControlType>(callbackQLayoutItem_ControlTypes(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQLayoutItem_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
};
void* QSpacerItem_NewQSpacerItem(int w, int h, long long hPolicy, long long vPolicy)
{
return new MyQSpacerItem(w, h, static_cast<QSizePolicy::Policy>(hPolicy), static_cast<QSizePolicy::Policy>(vPolicy));
}
void QSpacerItem_ChangeSize(void* ptr, int w, int h, long long hPolicy, long long vPolicy)
{
static_cast<QSpacerItem*>(ptr)->changeSize(w, h, static_cast<QSizePolicy::Policy>(hPolicy), static_cast<QSizePolicy::Policy>(vPolicy));
}
void QSpacerItem_SetGeometry(void* ptr, void* r)
{
static_cast<QSpacerItem*>(ptr)->setGeometry(*static_cast<QRect*>(r));
}
void QSpacerItem_SetGeometryDefault(void* ptr, void* r)
{
static_cast<QSpacerItem*>(ptr)->QSpacerItem::setGeometry(*static_cast<QRect*>(r));
}
void QSpacerItem_DestroyQSpacerItem(void* ptr)
{
static_cast<QSpacerItem*>(ptr)->~QSpacerItem();
}
void* QSpacerItem_Geometry(void* ptr)
{
return ({ QRect tmpValue = static_cast<QSpacerItem*>(ptr)->geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QSpacerItem_GeometryDefault(void* ptr)
{
return ({ QRect tmpValue = static_cast<QSpacerItem*>(ptr)->QSpacerItem::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QSpacerItem_MaximumSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QSpacerItem*>(ptr)->maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QSpacerItem_MaximumSizeDefault(void* ptr)
{
return ({ QSize tmpValue = static_cast<QSpacerItem*>(ptr)->QSpacerItem::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QSpacerItem_MinimumSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QSpacerItem*>(ptr)->minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QSpacerItem_MinimumSizeDefault(void* ptr)
{
return ({ QSize tmpValue = static_cast<QSpacerItem*>(ptr)->QSpacerItem::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QSpacerItem_SizeHint(void* ptr)
{
return ({ QSize tmpValue = static_cast<QSpacerItem*>(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QSpacerItem_SizeHintDefault(void* ptr)
{
return ({ QSize tmpValue = static_cast<QSpacerItem*>(ptr)->QSpacerItem::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QSpacerItem_SizePolicy(void* ptr)
{
return new QSizePolicy(static_cast<QSpacerItem*>(ptr)->sizePolicy());
}
long long QSpacerItem_ExpandingDirections(void* ptr)
{
return static_cast<QSpacerItem*>(ptr)->expandingDirections();
}
long long QSpacerItem_ExpandingDirectionsDefault(void* ptr)
{
return static_cast<QSpacerItem*>(ptr)->QSpacerItem::expandingDirections();
}
char QSpacerItem_IsEmpty(void* ptr)
{
return static_cast<QSpacerItem*>(ptr)->isEmpty();
}
char QSpacerItem_IsEmptyDefault(void* ptr)
{
return static_cast<QSpacerItem*>(ptr)->QSpacerItem::isEmpty();
}
class MyQSpinBox: public QSpinBox
{
public:
MyQSpinBox(QWidget *parent) : QSpinBox(parent) {};
void setValue(int val) { callbackQSpinBox_SetValue(this, val); };
void Signal_ValueChanged2(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQSpinBox_ValueChanged2(this, textPacked); };
void Signal_ValueChanged(int i) { callbackQSpinBox_ValueChanged(this, i); };
QString textFromValue(int value) const { return QString(callbackQSpinBox_TextFromValue(const_cast<void*>(static_cast<const void*>(this)), value)); };
QValidator::State validate(QString & text, int & pos) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };return static_cast<QValidator::State>(callbackQAbstractSpinBox_Validate(const_cast<void*>(static_cast<const void*>(this)), textPacked, pos)); };
int valueFromText(const QString & text) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };return callbackQSpinBox_ValueFromText(const_cast<void*>(static_cast<const void*>(this)), textPacked); };
void fixup(QString & input) const { QByteArray t140f86 = input.toUtf8(); QtWidgets_PackedString inputPacked = { const_cast<char*>(t140f86.prepend("WHITESPACE").constData()+10), t140f86.size()-10 };callbackQAbstractSpinBox_Fixup(const_cast<void*>(static_cast<const void*>(this)), inputPacked); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void clear() { callbackQAbstractSpinBox_Clear(this); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_EditingFinished() { callbackQAbstractSpinBox_EditingFinished(this); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void selectAll() { callbackQAbstractSpinBox_SelectAll(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void stepBy(int steps) { callbackQAbstractSpinBox_StepBy(this, steps); };
void stepDown() { callbackQAbstractSpinBox_StepDown(this); };
void stepUp() { callbackQAbstractSpinBox_StepUp(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
StepEnabled stepEnabled() const { return static_cast<QAbstractSpinBox::StepEnabledFlag>(callbackQAbstractSpinBox_StepEnabled(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QSpinBox_NewQSpinBox(void* parent)
{
return new MyQSpinBox(static_cast<QWidget*>(parent));
}
void QSpinBox_SetDisplayIntegerBase(void* ptr, int base)
{
static_cast<QSpinBox*>(ptr)->setDisplayIntegerBase(base);
}
void QSpinBox_SetMaximum(void* ptr, int max)
{
static_cast<QSpinBox*>(ptr)->setMaximum(max);
}
void QSpinBox_SetMinimum(void* ptr, int min)
{
static_cast<QSpinBox*>(ptr)->setMinimum(min);
}
void QSpinBox_SetPrefix(void* ptr, char* prefix)
{
static_cast<QSpinBox*>(ptr)->setPrefix(QString(prefix));
}
void QSpinBox_SetRange(void* ptr, int minimum, int maximum)
{
static_cast<QSpinBox*>(ptr)->setRange(minimum, maximum);
}
void QSpinBox_SetSingleStep(void* ptr, int val)
{
static_cast<QSpinBox*>(ptr)->setSingleStep(val);
}
void QSpinBox_SetSuffix(void* ptr, char* suffix)
{
static_cast<QSpinBox*>(ptr)->setSuffix(QString(suffix));
}
void QSpinBox_SetValue(void* ptr, int val)
{
QMetaObject::invokeMethod(static_cast<QSpinBox*>(ptr), "setValue", Q_ARG(int, val));
}
void QSpinBox_SetValueDefault(void* ptr, int val)
{
static_cast<QSpinBox*>(ptr)->QSpinBox::setValue(val);
}
void QSpinBox_ConnectValueChanged2(void* ptr)
{
QObject::connect(static_cast<QSpinBox*>(ptr), static_cast<void (QSpinBox::*)(const QString &)>(&QSpinBox::valueChanged), static_cast<MyQSpinBox*>(ptr), static_cast<void (MyQSpinBox::*)(const QString &)>(&MyQSpinBox::Signal_ValueChanged2));
}
void QSpinBox_DisconnectValueChanged2(void* ptr)
{
QObject::disconnect(static_cast<QSpinBox*>(ptr), static_cast<void (QSpinBox::*)(const QString &)>(&QSpinBox::valueChanged), static_cast<MyQSpinBox*>(ptr), static_cast<void (MyQSpinBox::*)(const QString &)>(&MyQSpinBox::Signal_ValueChanged2));
}
void QSpinBox_ValueChanged2(void* ptr, char* text)
{
static_cast<QSpinBox*>(ptr)->valueChanged(QString(text));
}
void QSpinBox_ConnectValueChanged(void* ptr)
{
QObject::connect(static_cast<QSpinBox*>(ptr), static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), static_cast<MyQSpinBox*>(ptr), static_cast<void (MyQSpinBox::*)(int)>(&MyQSpinBox::Signal_ValueChanged));
}
void QSpinBox_DisconnectValueChanged(void* ptr)
{
QObject::disconnect(static_cast<QSpinBox*>(ptr), static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), static_cast<MyQSpinBox*>(ptr), static_cast<void (MyQSpinBox::*)(int)>(&MyQSpinBox::Signal_ValueChanged));
}
void QSpinBox_ValueChanged(void* ptr, int i)
{
static_cast<QSpinBox*>(ptr)->valueChanged(i);
}
void QSpinBox_DestroyQSpinBox(void* ptr)
{
static_cast<QSpinBox*>(ptr)->~QSpinBox();
}
struct QtWidgets_PackedString QSpinBox_CleanText(void* ptr)
{
return ({ QByteArray t9d04b9 = static_cast<QSpinBox*>(ptr)->cleanText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t9d04b9.prepend("WHITESPACE").constData()+10), t9d04b9.size()-10 }; });
}
struct QtWidgets_PackedString QSpinBox_Prefix(void* ptr)
{
return ({ QByteArray t9d23c1 = static_cast<QSpinBox*>(ptr)->prefix().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t9d23c1.prepend("WHITESPACE").constData()+10), t9d23c1.size()-10 }; });
}
struct QtWidgets_PackedString QSpinBox_Suffix(void* ptr)
{
return ({ QByteArray t38bf82 = static_cast<QSpinBox*>(ptr)->suffix().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t38bf82.prepend("WHITESPACE").constData()+10), t38bf82.size()-10 }; });
}
struct QtWidgets_PackedString QSpinBox_TextFromValue(void* ptr, int value)
{
return ({ QByteArray tf53a0d = static_cast<QSpinBox*>(ptr)->textFromValue(value).toUtf8(); QtWidgets_PackedString { const_cast<char*>(tf53a0d.prepend("WHITESPACE").constData()+10), tf53a0d.size()-10 }; });
}
struct QtWidgets_PackedString QSpinBox_TextFromValueDefault(void* ptr, int value)
{
return ({ QByteArray td11815 = static_cast<QSpinBox*>(ptr)->QSpinBox::textFromValue(value).toUtf8(); QtWidgets_PackedString { const_cast<char*>(td11815.prepend("WHITESPACE").constData()+10), td11815.size()-10 }; });
}
int QSpinBox_DisplayIntegerBase(void* ptr)
{
return static_cast<QSpinBox*>(ptr)->displayIntegerBase();
}
int QSpinBox_Maximum(void* ptr)
{
return static_cast<QSpinBox*>(ptr)->maximum();
}
int QSpinBox_Minimum(void* ptr)
{
return static_cast<QSpinBox*>(ptr)->minimum();
}
int QSpinBox_SingleStep(void* ptr)
{
return static_cast<QSpinBox*>(ptr)->singleStep();
}
int QSpinBox_Value(void* ptr)
{
return static_cast<QSpinBox*>(ptr)->value();
}
int QSpinBox_ValueFromText(void* ptr, char* text)
{
return static_cast<QSpinBox*>(ptr)->valueFromText(QString(text));
}
int QSpinBox_ValueFromTextDefault(void* ptr, char* text)
{
return static_cast<QSpinBox*>(ptr)->QSpinBox::valueFromText(QString(text));
}
class MyQSplashScreen: public QSplashScreen
{
public:
MyQSplashScreen(QWidget *parent, const QPixmap &pixmap, Qt::WindowFlags f) : QSplashScreen(parent, pixmap, f) {};
MyQSplashScreen(const QPixmap &pixmap, Qt::WindowFlags f) : QSplashScreen(pixmap, f) {};
void clearMessage() { callbackQSplashScreen_ClearMessage(this); };
void drawContents(QPainter * painter) { callbackQSplashScreen_DrawContents(this, painter); };
void Signal_MessageChanged(const QString & message) { QByteArray t6f9b9a = message.toUtf8(); QtWidgets_PackedString messagePacked = { const_cast<char*>(t6f9b9a.prepend("WHITESPACE").constData()+10), t6f9b9a.size()-10 };callbackQSplashScreen_MessageChanged(this, messagePacked); };
void mousePressEvent(QMouseEvent * vqm) { callbackQWidget_MousePressEvent(this, vqm); };
void showMessage(const QString & message, int alignment, const QColor & color) { QByteArray t6f9b9a = message.toUtf8(); QtWidgets_PackedString messagePacked = { const_cast<char*>(t6f9b9a.prepend("WHITESPACE").constData()+10), t6f9b9a.size()-10 };callbackQSplashScreen_ShowMessage(this, messagePacked, alignment, const_cast<QColor*>(&color)); };
~MyQSplashScreen() { callbackQSplashScreen_DestroyQSplashScreen(this); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QSplashScreen_NewQSplashScreen2(void* parent, void* pixmap, long long fo)
{
return new MyQSplashScreen(static_cast<QWidget*>(parent), *static_cast<QPixmap*>(pixmap), static_cast<Qt::WindowType>(fo));
}
void* QSplashScreen_NewQSplashScreen(void* pixmap, long long fo)
{
return new MyQSplashScreen(*static_cast<QPixmap*>(pixmap), static_cast<Qt::WindowType>(fo));
}
void QSplashScreen_ClearMessage(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QSplashScreen*>(ptr), "clearMessage");
}
void QSplashScreen_ClearMessageDefault(void* ptr)
{
static_cast<QSplashScreen*>(ptr)->QSplashScreen::clearMessage();
}
void QSplashScreen_DrawContents(void* ptr, void* painter)
{
static_cast<QSplashScreen*>(ptr)->drawContents(static_cast<QPainter*>(painter));
}
void QSplashScreen_DrawContentsDefault(void* ptr, void* painter)
{
static_cast<QSplashScreen*>(ptr)->QSplashScreen::drawContents(static_cast<QPainter*>(painter));
}
void QSplashScreen_Finish(void* ptr, void* mainWin)
{
static_cast<QSplashScreen*>(ptr)->finish(static_cast<QWidget*>(mainWin));
}
void QSplashScreen_ConnectMessageChanged(void* ptr)
{
QObject::connect(static_cast<QSplashScreen*>(ptr), static_cast<void (QSplashScreen::*)(const QString &)>(&QSplashScreen::messageChanged), static_cast<MyQSplashScreen*>(ptr), static_cast<void (MyQSplashScreen::*)(const QString &)>(&MyQSplashScreen::Signal_MessageChanged));
}
void QSplashScreen_DisconnectMessageChanged(void* ptr)
{
QObject::disconnect(static_cast<QSplashScreen*>(ptr), static_cast<void (QSplashScreen::*)(const QString &)>(&QSplashScreen::messageChanged), static_cast<MyQSplashScreen*>(ptr), static_cast<void (MyQSplashScreen::*)(const QString &)>(&MyQSplashScreen::Signal_MessageChanged));
}
void QSplashScreen_MessageChanged(void* ptr, char* message)
{
static_cast<QSplashScreen*>(ptr)->messageChanged(QString(message));
}
void QSplashScreen_Repaint(void* ptr)
{
static_cast<QSplashScreen*>(ptr)->repaint();
}
void QSplashScreen_SetPixmap(void* ptr, void* pixmap)
{
static_cast<QSplashScreen*>(ptr)->setPixmap(*static_cast<QPixmap*>(pixmap));
}
void QSplashScreen_ShowMessage(void* ptr, char* message, int alignment, void* color)
{
QMetaObject::invokeMethod(static_cast<QSplashScreen*>(ptr), "showMessage", Q_ARG(QString, QString(message)), Q_ARG(int, alignment), Q_ARG(QColor, *static_cast<QColor*>(color)));
}
void QSplashScreen_ShowMessageDefault(void* ptr, char* message, int alignment, void* color)
{
static_cast<QSplashScreen*>(ptr)->QSplashScreen::showMessage(QString(message), alignment, *static_cast<QColor*>(color));
}
void QSplashScreen_DestroyQSplashScreen(void* ptr)
{
static_cast<QSplashScreen*>(ptr)->~QSplashScreen();
}
void QSplashScreen_DestroyQSplashScreenDefault(void* ptr)
{
}
struct QtWidgets_PackedString QSplashScreen_Message(void* ptr)
{
return ({ QByteArray tbae626 = static_cast<QSplashScreen*>(ptr)->message().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tbae626.prepend("WHITESPACE").constData()+10), tbae626.size()-10 }; });
}
void* QSplashScreen_Pixmap(void* ptr)
{
return new QPixmap(static_cast<QSplashScreen*>(ptr)->pixmap());
}
class MyQSplitter: public QSplitter
{
public:
MyQSplitter(QWidget *parent) : QSplitter(parent) {};
MyQSplitter(Qt::Orientation orientation, QWidget *parent) : QSplitter(orientation, parent) {};
QSplitterHandle * createHandle() { return static_cast<QSplitterHandle*>(callbackQSplitter_CreateHandle(this)); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); };
void Signal_SplitterMoved(int pos, int index) { callbackQSplitter_SplitterMoved(this, pos, index); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QSplitter_NewQSplitter(void* parent)
{
return new MyQSplitter(static_cast<QWidget*>(parent));
}
void* QSplitter_NewQSplitter2(long long orientation, void* parent)
{
return new MyQSplitter(static_cast<Qt::Orientation>(orientation), static_cast<QWidget*>(parent));
}
void* QSplitter_CreateHandle(void* ptr)
{
return static_cast<QSplitter*>(ptr)->createHandle();
}
void* QSplitter_CreateHandleDefault(void* ptr)
{
return static_cast<QSplitter*>(ptr)->QSplitter::createHandle();
}
char QSplitter_RestoreState(void* ptr, void* state)
{
return static_cast<QSplitter*>(ptr)->restoreState(*static_cast<QByteArray*>(state));
}
int QSplitter_ClosestLegalPosition(void* ptr, int pos, int index)
{
return static_cast<QSplitter*>(ptr)->closestLegalPosition(pos, index);
}
void QSplitter_AddWidget(void* ptr, void* widget)
{
static_cast<QSplitter*>(ptr)->addWidget(static_cast<QWidget*>(widget));
}
void QSplitter_InsertWidget(void* ptr, int index, void* widget)
{
static_cast<QSplitter*>(ptr)->insertWidget(index, static_cast<QWidget*>(widget));
}
void QSplitter_MoveSplitter(void* ptr, int pos, int index)
{
static_cast<QSplitter*>(ptr)->moveSplitter(pos, index);
}
void QSplitter_Refresh(void* ptr)
{
static_cast<QSplitter*>(ptr)->refresh();
}
void QSplitter_SetChildrenCollapsible(void* ptr, char vbo)
{
static_cast<QSplitter*>(ptr)->setChildrenCollapsible(vbo != 0);
}
void QSplitter_SetCollapsible(void* ptr, int index, char collapse)
{
static_cast<QSplitter*>(ptr)->setCollapsible(index, collapse != 0);
}
void QSplitter_SetHandleWidth(void* ptr, int vin)
{
static_cast<QSplitter*>(ptr)->setHandleWidth(vin);
}
void QSplitter_SetOpaqueResize(void* ptr, char opaque)
{
static_cast<QSplitter*>(ptr)->setOpaqueResize(opaque != 0);
}
void QSplitter_SetOrientation(void* ptr, long long vqt)
{
static_cast<QSplitter*>(ptr)->setOrientation(static_cast<Qt::Orientation>(vqt));
}
void QSplitter_SetRubberBand(void* ptr, int pos)
{
static_cast<QSplitter*>(ptr)->setRubberBand(pos);
}
void QSplitter_SetSizes(void* ptr, void* list)
{
static_cast<QSplitter*>(ptr)->setSizes(*static_cast<QList<int>*>(list));
}
void QSplitter_SetStretchFactor(void* ptr, int index, int stretch)
{
static_cast<QSplitter*>(ptr)->setStretchFactor(index, stretch);
}
void QSplitter_ConnectSplitterMoved(void* ptr)
{
QObject::connect(static_cast<QSplitter*>(ptr), static_cast<void (QSplitter::*)(int, int)>(&QSplitter::splitterMoved), static_cast<MyQSplitter*>(ptr), static_cast<void (MyQSplitter::*)(int, int)>(&MyQSplitter::Signal_SplitterMoved));
}
void QSplitter_DisconnectSplitterMoved(void* ptr)
{
QObject::disconnect(static_cast<QSplitter*>(ptr), static_cast<void (QSplitter::*)(int, int)>(&QSplitter::splitterMoved), static_cast<MyQSplitter*>(ptr), static_cast<void (MyQSplitter::*)(int, int)>(&MyQSplitter::Signal_SplitterMoved));
}
void QSplitter_SplitterMoved(void* ptr, int pos, int index)
{
static_cast<QSplitter*>(ptr)->splitterMoved(pos, index);
}
void QSplitter_DestroyQSplitter(void* ptr)
{
static_cast<QSplitter*>(ptr)->~QSplitter();
}
void* QSplitter_SaveState(void* ptr)
{
return new QByteArray(static_cast<QSplitter*>(ptr)->saveState());
}
struct QtWidgets_PackedList QSplitter_Sizes(void* ptr)
{
return ({ QList<int>* tmpValue = new QList<int>(static_cast<QSplitter*>(ptr)->sizes()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QSplitter_Handle(void* ptr, int index)
{
return static_cast<QSplitter*>(ptr)->handle(index);
}
void* QSplitter_Widget(void* ptr, int index)
{
return static_cast<QSplitter*>(ptr)->widget(index);
}
long long QSplitter_Orientation(void* ptr)
{
return static_cast<QSplitter*>(ptr)->orientation();
}
char QSplitter_ChildrenCollapsible(void* ptr)
{
return static_cast<QSplitter*>(ptr)->childrenCollapsible();
}
char QSplitter_IsCollapsible(void* ptr, int index)
{
return static_cast<QSplitter*>(ptr)->isCollapsible(index);
}
char QSplitter_OpaqueResize(void* ptr)
{
return static_cast<QSplitter*>(ptr)->opaqueResize();
}
int QSplitter_Count(void* ptr)
{
return static_cast<QSplitter*>(ptr)->count();
}
int QSplitter_HandleWidth(void* ptr)
{
return static_cast<QSplitter*>(ptr)->handleWidth();
}
int QSplitter_IndexOf(void* ptr, void* widget)
{
return static_cast<QSplitter*>(ptr)->indexOf(static_cast<QWidget*>(widget));
}
void QSplitter_GetRange(void* ptr, int index, int min, int max)
{
static_cast<QSplitter*>(ptr)->getRange(index, &min, &max);
}
int QSplitter___setSizes_list_atList(void* ptr, int i)
{
return static_cast<QList<int>*>(ptr)->at(i);
}
void QSplitter___setSizes_list_setList(void* ptr, int i)
{
static_cast<QList<int>*>(ptr)->append(i);
}
void* QSplitter___setSizes_list_newList(void* ptr)
{
return new QList<int>;
}
int QSplitter___sizes_atList(void* ptr, int i)
{
return static_cast<QList<int>*>(ptr)->at(i);
}
void QSplitter___sizes_setList(void* ptr, int i)
{
static_cast<QList<int>*>(ptr)->append(i);
}
void* QSplitter___sizes_newList(void* ptr)
{
return new QList<int>;
}
class MyQSplitterHandle: public QSplitterHandle
{
public:
MyQSplitterHandle(Qt::Orientation orientation, QSplitter *parent) : QSplitterHandle(orientation, parent) {};
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QSplitterHandle_NewQSplitterHandle(long long orientation, void* parent)
{
return new MyQSplitterHandle(static_cast<Qt::Orientation>(orientation), static_cast<QSplitter*>(parent));
}
int QSplitterHandle_ClosestLegalPosition(void* ptr, int pos)
{
return static_cast<QSplitterHandle*>(ptr)->closestLegalPosition(pos);
}
void QSplitterHandle_MoveSplitter(void* ptr, int pos)
{
static_cast<QSplitterHandle*>(ptr)->moveSplitter(pos);
}
void QSplitterHandle_SetOrientation(void* ptr, long long orientation)
{
static_cast<QSplitterHandle*>(ptr)->setOrientation(static_cast<Qt::Orientation>(orientation));
}
void QSplitterHandle_DestroyQSplitterHandle(void* ptr)
{
static_cast<QSplitterHandle*>(ptr)->~QSplitterHandle();
}
void* QSplitterHandle_Splitter(void* ptr)
{
return static_cast<QSplitterHandle*>(ptr)->splitter();
}
long long QSplitterHandle_Orientation(void* ptr)
{
return static_cast<QSplitterHandle*>(ptr)->orientation();
}
char QSplitterHandle_OpaqueResize(void* ptr)
{
return static_cast<QSplitterHandle*>(ptr)->opaqueResize();
}
class MyQStackedLayout: public QStackedLayout
{
public:
MyQStackedLayout() : QStackedLayout() {};
MyQStackedLayout(QLayout *parentLayout) : QStackedLayout(parentLayout) {};
MyQStackedLayout(QWidget *parent) : QStackedLayout(parent) {};
QLayoutItem * takeAt(int index) { return static_cast<QLayoutItem*>(callbackQStackedLayout_TakeAt(this, index)); };
void addItem(QLayoutItem * item) { callbackQStackedLayout_AddItem(this, item); };
void Signal_CurrentChanged(int index) { callbackQStackedLayout_CurrentChanged(this, index); };
void setCurrentIndex(int index) { callbackQStackedLayout_SetCurrentIndex(this, index); };
void setCurrentWidget(QWidget * widget) { callbackQStackedLayout_SetCurrentWidget(this, widget); };
void setGeometry(const QRect & rect) { callbackQLayout_SetGeometry(this, const_cast<QRect*>(&rect)); };
void Signal_WidgetRemoved(int index) { callbackQStackedLayout_WidgetRemoved(this, index); };
QLayoutItem * itemAt(int index) const { return static_cast<QLayoutItem*>(callbackQStackedLayout_ItemAt(const_cast<void*>(static_cast<const void*>(this)), index)); };
QSize minimumSize() const { return *static_cast<QSize*>(callbackQLayout_MinimumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQStackedLayout_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int count() const { return callbackQStackedLayout_Count(const_cast<void*>(static_cast<const void*>(this))); };
int heightForWidth(int width) const { return callbackQLayoutItem_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), width); };
QLayout * layout() { return static_cast<QLayout*>(callbackQLayoutItem_Layout(this)); };
void childEvent(QChildEvent * e) { callbackQLayout_ChildEvent(this, e); };
void invalidate() { callbackQLayoutItem_Invalidate(this); };
QRect geometry() const { return *static_cast<QRect*>(callbackQLayout_Geometry(const_cast<void*>(static_cast<const void*>(this)))); };
QSize maximumSize() const { return *static_cast<QSize*>(callbackQLayout_MaximumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSizePolicy::ControlTypes controlTypes() const { return static_cast<QSizePolicy::ControlType>(callbackQLayoutItem_ControlTypes(const_cast<void*>(static_cast<const void*>(this)))); };
Qt::Orientations expandingDirections() const { return static_cast<Qt::Orientation>(callbackQLayout_ExpandingDirections(const_cast<void*>(static_cast<const void*>(this)))); };
bool isEmpty() const { return callbackQLayout_IsEmpty(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int indexOf(QWidget * widget) const { return callbackQLayout_IndexOf(const_cast<void*>(static_cast<const void*>(this)), widget); };
bool event(QEvent * e) { return callbackQLayout_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQLayout_EventFilter(this, watched, event) != 0; };
void connectNotify(const QMetaMethod & sign) { callbackQLayout_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQLayout_CustomEvent(this, event); };
void deleteLater() { callbackQLayout_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQLayout_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQLayout_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQLayout_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQLayout_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQLayout_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
QSpacerItem * spacerItem() { return static_cast<QSpacerItem*>(callbackQLayoutItem_SpacerItem(this)); };
QWidget * widget() { return static_cast<QWidget*>(callbackQLayoutItem_Widget(this)); };
int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
};
void* QStackedLayout_TakeAt(void* ptr, int index)
{
return static_cast<QStackedLayout*>(ptr)->takeAt(index);
}
void* QStackedLayout_TakeAtDefault(void* ptr, int index)
{
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::takeAt(index);
}
void* QStackedLayout_NewQStackedLayout()
{
return new MyQStackedLayout();
}
void* QStackedLayout_NewQStackedLayout3(void* parentLayout)
{
return new MyQStackedLayout(static_cast<QLayout*>(parentLayout));
}
void* QStackedLayout_NewQStackedLayout2(void* parent)
{
return new MyQStackedLayout(static_cast<QWidget*>(parent));
}
int QStackedLayout_AddWidget(void* ptr, void* widget)
{
return static_cast<QStackedLayout*>(ptr)->addWidget(static_cast<QWidget*>(widget));
}
int QStackedLayout_InsertWidget(void* ptr, int index, void* widget)
{
return static_cast<QStackedLayout*>(ptr)->insertWidget(index, static_cast<QWidget*>(widget));
}
void QStackedLayout_AddItem(void* ptr, void* item)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(item))) {
static_cast<QStackedLayout*>(ptr)->addItem(static_cast<QLayout*>(item));
} else {
static_cast<QStackedLayout*>(ptr)->addItem(static_cast<QLayoutItem*>(item));
}
}
void QStackedLayout_AddItemDefault(void* ptr, void* item)
{
if (dynamic_cast<QLayout*>(static_cast<QObject*>(item))) {
static_cast<QStackedLayout*>(ptr)->QStackedLayout::addItem(static_cast<QLayout*>(item));
} else {
static_cast<QStackedLayout*>(ptr)->QStackedLayout::addItem(static_cast<QLayoutItem*>(item));
}
}
void QStackedLayout_ConnectCurrentChanged(void* ptr)
{
QObject::connect(static_cast<QStackedLayout*>(ptr), static_cast<void (QStackedLayout::*)(int)>(&QStackedLayout::currentChanged), static_cast<MyQStackedLayout*>(ptr), static_cast<void (MyQStackedLayout::*)(int)>(&MyQStackedLayout::Signal_CurrentChanged));
}
void QStackedLayout_DisconnectCurrentChanged(void* ptr)
{
QObject::disconnect(static_cast<QStackedLayout*>(ptr), static_cast<void (QStackedLayout::*)(int)>(&QStackedLayout::currentChanged), static_cast<MyQStackedLayout*>(ptr), static_cast<void (MyQStackedLayout::*)(int)>(&MyQStackedLayout::Signal_CurrentChanged));
}
void QStackedLayout_CurrentChanged(void* ptr, int index)
{
static_cast<QStackedLayout*>(ptr)->currentChanged(index);
}
void QStackedLayout_SetCurrentIndex(void* ptr, int index)
{
QMetaObject::invokeMethod(static_cast<QStackedLayout*>(ptr), "setCurrentIndex", Q_ARG(int, index));
}
void QStackedLayout_SetCurrentIndexDefault(void* ptr, int index)
{
static_cast<QStackedLayout*>(ptr)->QStackedLayout::setCurrentIndex(index);
}
void QStackedLayout_SetCurrentWidget(void* ptr, void* widget)
{
QMetaObject::invokeMethod(static_cast<QStackedLayout*>(ptr), "setCurrentWidget", Q_ARG(QWidget*, static_cast<QWidget*>(widget)));
}
void QStackedLayout_SetCurrentWidgetDefault(void* ptr, void* widget)
{
static_cast<QStackedLayout*>(ptr)->QStackedLayout::setCurrentWidget(static_cast<QWidget*>(widget));
}
void QStackedLayout_SetStackingMode(void* ptr, long long stackingMode)
{
static_cast<QStackedLayout*>(ptr)->setStackingMode(static_cast<QStackedLayout::StackingMode>(stackingMode));
}
void QStackedLayout_ConnectWidgetRemoved(void* ptr)
{
QObject::connect(static_cast<QStackedLayout*>(ptr), static_cast<void (QStackedLayout::*)(int)>(&QStackedLayout::widgetRemoved), static_cast<MyQStackedLayout*>(ptr), static_cast<void (MyQStackedLayout::*)(int)>(&MyQStackedLayout::Signal_WidgetRemoved));
}
void QStackedLayout_DisconnectWidgetRemoved(void* ptr)
{
QObject::disconnect(static_cast<QStackedLayout*>(ptr), static_cast<void (QStackedLayout::*)(int)>(&QStackedLayout::widgetRemoved), static_cast<MyQStackedLayout*>(ptr), static_cast<void (MyQStackedLayout::*)(int)>(&MyQStackedLayout::Signal_WidgetRemoved));
}
void QStackedLayout_WidgetRemoved(void* ptr, int index)
{
static_cast<QStackedLayout*>(ptr)->widgetRemoved(index);
}
void QStackedLayout_DestroyQStackedLayout(void* ptr)
{
static_cast<QStackedLayout*>(ptr)->~QStackedLayout();
}
void* QStackedLayout_ItemAt(void* ptr, int index)
{
return static_cast<QStackedLayout*>(ptr)->itemAt(index);
}
void* QStackedLayout_ItemAtDefault(void* ptr, int index)
{
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::itemAt(index);
}
void* QStackedLayout_SizeHint(void* ptr)
{
return ({ QSize tmpValue = static_cast<QStackedLayout*>(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QStackedLayout_SizeHintDefault(void* ptr)
{
return ({ QSize tmpValue = static_cast<QStackedLayout*>(ptr)->QStackedLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QStackedLayout_CurrentWidget(void* ptr)
{
return static_cast<QStackedLayout*>(ptr)->currentWidget();
}
void* QStackedLayout_Widget(void* ptr, int index)
{
return static_cast<QStackedLayout*>(ptr)->widget(index);
}
long long QStackedLayout_StackingMode(void* ptr)
{
return static_cast<QStackedLayout*>(ptr)->stackingMode();
}
int QStackedLayout_Count(void* ptr)
{
return static_cast<QStackedLayout*>(ptr)->count();
}
int QStackedLayout_CountDefault(void* ptr)
{
return static_cast<QStackedLayout*>(ptr)->QStackedLayout::count();
}
int QStackedLayout_CurrentIndex(void* ptr)
{
return static_cast<QStackedLayout*>(ptr)->currentIndex();
}
class MyQStackedWidget: public QStackedWidget
{
public:
MyQStackedWidget(QWidget *parent) : QStackedWidget(parent) {};
void Signal_CurrentChanged(int index) { callbackQStackedWidget_CurrentChanged(this, index); };
void setCurrentIndex(int index) { callbackQStackedWidget_SetCurrentIndex(this, index); };
void setCurrentWidget(QWidget * widget) { callbackQStackedWidget_SetCurrentWidget(this, widget); };
void Signal_WidgetRemoved(int index) { callbackQStackedWidget_WidgetRemoved(this, index); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QStackedWidget_NewQStackedWidget(void* parent)
{
return new MyQStackedWidget(static_cast<QWidget*>(parent));
}
int QStackedWidget_AddWidget(void* ptr, void* widget)
{
return static_cast<QStackedWidget*>(ptr)->addWidget(static_cast<QWidget*>(widget));
}
int QStackedWidget_InsertWidget(void* ptr, int index, void* widget)
{
return static_cast<QStackedWidget*>(ptr)->insertWidget(index, static_cast<QWidget*>(widget));
}
void QStackedWidget_ConnectCurrentChanged(void* ptr)
{
QObject::connect(static_cast<QStackedWidget*>(ptr), static_cast<void (QStackedWidget::*)(int)>(&QStackedWidget::currentChanged), static_cast<MyQStackedWidget*>(ptr), static_cast<void (MyQStackedWidget::*)(int)>(&MyQStackedWidget::Signal_CurrentChanged));
}
void QStackedWidget_DisconnectCurrentChanged(void* ptr)
{
QObject::disconnect(static_cast<QStackedWidget*>(ptr), static_cast<void (QStackedWidget::*)(int)>(&QStackedWidget::currentChanged), static_cast<MyQStackedWidget*>(ptr), static_cast<void (MyQStackedWidget::*)(int)>(&MyQStackedWidget::Signal_CurrentChanged));
}
void QStackedWidget_CurrentChanged(void* ptr, int index)
{
static_cast<QStackedWidget*>(ptr)->currentChanged(index);
}
void QStackedWidget_RemoveWidget(void* ptr, void* widget)
{
static_cast<QStackedWidget*>(ptr)->removeWidget(static_cast<QWidget*>(widget));
}
void QStackedWidget_SetCurrentIndex(void* ptr, int index)
{
QMetaObject::invokeMethod(static_cast<QStackedWidget*>(ptr), "setCurrentIndex", Q_ARG(int, index));
}
void QStackedWidget_SetCurrentIndexDefault(void* ptr, int index)
{
static_cast<QStackedWidget*>(ptr)->QStackedWidget::setCurrentIndex(index);
}
void QStackedWidget_SetCurrentWidget(void* ptr, void* widget)
{
QMetaObject::invokeMethod(static_cast<QStackedWidget*>(ptr), "setCurrentWidget", Q_ARG(QWidget*, static_cast<QWidget*>(widget)));
}
void QStackedWidget_SetCurrentWidgetDefault(void* ptr, void* widget)
{
static_cast<QStackedWidget*>(ptr)->QStackedWidget::setCurrentWidget(static_cast<QWidget*>(widget));
}
void QStackedWidget_ConnectWidgetRemoved(void* ptr)
{
QObject::connect(static_cast<QStackedWidget*>(ptr), static_cast<void (QStackedWidget::*)(int)>(&QStackedWidget::widgetRemoved), static_cast<MyQStackedWidget*>(ptr), static_cast<void (MyQStackedWidget::*)(int)>(&MyQStackedWidget::Signal_WidgetRemoved));
}
void QStackedWidget_DisconnectWidgetRemoved(void* ptr)
{
QObject::disconnect(static_cast<QStackedWidget*>(ptr), static_cast<void (QStackedWidget::*)(int)>(&QStackedWidget::widgetRemoved), static_cast<MyQStackedWidget*>(ptr), static_cast<void (MyQStackedWidget::*)(int)>(&MyQStackedWidget::Signal_WidgetRemoved));
}
void QStackedWidget_WidgetRemoved(void* ptr, int index)
{
static_cast<QStackedWidget*>(ptr)->widgetRemoved(index);
}
void QStackedWidget_DestroyQStackedWidget(void* ptr)
{
static_cast<QStackedWidget*>(ptr)->~QStackedWidget();
}
void* QStackedWidget_CurrentWidget(void* ptr)
{
return static_cast<QStackedWidget*>(ptr)->currentWidget();
}
void* QStackedWidget_Widget(void* ptr, int index)
{
return static_cast<QStackedWidget*>(ptr)->widget(index);
}
int QStackedWidget_Count(void* ptr)
{
return static_cast<QStackedWidget*>(ptr)->count();
}
int QStackedWidget_CurrentIndex(void* ptr)
{
return static_cast<QStackedWidget*>(ptr)->currentIndex();
}
int QStackedWidget_IndexOf(void* ptr, void* widget)
{
return static_cast<QStackedWidget*>(ptr)->indexOf(static_cast<QWidget*>(widget));
}
class MyQStatusBar: public QStatusBar
{
public:
MyQStatusBar(QWidget *parent) : QStatusBar(parent) {};
void clearMessage() { callbackQStatusBar_ClearMessage(this); };
void Signal_MessageChanged(const QString & message) { QByteArray t6f9b9a = message.toUtf8(); QtWidgets_PackedString messagePacked = { const_cast<char*>(t6f9b9a.prepend("WHITESPACE").constData()+10), t6f9b9a.size()-10 };callbackQStatusBar_MessageChanged(this, messagePacked); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); };
void showEvent(QShowEvent * vqs) { callbackQWidget_ShowEvent(this, vqs); };
void showMessage(const QString & message, int timeout) { QByteArray t6f9b9a = message.toUtf8(); QtWidgets_PackedString messagePacked = { const_cast<char*>(t6f9b9a.prepend("WHITESPACE").constData()+10), t6f9b9a.size()-10 };callbackQStatusBar_ShowMessage(this, messagePacked, timeout); };
~MyQStatusBar() { callbackQStatusBar_DestroyQStatusBar(this); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QStatusBar_NewQStatusBar(void* parent)
{
return new MyQStatusBar(static_cast<QWidget*>(parent));
}
int QStatusBar_InsertPermanentWidget(void* ptr, int index, void* widget, int stretch)
{
return static_cast<QStatusBar*>(ptr)->insertPermanentWidget(index, static_cast<QWidget*>(widget), stretch);
}
int QStatusBar_InsertWidget(void* ptr, int index, void* widget, int stretch)
{
return static_cast<QStatusBar*>(ptr)->insertWidget(index, static_cast<QWidget*>(widget), stretch);
}
void QStatusBar_AddPermanentWidget(void* ptr, void* widget, int stretch)
{
static_cast<QStatusBar*>(ptr)->addPermanentWidget(static_cast<QWidget*>(widget), stretch);
}
void QStatusBar_AddWidget(void* ptr, void* widget, int stretch)
{
static_cast<QStatusBar*>(ptr)->addWidget(static_cast<QWidget*>(widget), stretch);
}
void QStatusBar_ClearMessage(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QStatusBar*>(ptr), "clearMessage");
}
void QStatusBar_ClearMessageDefault(void* ptr)
{
static_cast<QStatusBar*>(ptr)->QStatusBar::clearMessage();
}
void QStatusBar_HideOrShow(void* ptr)
{
static_cast<QStatusBar*>(ptr)->hideOrShow();
}
void QStatusBar_ConnectMessageChanged(void* ptr)
{
QObject::connect(static_cast<QStatusBar*>(ptr), static_cast<void (QStatusBar::*)(const QString &)>(&QStatusBar::messageChanged), static_cast<MyQStatusBar*>(ptr), static_cast<void (MyQStatusBar::*)(const QString &)>(&MyQStatusBar::Signal_MessageChanged));
}
void QStatusBar_DisconnectMessageChanged(void* ptr)
{
QObject::disconnect(static_cast<QStatusBar*>(ptr), static_cast<void (QStatusBar::*)(const QString &)>(&QStatusBar::messageChanged), static_cast<MyQStatusBar*>(ptr), static_cast<void (MyQStatusBar::*)(const QString &)>(&MyQStatusBar::Signal_MessageChanged));
}
void QStatusBar_MessageChanged(void* ptr, char* message)
{
static_cast<QStatusBar*>(ptr)->messageChanged(QString(message));
}
void QStatusBar_Reformat(void* ptr)
{
static_cast<QStatusBar*>(ptr)->reformat();
}
void QStatusBar_RemoveWidget(void* ptr, void* widget)
{
static_cast<QStatusBar*>(ptr)->removeWidget(static_cast<QWidget*>(widget));
}
void QStatusBar_SetSizeGripEnabled(void* ptr, char vbo)
{
static_cast<QStatusBar*>(ptr)->setSizeGripEnabled(vbo != 0);
}
void QStatusBar_ShowMessage(void* ptr, char* message, int timeout)
{
QMetaObject::invokeMethod(static_cast<QStatusBar*>(ptr), "showMessage", Q_ARG(QString, QString(message)), Q_ARG(int, timeout));
}
void QStatusBar_ShowMessageDefault(void* ptr, char* message, int timeout)
{
static_cast<QStatusBar*>(ptr)->QStatusBar::showMessage(QString(message), timeout);
}
void QStatusBar_DestroyQStatusBar(void* ptr)
{
static_cast<QStatusBar*>(ptr)->~QStatusBar();
}
void QStatusBar_DestroyQStatusBarDefault(void* ptr)
{
}
struct QtWidgets_PackedString QStatusBar_CurrentMessage(void* ptr)
{
return ({ QByteArray t40367b = static_cast<QStatusBar*>(ptr)->currentMessage().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t40367b.prepend("WHITESPACE").constData()+10), t40367b.size()-10 }; });
}
char QStatusBar_IsSizeGripEnabled(void* ptr)
{
return static_cast<QStatusBar*>(ptr)->isSizeGripEnabled();
}
class MyQStyle: public QStyle
{
public:
MyQStyle() : QStyle() {};
void polish(QApplication * application) { callbackQStyle_Polish2(this, application); };
void polish(QPalette & palette) { callbackQStyle_Polish3(this, static_cast<QPalette*>(&palette)); };
void polish(QWidget * widget) { callbackQStyle_Polish(this, widget); };
void unpolish(QApplication * application) { callbackQStyle_Unpolish2(this, application); };
void unpolish(QWidget * widget) { callbackQStyle_Unpolish(this, widget); };
~MyQStyle() { callbackQStyle_DestroyQStyle(this); };
QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption * option, const QWidget * widget) const { return *static_cast<QIcon*>(callbackQStyle_StandardIcon(const_cast<void*>(static_cast<const void*>(this)), standardIcon, const_cast<QStyleOption*>(option), const_cast<QWidget*>(widget))); };
QPalette standardPalette() const { return *static_cast<QPalette*>(callbackQStyle_StandardPalette(const_cast<void*>(static_cast<const void*>(this)))); };
QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap & pixmap, const QStyleOption * option) const { return *static_cast<QPixmap*>(callbackQStyle_GeneratedIconPixmap(const_cast<void*>(static_cast<const void*>(this)), iconMode, const_cast<QPixmap*>(&pixmap), const_cast<QStyleOption*>(option))); };
QRect itemPixmapRect(const QRect & rectangle, int alignment, const QPixmap & pixmap) const { return *static_cast<QRect*>(callbackQStyle_ItemPixmapRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QRect*>(&rectangle), alignment, const_cast<QPixmap*>(&pixmap))); };
QRect itemTextRect(const QFontMetrics & metrics, const QRect & rectangle, int alignment, bool enabled, const QString & text) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };return *static_cast<QRect*>(callbackQStyle_ItemTextRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QFontMetrics*>(&metrics), const_cast<QRect*>(&rectangle), alignment, enabled, textPacked)); };
QRect subControlRect(QStyle::ComplexControl control, const QStyleOptionComplex * option, QStyle::SubControl subControl, const QWidget * widget) const { return *static_cast<QRect*>(callbackQStyle_SubControlRect(const_cast<void*>(static_cast<const void*>(this)), control, const_cast<QStyleOptionComplex*>(option), subControl, const_cast<QWidget*>(widget))); };
QRect subElementRect(QStyle::SubElement element, const QStyleOption * option, const QWidget * widget) const { return *static_cast<QRect*>(callbackQStyle_SubElementRect(const_cast<void*>(static_cast<const void*>(this)), element, const_cast<QStyleOption*>(option), const_cast<QWidget*>(widget))); };
QSize sizeFromContents(QStyle::ContentsType ty, const QStyleOption * option, const QSize & contentsSize, const QWidget * widget) const { return *static_cast<QSize*>(callbackQStyle_SizeFromContents(const_cast<void*>(static_cast<const void*>(this)), ty, const_cast<QStyleOption*>(option), const_cast<QSize*>(&contentsSize), const_cast<QWidget*>(widget))); };
SubControl hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex * option, const QPoint & position, const QWidget * widget) const { return static_cast<QStyle::SubControl>(callbackQStyle_HitTestComplexControl(const_cast<void*>(static_cast<const void*>(this)), control, const_cast<QStyleOptionComplex*>(option), const_cast<QPoint*>(&position), const_cast<QWidget*>(widget))); };
int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption * option, const QWidget * widget) const { return callbackQStyle_LayoutSpacing(const_cast<void*>(static_cast<const void*>(this)), control1, control2, orientation, const_cast<QStyleOption*>(option), const_cast<QWidget*>(widget)); };
int pixelMetric(QStyle::PixelMetric metric, const QStyleOption * option, const QWidget * widget) const { return callbackQStyle_PixelMetric(const_cast<void*>(static_cast<const void*>(this)), metric, const_cast<QStyleOption*>(option), const_cast<QWidget*>(widget)); };
int styleHint(QStyle::StyleHint hint, const QStyleOption * option, const QWidget * widget, QStyleHintReturn * returnData) const { return callbackQStyle_StyleHint(const_cast<void*>(static_cast<const void*>(this)), hint, const_cast<QStyleOption*>(option), const_cast<QWidget*>(widget), returnData); };
void drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex * option, QPainter * painter, const QWidget * widget) const { callbackQStyle_DrawComplexControl(const_cast<void*>(static_cast<const void*>(this)), control, const_cast<QStyleOptionComplex*>(option), painter, const_cast<QWidget*>(widget)); };
void drawControl(QStyle::ControlElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget) const { callbackQStyle_DrawControl(const_cast<void*>(static_cast<const void*>(this)), element, const_cast<QStyleOption*>(option), painter, const_cast<QWidget*>(widget)); };
void drawItemPixmap(QPainter * painter, const QRect & rectangle, int alignment, const QPixmap & pixmap) const { callbackQStyle_DrawItemPixmap(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QRect*>(&rectangle), alignment, const_cast<QPixmap*>(&pixmap)); };
void drawItemText(QPainter * painter, const QRect & rectangle, int alignment, const QPalette & palette, bool enabled, const QString & text, QPalette::ColorRole textRole) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQStyle_DrawItemText(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QRect*>(&rectangle), alignment, const_cast<QPalette*>(&palette), enabled, textPacked, textRole); };
void drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget) const { callbackQStyle_DrawPrimitive(const_cast<void*>(static_cast<const void*>(this)), element, const_cast<QStyleOption*>(option), painter, const_cast<QWidget*>(widget)); };
QPixmap standardPixmap(QStyle::StandardPixmap standardIcon, const QStyleOption * option, const QWidget * widget) const { return *static_cast<QPixmap*>(callbackQStyle_StandardPixmap(const_cast<void*>(static_cast<const void*>(this)), standardIcon, const_cast<QStyleOption*>(option), const_cast<QWidget*>(widget))); };
bool event(QEvent * e) { return callbackQStyle_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQStyle_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQStyle_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQStyle_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQStyle_CustomEvent(this, event); };
void deleteLater() { callbackQStyle_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQStyle_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQStyle_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQStyle_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQStyle_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQStyle_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
int QStyle_PM_MdiSubWindowMinimizedWidth_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_MdiSubWindowMinimizedWidth;
#else
return 0;
#endif
}
int QStyle_PM_HeaderMargin_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_HeaderMargin;
#else
return 0;
#endif
}
int QStyle_PM_HeaderMarkSize_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_HeaderMarkSize;
#else
return 0;
#endif
}
int QStyle_PM_HeaderGripMargin_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_HeaderGripMargin;
#else
return 0;
#endif
}
int QStyle_PM_TabBarTabShiftHorizontal_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_TabBarTabShiftHorizontal;
#else
return 0;
#endif
}
int QStyle_PM_TabBarTabShiftVertical_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_TabBarTabShiftVertical;
#else
return 0;
#endif
}
int QStyle_PM_TabBarScrollButtonWidth_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_TabBarScrollButtonWidth;
#else
return 0;
#endif
}
int QStyle_PM_ToolBarFrameWidth_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_ToolBarFrameWidth;
#else
return 0;
#endif
}
int QStyle_PM_ToolBarHandleExtent_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_ToolBarHandleExtent;
#else
return 0;
#endif
}
int QStyle_PM_ToolBarItemSpacing_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_ToolBarItemSpacing;
#else
return 0;
#endif
}
int QStyle_PM_ToolBarItemMargin_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_ToolBarItemMargin;
#else
return 0;
#endif
}
int QStyle_PM_ToolBarSeparatorExtent_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_ToolBarSeparatorExtent;
#else
return 0;
#endif
}
int QStyle_PM_ToolBarExtensionExtent_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_ToolBarExtensionExtent;
#else
return 0;
#endif
}
int QStyle_PM_SpinBoxSliderHeight_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_SpinBoxSliderHeight;
#else
return 0;
#endif
}
int QStyle_PM_DefaultTopLevelMargin_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_DefaultTopLevelMargin;
#else
return 0;
#endif
}
int QStyle_PM_DefaultChildMargin_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_DefaultChildMargin;
#else
return 0;
#endif
}
int QStyle_PM_DefaultLayoutSpacing_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_DefaultLayoutSpacing;
#else
return 0;
#endif
}
int QStyle_PM_ToolBarIconSize_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_ToolBarIconSize;
#else
return 0;
#endif
}
int QStyle_PM_ListViewIconSize_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_ListViewIconSize;
#else
return 0;
#endif
}
int QStyle_PM_IconViewIconSize_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_IconViewIconSize;
#else
return 0;
#endif
}
int QStyle_PM_SmallIconSize_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_SmallIconSize;
#else
return 0;
#endif
}
int QStyle_PM_LargeIconSize_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_LargeIconSize;
#else
return 0;
#endif
}
int QStyle_PM_FocusFrameVMargin_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_FocusFrameVMargin;
#else
return 0;
#endif
}
int QStyle_PM_FocusFrameHMargin_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_FocusFrameHMargin;
#else
return 0;
#endif
}
int QStyle_PM_ToolTipLabelFrameWidth_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_ToolTipLabelFrameWidth;
#else
return 0;
#endif
}
int QStyle_PM_CheckBoxLabelSpacing_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_CheckBoxLabelSpacing;
#else
return 0;
#endif
}
int QStyle_PM_TabBarIconSize_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_TabBarIconSize;
#else
return 0;
#endif
}
int QStyle_PM_SizeGripSize_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_SizeGripSize;
#else
return 0;
#endif
}
int QStyle_PM_DockWidgetTitleMargin_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_DockWidgetTitleMargin;
#else
return 0;
#endif
}
int QStyle_PM_MessageBoxIconSize_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_MessageBoxIconSize;
#else
return 0;
#endif
}
int QStyle_PM_ButtonIconSize_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_ButtonIconSize;
#else
return 0;
#endif
}
int QStyle_PM_DockWidgetTitleBarButtonMargin_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_DockWidgetTitleBarButtonMargin;
#else
return 0;
#endif
}
int QStyle_PM_RadioButtonLabelSpacing_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_RadioButtonLabelSpacing;
#else
return 0;
#endif
}
int QStyle_PM_LayoutLeftMargin_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_LayoutLeftMargin;
#else
return 0;
#endif
}
int QStyle_PM_LayoutTopMargin_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_LayoutTopMargin;
#else
return 0;
#endif
}
int QStyle_PM_LayoutRightMargin_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_LayoutRightMargin;
#else
return 0;
#endif
}
int QStyle_PM_LayoutBottomMargin_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_LayoutBottomMargin;
#else
return 0;
#endif
}
int QStyle_PM_LayoutHorizontalSpacing_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_LayoutHorizontalSpacing;
#else
return 0;
#endif
}
int QStyle_PM_LayoutVerticalSpacing_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_LayoutVerticalSpacing;
#else
return 0;
#endif
}
int QStyle_PM_TabBar_ScrollButtonOverlap_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_TabBar_ScrollButtonOverlap;
#else
return 0;
#endif
}
int QStyle_PM_TextCursorWidth_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_TextCursorWidth;
#else
return 0;
#endif
}
int QStyle_PM_TabCloseIndicatorWidth_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_TabCloseIndicatorWidth;
#else
return 0;
#endif
}
int QStyle_PM_TabCloseIndicatorHeight_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_TabCloseIndicatorHeight;
#else
return 0;
#endif
}
int QStyle_PM_ScrollView_ScrollBarSpacing_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_ScrollView_ScrollBarSpacing;
#else
return 0;
#endif
}
int QStyle_PM_ScrollView_ScrollBarOverlap_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_ScrollView_ScrollBarOverlap;
#else
return 0;
#endif
}
int QStyle_PM_SubMenuOverlap_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_SubMenuOverlap;
#else
return 0;
#endif
}
int QStyle_PM_TreeViewIndentation_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_TreeViewIndentation;
#else
return 0;
#endif
}
int QStyle_PM_HeaderDefaultSectionSizeHorizontal_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_HeaderDefaultSectionSizeHorizontal;
#else
return 0;
#endif
}
int QStyle_PM_HeaderDefaultSectionSizeVertical_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_HeaderDefaultSectionSizeVertical;
#else
return 0;
#endif
}
int QStyle_PM_TitleBarButtonIconSize_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_TitleBarButtonIconSize;
#else
return 0;
#endif
}
int QStyle_PM_TitleBarButtonSize_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::PM_TitleBarButtonSize;
#else
return 0;
#endif
}
int QStyle_PE_FrameTabWidget_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_FrameTabWidget;
#else
return 0;
#endif
}
int QStyle_PE_FrameWindow_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_FrameWindow;
#else
return 0;
#endif
}
int QStyle_PE_FrameButtonBevel_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_FrameButtonBevel;
#else
return 0;
#endif
}
int QStyle_PE_FrameButtonTool_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_FrameButtonTool;
#else
return 0;
#endif
}
int QStyle_PE_FrameTabBarBase_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_FrameTabBarBase;
#else
return 0;
#endif
}
int QStyle_PE_PanelButtonCommand_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_PanelButtonCommand;
#else
return 0;
#endif
}
int QStyle_PE_PanelButtonBevel_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_PanelButtonBevel;
#else
return 0;
#endif
}
int QStyle_PE_PanelButtonTool_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_PanelButtonTool;
#else
return 0;
#endif
}
int QStyle_PE_PanelMenuBar_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_PanelMenuBar;
#else
return 0;
#endif
}
int QStyle_PE_PanelToolBar_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_PanelToolBar;
#else
return 0;
#endif
}
int QStyle_PE_PanelLineEdit_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_PanelLineEdit;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorArrowDown_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorArrowDown;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorArrowLeft_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorArrowLeft;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorArrowRight_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorArrowRight;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorArrowUp_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorArrowUp;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorBranch_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorBranch;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorButtonDropDown_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorButtonDropDown;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorViewItemCheck_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorViewItemCheck;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorCheckBox_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorCheckBox;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorDockWidgetResizeHandle_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorDockWidgetResizeHandle;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorHeaderArrow_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorHeaderArrow;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorMenuCheckMark_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorMenuCheckMark;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorProgressChunk_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorProgressChunk;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorRadioButton_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorRadioButton;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorSpinDown_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorSpinDown;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorSpinMinus_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorSpinMinus;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorSpinPlus_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorSpinPlus;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorSpinUp_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorSpinUp;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorToolBarHandle_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorToolBarHandle;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorToolBarSeparator_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorToolBarSeparator;
#else
return 0;
#endif
}
int QStyle_PE_PanelTipLabel_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_PanelTipLabel;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorTabTear_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorTabTear;
#else
return 0;
#endif
}
int QStyle_PE_PanelScrollAreaCorner_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_PanelScrollAreaCorner;
#else
return 0;
#endif
}
int QStyle_PE_Widget_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_Widget;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorColumnViewArrow_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorColumnViewArrow;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorItemViewItemDrop_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorItemViewItemDrop;
#else
return 0;
#endif
}
int QStyle_PE_PanelItemViewItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_PanelItemViewItem;
#else
return 0;
#endif
}
int QStyle_PE_PanelItemViewRow_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_PanelItemViewRow;
#else
return 0;
#endif
}
int QStyle_PE_PanelStatusBar_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_PanelStatusBar;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorTabClose_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorTabClose;
#else
return 0;
#endif
}
int QStyle_PE_PanelMenu_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_PanelMenu;
#else
return 0;
#endif
}
int QStyle_PE_IndicatorTabTearRight_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::PE_IndicatorTabTearRight;
#else
return 0;
#endif
}
int QStyle_SH_BlinkCursorWhenTextSelected_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_BlinkCursorWhenTextSelected;
#else
return 0;
#endif
}
int QStyle_SH_RichText_FullWidthSelection_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_RichText_FullWidthSelection;
#else
return 0;
#endif
}
int QStyle_SH_Menu_Scrollable_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Menu_Scrollable;
#else
return 0;
#endif
}
int QStyle_SH_GroupBox_TextLabelVerticalAlignment_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_GroupBox_TextLabelVerticalAlignment;
#else
return 0;
#endif
}
int QStyle_SH_GroupBox_TextLabelColor_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_GroupBox_TextLabelColor;
#else
return 0;
#endif
}
int QStyle_SH_Menu_SloppySubMenus_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Menu_SloppySubMenus;
#else
return 0;
#endif
}
int QStyle_SH_Table_GridLineColor_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Table_GridLineColor;
#else
return 0;
#endif
}
int QStyle_SH_LineEdit_PasswordCharacter_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_LineEdit_PasswordCharacter;
#else
return 0;
#endif
}
int QStyle_SH_DialogButtons_DefaultButton_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_DialogButtons_DefaultButton;
#else
return 0;
#endif
}
int QStyle_SH_ToolBox_SelectedPageTitleBold_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ToolBox_SelectedPageTitleBold;
#else
return 0;
#endif
}
int QStyle_SH_TabBar_PreferNoArrows_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_TabBar_PreferNoArrows;
#else
return 0;
#endif
}
int QStyle_SH_ScrollBar_LeftClickAbsolutePosition_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ScrollBar_LeftClickAbsolutePosition;
#else
return 0;
#endif
}
int QStyle_SH_ListViewExpand_SelectMouseType_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ListViewExpand_SelectMouseType;
#else
return 0;
#endif
}
int QStyle_SH_UnderlineShortcut_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_UnderlineShortcut;
#else
return 0;
#endif
}
int QStyle_SH_SpinBox_AnimateButton_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_SpinBox_AnimateButton;
#else
return 0;
#endif
}
int QStyle_SH_SpinBox_KeyPressAutoRepeatRate_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_SpinBox_KeyPressAutoRepeatRate;
#else
return 0;
#endif
}
int QStyle_SH_SpinBox_ClickAutoRepeatRate_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_SpinBox_ClickAutoRepeatRate;
#else
return 0;
#endif
}
int QStyle_SH_Menu_FillScreenWithScroll_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Menu_FillScreenWithScroll;
#else
return 0;
#endif
}
int QStyle_SH_ToolTipLabel_Opacity_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ToolTipLabel_Opacity;
#else
return 0;
#endif
}
int QStyle_SH_DrawMenuBarSeparator_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_DrawMenuBarSeparator;
#else
return 0;
#endif
}
int QStyle_SH_TitleBar_ModifyNotification_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_TitleBar_ModifyNotification;
#else
return 0;
#endif
}
int QStyle_SH_Button_FocusPolicy_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Button_FocusPolicy;
#else
return 0;
#endif
}
int QStyle_SH_MessageBox_UseBorderForButtonSpacing_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_MessageBox_UseBorderForButtonSpacing;
#else
return 0;
#endif
}
int QStyle_SH_TitleBar_AutoRaise_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_TitleBar_AutoRaise;
#else
return 0;
#endif
}
int QStyle_SH_ToolButton_PopupDelay_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ToolButton_PopupDelay;
#else
return 0;
#endif
}
int QStyle_SH_FocusFrame_Mask_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_FocusFrame_Mask;
#else
return 0;
#endif
}
int QStyle_SH_RubberBand_Mask_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_RubberBand_Mask;
#else
return 0;
#endif
}
int QStyle_SH_WindowFrame_Mask_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_WindowFrame_Mask;
#else
return 0;
#endif
}
int QStyle_SH_SpinControls_DisableOnBounds_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_SpinControls_DisableOnBounds;
#else
return 0;
#endif
}
int QStyle_SH_Dial_BackgroundRole_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Dial_BackgroundRole;
#else
return 0;
#endif
}
int QStyle_SH_ComboBox_LayoutDirection_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ComboBox_LayoutDirection;
#else
return 0;
#endif
}
int QStyle_SH_ItemView_EllipsisLocation_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ItemView_EllipsisLocation;
#else
return 0;
#endif
}
int QStyle_SH_ItemView_ShowDecorationSelected_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ItemView_ShowDecorationSelected;
#else
return 0;
#endif
}
int QStyle_SH_ItemView_ActivateItemOnSingleClick_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ItemView_ActivateItemOnSingleClick;
#else
return 0;
#endif
}
int QStyle_SH_ScrollBar_ContextMenu_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ScrollBar_ContextMenu;
#else
return 0;
#endif
}
int QStyle_SH_ScrollBar_RollBetweenButtons_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ScrollBar_RollBetweenButtons;
#else
return 0;
#endif
}
int QStyle_SH_Slider_AbsoluteSetButtons_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Slider_AbsoluteSetButtons;
#else
return 0;
#endif
}
int QStyle_SH_Slider_PageSetButtons_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Slider_PageSetButtons;
#else
return 0;
#endif
}
int QStyle_SH_Menu_KeyboardSearch_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Menu_KeyboardSearch;
#else
return 0;
#endif
}
int QStyle_SH_TabBar_ElideMode_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_TabBar_ElideMode;
#else
return 0;
#endif
}
int QStyle_SH_DialogButtonLayout_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_DialogButtonLayout;
#else
return 0;
#endif
}
int QStyle_SH_ComboBox_PopupFrameStyle_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ComboBox_PopupFrameStyle;
#else
return 0;
#endif
}
int QStyle_SH_MessageBox_TextInteractionFlags_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_MessageBox_TextInteractionFlags;
#else
return 0;
#endif
}
int QStyle_SH_DialogButtonBox_ButtonsHaveIcons_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_DialogButtonBox_ButtonsHaveIcons;
#else
return 0;
#endif
}
int QStyle_SH_SpellCheckUnderlineStyle_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_SpellCheckUnderlineStyle;
#else
return 0;
#endif
}
int QStyle_SH_MessageBox_CenterButtons_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_MessageBox_CenterButtons;
#else
return 0;
#endif
}
int QStyle_SH_Menu_SelectionWrap_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Menu_SelectionWrap;
#else
return 0;
#endif
}
int QStyle_SH_ItemView_MovementWithoutUpdatingSelection_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ItemView_MovementWithoutUpdatingSelection;
#else
return 0;
#endif
}
int QStyle_SH_ToolTip_Mask_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ToolTip_Mask;
#else
return 0;
#endif
}
int QStyle_SH_FocusFrame_AboveWidget_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_FocusFrame_AboveWidget;
#else
return 0;
#endif
}
int QStyle_SH_TextControl_FocusIndicatorTextCharFormat_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_TextControl_FocusIndicatorTextCharFormat;
#else
return 0;
#endif
}
int QStyle_SH_WizardStyle_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_WizardStyle;
#else
return 0;
#endif
}
int QStyle_SH_ItemView_ArrowKeysNavigateIntoChildren_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ItemView_ArrowKeysNavigateIntoChildren;
#else
return 0;
#endif
}
int QStyle_SH_Menu_Mask_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Menu_Mask;
#else
return 0;
#endif
}
int QStyle_SH_Menu_FlashTriggeredItem_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Menu_FlashTriggeredItem;
#else
return 0;
#endif
}
int QStyle_SH_Menu_FadeOutOnHide_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Menu_FadeOutOnHide;
#else
return 0;
#endif
}
int QStyle_SH_SpinBox_ClickAutoRepeatThreshold_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_SpinBox_ClickAutoRepeatThreshold;
#else
return 0;
#endif
}
int QStyle_SH_ItemView_PaintAlternatingRowColorsForEmptyArea_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ItemView_PaintAlternatingRowColorsForEmptyArea;
#else
return 0;
#endif
}
int QStyle_SH_FormLayoutWrapPolicy_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_FormLayoutWrapPolicy;
#else
return 0;
#endif
}
int QStyle_SH_TabWidget_DefaultTabPosition_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_TabWidget_DefaultTabPosition;
#else
return 0;
#endif
}
int QStyle_SH_ToolBar_Movable_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ToolBar_Movable;
#else
return 0;
#endif
}
int QStyle_SH_FormLayoutFieldGrowthPolicy_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_FormLayoutFieldGrowthPolicy;
#else
return 0;
#endif
}
int QStyle_SH_FormLayoutFormAlignment_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_FormLayoutFormAlignment;
#else
return 0;
#endif
}
int QStyle_SH_FormLayoutLabelAlignment_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_FormLayoutLabelAlignment;
#else
return 0;
#endif
}
int QStyle_SH_ItemView_DrawDelegateFrame_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ItemView_DrawDelegateFrame;
#else
return 0;
#endif
}
int QStyle_SH_TabBar_CloseButtonPosition_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_TabBar_CloseButtonPosition;
#else
return 0;
#endif
}
int QStyle_SH_DockWidget_ButtonsHaveFrame_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_DockWidget_ButtonsHaveFrame;
#else
return 0;
#endif
}
int QStyle_SH_ToolButtonStyle_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ToolButtonStyle;
#else
return 0;
#endif
}
int QStyle_SH_RequestSoftwareInputPanel_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_RequestSoftwareInputPanel;
#else
return 0;
#endif
}
int QStyle_SH_ScrollBar_Transient_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ScrollBar_Transient;
#else
return 0;
#endif
}
int QStyle_SH_Menu_SupportsSections_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Menu_SupportsSections;
#else
return 0;
#endif
}
int QStyle_SH_ToolTip_WakeUpDelay_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ToolTip_WakeUpDelay;
#else
return 0;
#endif
}
int QStyle_SH_ToolTip_FallAsleepDelay_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ToolTip_FallAsleepDelay;
#else
return 0;
#endif
}
int QStyle_SH_Widget_Animate_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Widget_Animate;
#else
return 0;
#endif
}
int QStyle_SH_Splitter_OpaqueResize_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Splitter_OpaqueResize;
#else
return 0;
#endif
}
int QStyle_SH_ComboBox_UseNativePopup_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ComboBox_UseNativePopup;
#else
return 0;
#endif
}
int QStyle_SH_LineEdit_PasswordMaskDelay_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_LineEdit_PasswordMaskDelay;
#else
return 0;
#endif
}
int QStyle_SH_TabBar_ChangeCurrentDelay_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_TabBar_ChangeCurrentDelay;
#else
return 0;
#endif
}
int QStyle_SH_Menu_SubMenuUniDirection_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Menu_SubMenuUniDirection;
#else
return 0;
#endif
}
int QStyle_SH_Menu_SubMenuUniDirectionFailCount_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Menu_SubMenuUniDirectionFailCount;
#else
return 0;
#endif
}
int QStyle_SH_Menu_SubMenuSloppySelectOtherActions_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Menu_SubMenuSloppySelectOtherActions;
#else
return 0;
#endif
}
int QStyle_SH_Menu_SubMenuSloppyCloseTimeout_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Menu_SubMenuSloppyCloseTimeout;
#else
return 0;
#endif
}
int QStyle_SH_Menu_SubMenuResetWhenReenteringParent_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Menu_SubMenuResetWhenReenteringParent;
#else
return 0;
#endif
}
int QStyle_SH_Menu_SubMenuDontStartSloppyOnLeave_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_Menu_SubMenuDontStartSloppyOnLeave;
#else
return 0;
#endif
}
int QStyle_SH_ItemView_ScrollMode_Type()
{
#if QT_VERSION >= 0x056000
return QStyle::SH_ItemView_ScrollMode;
#else
return 0;
#endif
}
int QStyle_SE_TabBarTearIndicator_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_TabBarTearIndicator;
#else
return 0;
#endif
}
int QStyle_SE_TreeViewDisclosureItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_TreeViewDisclosureItem;
#else
return 0;
#endif
}
int QStyle_SE_LineEditContents_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_LineEditContents;
#else
return 0;
#endif
}
int QStyle_SE_FrameContents_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_FrameContents;
#else
return 0;
#endif
}
int QStyle_SE_DockWidgetCloseButton_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_DockWidgetCloseButton;
#else
return 0;
#endif
}
int QStyle_SE_DockWidgetFloatButton_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_DockWidgetFloatButton;
#else
return 0;
#endif
}
int QStyle_SE_DockWidgetTitleBarText_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_DockWidgetTitleBarText;
#else
return 0;
#endif
}
int QStyle_SE_DockWidgetIcon_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_DockWidgetIcon;
#else
return 0;
#endif
}
int QStyle_SE_CheckBoxLayoutItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_CheckBoxLayoutItem;
#else
return 0;
#endif
}
int QStyle_SE_ComboBoxLayoutItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_ComboBoxLayoutItem;
#else
return 0;
#endif
}
int QStyle_SE_DateTimeEditLayoutItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_DateTimeEditLayoutItem;
#else
return 0;
#endif
}
int QStyle_SE_DialogButtonBoxLayoutItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_DialogButtonBoxLayoutItem;
#else
return 0;
#endif
}
int QStyle_SE_LabelLayoutItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_LabelLayoutItem;
#else
return 0;
#endif
}
int QStyle_SE_ProgressBarLayoutItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_ProgressBarLayoutItem;
#else
return 0;
#endif
}
int QStyle_SE_PushButtonLayoutItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_PushButtonLayoutItem;
#else
return 0;
#endif
}
int QStyle_SE_RadioButtonLayoutItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_RadioButtonLayoutItem;
#else
return 0;
#endif
}
int QStyle_SE_SliderLayoutItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_SliderLayoutItem;
#else
return 0;
#endif
}
int QStyle_SE_SpinBoxLayoutItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_SpinBoxLayoutItem;
#else
return 0;
#endif
}
int QStyle_SE_ToolButtonLayoutItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_ToolButtonLayoutItem;
#else
return 0;
#endif
}
int QStyle_SE_FrameLayoutItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_FrameLayoutItem;
#else
return 0;
#endif
}
int QStyle_SE_GroupBoxLayoutItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_GroupBoxLayoutItem;
#else
return 0;
#endif
}
int QStyle_SE_TabWidgetLayoutItem_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_TabWidgetLayoutItem;
#else
return 0;
#endif
}
int QStyle_SE_ItemViewItemDecoration_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_ItemViewItemDecoration;
#else
return 0;
#endif
}
int QStyle_SE_ItemViewItemText_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_ItemViewItemText;
#else
return 0;
#endif
}
int QStyle_SE_ItemViewItemFocusRect_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_ItemViewItemFocusRect;
#else
return 0;
#endif
}
int QStyle_SE_TabBarTabLeftButton_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_TabBarTabLeftButton;
#else
return 0;
#endif
}
int QStyle_SE_TabBarTabRightButton_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_TabBarTabRightButton;
#else
return 0;
#endif
}
int QStyle_SE_TabBarTabText_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_TabBarTabText;
#else
return 0;
#endif
}
int QStyle_SE_ShapedFrameContents_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_ShapedFrameContents;
#else
return 0;
#endif
}
int QStyle_SE_ToolBarHandle_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_ToolBarHandle;
#else
return 0;
#endif
}
int QStyle_SE_TabBarScrollLeftButton_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_TabBarScrollLeftButton;
#else
return 0;
#endif
}
int QStyle_SE_TabBarScrollRightButton_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_TabBarScrollRightButton;
#else
return 0;
#endif
}
int QStyle_SE_TabBarTearIndicatorRight_Type()
{
#if QT_VERSION >= 0x057000
return QStyle::SE_TabBarTearIndicatorRight;
#else
return 0;
#endif
}
void* QStyle_QStyle_VisualPos(long long direction, void* boundingRectangle, void* logicalPosition)
{
return ({ QPoint tmpValue = QStyle::visualPos(static_cast<Qt::LayoutDirection>(direction), *static_cast<QRect*>(boundingRectangle), *static_cast<QPoint*>(logicalPosition)); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QStyle_QStyle_AlignedRect(long long direction, long long alignment, void* size, void* rectangle)
{
return ({ QRect tmpValue = QStyle::alignedRect(static_cast<Qt::LayoutDirection>(direction), static_cast<Qt::AlignmentFlag>(alignment), *static_cast<QSize*>(size), *static_cast<QRect*>(rectangle)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QStyle_QStyle_VisualRect(long long direction, void* boundingRectangle, void* logicalRectangle)
{
return ({ QRect tmpValue = QStyle::visualRect(static_cast<Qt::LayoutDirection>(direction), *static_cast<QRect*>(boundingRectangle), *static_cast<QRect*>(logicalRectangle)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QStyle_NewQStyle()
{
return new MyQStyle();
}
long long QStyle_QStyle_VisualAlignment(long long direction, long long alignment)
{
return QStyle::visualAlignment(static_cast<Qt::LayoutDirection>(direction), static_cast<Qt::AlignmentFlag>(alignment));
}
int QStyle_QStyle_SliderPositionFromValue(int min, int max, int logicalValue, int span, char upsideDown)
{
return QStyle::sliderPositionFromValue(min, max, logicalValue, span, upsideDown != 0);
}
int QStyle_QStyle_SliderValueFromPosition(int min, int max, int position, int span, char upsideDown)
{
return QStyle::sliderValueFromPosition(min, max, position, span, upsideDown != 0);
}
void QStyle_Polish2(void* ptr, void* application)
{
static_cast<QStyle*>(ptr)->polish(static_cast<QApplication*>(application));
}
void QStyle_Polish2Default(void* ptr, void* application)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::polish(static_cast<QApplication*>(application));
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::polish(static_cast<QApplication*>(application));
} else {
static_cast<QStyle*>(ptr)->QStyle::polish(static_cast<QApplication*>(application));
}
}
void QStyle_Polish3(void* ptr, void* palette)
{
static_cast<QStyle*>(ptr)->polish(*static_cast<QPalette*>(palette));
}
void QStyle_Polish3Default(void* ptr, void* palette)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::polish(*static_cast<QPalette*>(palette));
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::polish(*static_cast<QPalette*>(palette));
} else {
static_cast<QStyle*>(ptr)->QStyle::polish(*static_cast<QPalette*>(palette));
}
}
void QStyle_Polish(void* ptr, void* widget)
{
static_cast<QStyle*>(ptr)->polish(static_cast<QWidget*>(widget));
}
void QStyle_PolishDefault(void* ptr, void* widget)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::polish(static_cast<QWidget*>(widget));
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::polish(static_cast<QWidget*>(widget));
} else {
static_cast<QStyle*>(ptr)->QStyle::polish(static_cast<QWidget*>(widget));
}
}
void QStyle_Unpolish2(void* ptr, void* application)
{
static_cast<QStyle*>(ptr)->unpolish(static_cast<QApplication*>(application));
}
void QStyle_Unpolish2Default(void* ptr, void* application)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::unpolish(static_cast<QApplication*>(application));
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::unpolish(static_cast<QApplication*>(application));
} else {
static_cast<QStyle*>(ptr)->QStyle::unpolish(static_cast<QApplication*>(application));
}
}
void QStyle_Unpolish(void* ptr, void* widget)
{
static_cast<QStyle*>(ptr)->unpolish(static_cast<QWidget*>(widget));
}
void QStyle_UnpolishDefault(void* ptr, void* widget)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::unpolish(static_cast<QWidget*>(widget));
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::unpolish(static_cast<QWidget*>(widget));
} else {
static_cast<QStyle*>(ptr)->QStyle::unpolish(static_cast<QWidget*>(widget));
}
}
void QStyle_DestroyQStyle(void* ptr)
{
static_cast<QStyle*>(ptr)->~QStyle();
}
void QStyle_DestroyQStyleDefault(void* ptr)
{
}
void* QStyle_StandardIcon(void* ptr, long long standardIcon, void* option, void* widget)
{
return new QIcon(static_cast<QStyle*>(ptr)->standardIcon(static_cast<QStyle::StandardPixmap>(standardIcon), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget)));
}
void* QStyle_StandardPalette(void* ptr)
{
return new QPalette(static_cast<QStyle*>(ptr)->standardPalette());
}
void* QStyle_StandardPaletteDefault(void* ptr)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
return new QPalette(static_cast<QProxyStyle*>(ptr)->QProxyStyle::standardPalette());
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
return new QPalette(static_cast<QCommonStyle*>(ptr)->QCommonStyle::standardPalette());
} else {
return new QPalette(static_cast<QStyle*>(ptr)->QStyle::standardPalette());
}
}
void* QStyle_GeneratedIconPixmap(void* ptr, long long iconMode, void* pixmap, void* option)
{
return new QPixmap(static_cast<QStyle*>(ptr)->generatedIconPixmap(static_cast<QIcon::Mode>(iconMode), *static_cast<QPixmap*>(pixmap), static_cast<QStyleOption*>(option)));
}
void* QStyle_ItemPixmapRect(void* ptr, void* rectangle, int alignment, void* pixmap)
{
return ({ QRect tmpValue = static_cast<QStyle*>(ptr)->itemPixmapRect(*static_cast<QRect*>(rectangle), alignment, *static_cast<QPixmap*>(pixmap)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QStyle_ItemPixmapRectDefault(void* ptr, void* rectangle, int alignment, void* pixmap)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QProxyStyle*>(ptr)->QProxyStyle::itemPixmapRect(*static_cast<QRect*>(rectangle), alignment, *static_cast<QPixmap*>(pixmap)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QCommonStyle*>(ptr)->QCommonStyle::itemPixmapRect(*static_cast<QRect*>(rectangle), alignment, *static_cast<QPixmap*>(pixmap)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRect tmpValue = static_cast<QStyle*>(ptr)->QStyle::itemPixmapRect(*static_cast<QRect*>(rectangle), alignment, *static_cast<QPixmap*>(pixmap)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QStyle_ItemTextRect(void* ptr, void* metrics, void* rectangle, int alignment, char enabled, char* text)
{
return ({ QRect tmpValue = static_cast<QStyle*>(ptr)->itemTextRect(*static_cast<QFontMetrics*>(metrics), *static_cast<QRect*>(rectangle), alignment, enabled != 0, QString(text)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QStyle_ItemTextRectDefault(void* ptr, void* metrics, void* rectangle, int alignment, char enabled, char* text)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QProxyStyle*>(ptr)->QProxyStyle::itemTextRect(*static_cast<QFontMetrics*>(metrics), *static_cast<QRect*>(rectangle), alignment, enabled != 0, QString(text)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QCommonStyle*>(ptr)->QCommonStyle::itemTextRect(*static_cast<QFontMetrics*>(metrics), *static_cast<QRect*>(rectangle), alignment, enabled != 0, QString(text)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRect tmpValue = static_cast<QStyle*>(ptr)->QStyle::itemTextRect(*static_cast<QFontMetrics*>(metrics), *static_cast<QRect*>(rectangle), alignment, enabled != 0, QString(text)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QStyle_SubControlRect(void* ptr, long long control, void* option, long long subControl, void* widget)
{
return ({ QRect tmpValue = static_cast<QStyle*>(ptr)->subControlRect(static_cast<QStyle::ComplexControl>(control), static_cast<QStyleOptionComplex*>(option), static_cast<QStyle::SubControl>(subControl), static_cast<QWidget*>(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QStyle_SubElementRect(void* ptr, long long element, void* option, void* widget)
{
return ({ QRect tmpValue = static_cast<QStyle*>(ptr)->subElementRect(static_cast<QStyle::SubElement>(element), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QStyle_SizeFromContents(void* ptr, long long ty, void* option, void* contentsSize, void* widget)
{
return ({ QSize tmpValue = static_cast<QStyle*>(ptr)->sizeFromContents(static_cast<QStyle::ContentsType>(ty), static_cast<QStyleOption*>(option), *static_cast<QSize*>(contentsSize), static_cast<QWidget*>(widget)); new QSize(tmpValue.width(), tmpValue.height()); });
}
long long QStyle_HitTestComplexControl(void* ptr, long long control, void* option, void* position, void* widget)
{
return static_cast<QStyle*>(ptr)->hitTestComplexControl(static_cast<QStyle::ComplexControl>(control), static_cast<QStyleOptionComplex*>(option), *static_cast<QPoint*>(position), static_cast<QWidget*>(widget));
}
void* QStyle_Proxy(void* ptr)
{
return const_cast<QStyle*>(static_cast<QStyle*>(ptr)->proxy());
}
int QStyle_CombinedLayoutSpacing(void* ptr, long long controls1, long long controls2, long long orientation, void* option, void* widget)
{
return static_cast<QStyle*>(ptr)->combinedLayoutSpacing(static_cast<QSizePolicy::ControlType>(controls1), static_cast<QSizePolicy::ControlType>(controls2), static_cast<Qt::Orientation>(orientation), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget));
}
int QStyle_LayoutSpacing(void* ptr, long long control1, long long control2, long long orientation, void* option, void* widget)
{
return static_cast<QStyle*>(ptr)->layoutSpacing(static_cast<QSizePolicy::ControlType>(control1), static_cast<QSizePolicy::ControlType>(control2), static_cast<Qt::Orientation>(orientation), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget));
}
int QStyle_PixelMetric(void* ptr, long long metric, void* option, void* widget)
{
return static_cast<QStyle*>(ptr)->pixelMetric(static_cast<QStyle::PixelMetric>(metric), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget));
}
int QStyle_StyleHint(void* ptr, long long hint, void* option, void* widget, void* returnData)
{
return static_cast<QStyle*>(ptr)->styleHint(static_cast<QStyle::StyleHint>(hint), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget), static_cast<QStyleHintReturn*>(returnData));
}
void QStyle_DrawComplexControl(void* ptr, long long control, void* option, void* painter, void* widget)
{
static_cast<QStyle*>(ptr)->drawComplexControl(static_cast<QStyle::ComplexControl>(control), static_cast<QStyleOptionComplex*>(option), static_cast<QPainter*>(painter), static_cast<QWidget*>(widget));
}
void QStyle_DrawControl(void* ptr, long long element, void* option, void* painter, void* widget)
{
static_cast<QStyle*>(ptr)->drawControl(static_cast<QStyle::ControlElement>(element), static_cast<QStyleOption*>(option), static_cast<QPainter*>(painter), static_cast<QWidget*>(widget));
}
void QStyle_DrawItemPixmap(void* ptr, void* painter, void* rectangle, int alignment, void* pixmap)
{
static_cast<QStyle*>(ptr)->drawItemPixmap(static_cast<QPainter*>(painter), *static_cast<QRect*>(rectangle), alignment, *static_cast<QPixmap*>(pixmap));
}
void QStyle_DrawItemPixmapDefault(void* ptr, void* painter, void* rectangle, int alignment, void* pixmap)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::drawItemPixmap(static_cast<QPainter*>(painter), *static_cast<QRect*>(rectangle), alignment, *static_cast<QPixmap*>(pixmap));
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::drawItemPixmap(static_cast<QPainter*>(painter), *static_cast<QRect*>(rectangle), alignment, *static_cast<QPixmap*>(pixmap));
} else {
static_cast<QStyle*>(ptr)->QStyle::drawItemPixmap(static_cast<QPainter*>(painter), *static_cast<QRect*>(rectangle), alignment, *static_cast<QPixmap*>(pixmap));
}
}
void QStyle_DrawItemText(void* ptr, void* painter, void* rectangle, int alignment, void* palette, char enabled, char* text, long long textRole)
{
static_cast<QStyle*>(ptr)->drawItemText(static_cast<QPainter*>(painter), *static_cast<QRect*>(rectangle), alignment, *static_cast<QPalette*>(palette), enabled != 0, QString(text), static_cast<QPalette::ColorRole>(textRole));
}
void QStyle_DrawItemTextDefault(void* ptr, void* painter, void* rectangle, int alignment, void* palette, char enabled, char* text, long long textRole)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::drawItemText(static_cast<QPainter*>(painter), *static_cast<QRect*>(rectangle), alignment, *static_cast<QPalette*>(palette), enabled != 0, QString(text), static_cast<QPalette::ColorRole>(textRole));
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::drawItemText(static_cast<QPainter*>(painter), *static_cast<QRect*>(rectangle), alignment, *static_cast<QPalette*>(palette), enabled != 0, QString(text), static_cast<QPalette::ColorRole>(textRole));
} else {
static_cast<QStyle*>(ptr)->QStyle::drawItemText(static_cast<QPainter*>(painter), *static_cast<QRect*>(rectangle), alignment, *static_cast<QPalette*>(palette), enabled != 0, QString(text), static_cast<QPalette::ColorRole>(textRole));
}
}
void QStyle_DrawPrimitive(void* ptr, long long element, void* option, void* painter, void* widget)
{
static_cast<QStyle*>(ptr)->drawPrimitive(static_cast<QStyle::PrimitiveElement>(element), static_cast<QStyleOption*>(option), static_cast<QPainter*>(painter), static_cast<QWidget*>(widget));
}
void* QStyle_StandardPixmap(void* ptr, long long standardIcon, void* option, void* widget)
{
return new QPixmap(static_cast<QStyle*>(ptr)->standardPixmap(static_cast<QStyle::StandardPixmap>(standardIcon), static_cast<QStyleOption*>(option), static_cast<QWidget*>(widget)));
}
void* QStyle___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QStyle___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QStyle___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QStyle___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QStyle___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QStyle___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QStyle___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QStyle___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QStyle___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QStyle___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QStyle___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QStyle___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QStyle___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QStyle___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QStyle___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QStyle_EventDefault(void* ptr, void* e)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
return static_cast<QProxyStyle*>(ptr)->QProxyStyle::event(static_cast<QEvent*>(e));
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
return static_cast<QCommonStyle*>(ptr)->QCommonStyle::event(static_cast<QEvent*>(e));
} else {
return static_cast<QStyle*>(ptr)->QStyle::event(static_cast<QEvent*>(e));
}
}
char QStyle_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QProxyStyle*>(ptr)->QProxyStyle::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QProxyStyle*>(ptr)->QProxyStyle::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QProxyStyle*>(ptr)->QProxyStyle::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QProxyStyle*>(ptr)->QProxyStyle::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QProxyStyle*>(ptr)->QProxyStyle::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QCommonStyle*>(ptr)->QCommonStyle::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QCommonStyle*>(ptr)->QCommonStyle::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QCommonStyle*>(ptr)->QCommonStyle::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QCommonStyle*>(ptr)->QCommonStyle::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QCommonStyle*>(ptr)->QCommonStyle::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QStyle*>(ptr)->QStyle::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QStyle*>(ptr)->QStyle::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QStyle*>(ptr)->QStyle::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QStyle*>(ptr)->QStyle::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QStyle*>(ptr)->QStyle::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
}
void QStyle_ChildEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::childEvent(static_cast<QChildEvent*>(event));
} else {
static_cast<QStyle*>(ptr)->QStyle::childEvent(static_cast<QChildEvent*>(event));
}
}
void QStyle_ConnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::connectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QStyle*>(ptr)->QStyle::connectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QStyle_CustomEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::customEvent(static_cast<QEvent*>(event));
} else {
static_cast<QStyle*>(ptr)->QStyle::customEvent(static_cast<QEvent*>(event));
}
}
void QStyle_DeleteLaterDefault(void* ptr)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::deleteLater();
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::deleteLater();
} else {
static_cast<QStyle*>(ptr)->QStyle::deleteLater();
}
}
void QStyle_DisconnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QStyle*>(ptr)->QStyle::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QStyle_TimerEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QProxyStyle*>(ptr)->QProxyStyle::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
static_cast<QCommonStyle*>(ptr)->QCommonStyle::timerEvent(static_cast<QTimerEvent*>(event));
} else {
static_cast<QStyle*>(ptr)->QStyle::timerEvent(static_cast<QTimerEvent*>(event));
}
}
void* QStyle_MetaObjectDefault(void* ptr)
{
if (dynamic_cast<QProxyStyle*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QProxyStyle*>(ptr)->QProxyStyle::metaObject());
} else if (dynamic_cast<QCommonStyle*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QCommonStyle*>(ptr)->QCommonStyle::metaObject());
} else {
return const_cast<QMetaObject*>(static_cast<QStyle*>(ptr)->QStyle::metaObject());
}
}
struct QtWidgets_PackedString QStyleFactory_QStyleFactory_Keys()
{
return ({ QByteArray t733aa8 = QStyleFactory::keys().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t733aa8.prepend("WHITESPACE").constData()+10), t733aa8.size()-10 }; });
}
void* QStyleFactory_QStyleFactory_Create(char* key)
{
return QStyleFactory::create(QString(key));
}
int QStyleHintReturn_SH_Mask_Type()
{
#if QT_VERSION >= 0x056000
return QStyleHintReturn::SH_Mask;
#else
return 0;
#endif
}
int QStyleHintReturn_SH_Variant_Type()
{
#if QT_VERSION >= 0x056000
return QStyleHintReturn::SH_Variant;
#else
return 0;
#endif
}
void* QStyleHintReturn_NewQStyleHintReturn(int version, int ty)
{
return new QStyleHintReturn(version, ty);
}
int QStyleHintReturn_Type(void* ptr)
{
return static_cast<QStyleHintReturn*>(ptr)->type;
}
void QStyleHintReturn_SetType(void* ptr, int vin)
{
static_cast<QStyleHintReturn*>(ptr)->type = vin;
}
int QStyleHintReturn_Version(void* ptr)
{
return static_cast<QStyleHintReturn*>(ptr)->version;
}
void QStyleHintReturn_SetVersion(void* ptr, int vin)
{
static_cast<QStyleHintReturn*>(ptr)->version = vin;
}
void* QStyleHintReturnMask_NewQStyleHintReturnMask()
{
return new QStyleHintReturnMask();
}
void QStyleHintReturnMask_DestroyQStyleHintReturnMask(void* ptr)
{
static_cast<QStyleHintReturnMask*>(ptr)->~QStyleHintReturnMask();
}
void* QStyleHintReturnMask_Region(void* ptr)
{
return new QRegion(static_cast<QStyleHintReturnMask*>(ptr)->region);
}
void QStyleHintReturnMask_SetRegion(void* ptr, void* vqr)
{
static_cast<QStyleHintReturnMask*>(ptr)->region = *static_cast<QRegion*>(vqr);
}
void* QStyleHintReturnVariant_NewQStyleHintReturnVariant()
{
return new QStyleHintReturnVariant();
}
void QStyleHintReturnVariant_DestroyQStyleHintReturnVariant(void* ptr)
{
static_cast<QStyleHintReturnVariant*>(ptr)->~QStyleHintReturnVariant();
}
void* QStyleHintReturnVariant_Variant(void* ptr)
{
return new QVariant(static_cast<QStyleHintReturnVariant*>(ptr)->variant);
}
void QStyleHintReturnVariant_SetVariant(void* ptr, void* vqv)
{
static_cast<QStyleHintReturnVariant*>(ptr)->variant = *static_cast<QVariant*>(vqv);
}
int QStyleOption_SO_Slider_Type()
{
return QStyleOption::SO_Slider;
}
int QStyleOption_SO_SpinBox_Type()
{
return QStyleOption::SO_SpinBox;
}
int QStyleOption_SO_ToolButton_Type()
{
return QStyleOption::SO_ToolButton;
}
int QStyleOption_SO_ComboBox_Type()
{
return QStyleOption::SO_ComboBox;
}
int QStyleOption_SO_TitleBar_Type()
{
return QStyleOption::SO_TitleBar;
}
int QStyleOption_SO_GroupBox_Type()
{
return QStyleOption::SO_GroupBox;
}
int QStyleOption_SO_SizeGrip_Type()
{
return QStyleOption::SO_SizeGrip;
}
void* QStyleOption_NewQStyleOption2(void* other)
{
return new QStyleOption(*static_cast<QStyleOption*>(other));
}
void* QStyleOption_NewQStyleOption(int version, int ty)
{
return new QStyleOption(version, ty);
}
void QStyleOption_InitFrom(void* ptr, void* widget)
{
static_cast<QStyleOption*>(ptr)->initFrom(static_cast<QWidget*>(widget));
}
void QStyleOption_DestroyQStyleOption(void* ptr)
{
static_cast<QStyleOption*>(ptr)->~QStyleOption();
}
long long QStyleOption_Direction(void* ptr)
{
return static_cast<QStyleOption*>(ptr)->direction;
}
void QStyleOption_SetDirection(void* ptr, long long vqt)
{
static_cast<QStyleOption*>(ptr)->direction = static_cast<Qt::LayoutDirection>(vqt);
}
void* QStyleOption_FontMetrics(void* ptr)
{
return new QFontMetrics(static_cast<QStyleOption*>(ptr)->fontMetrics);
}
void QStyleOption_SetFontMetrics(void* ptr, void* vqf)
{
static_cast<QStyleOption*>(ptr)->fontMetrics = *static_cast<QFontMetrics*>(vqf);
}
void* QStyleOption_Palette(void* ptr)
{
return new QPalette(static_cast<QStyleOption*>(ptr)->palette);
}
void QStyleOption_SetPalette(void* ptr, void* vqp)
{
static_cast<QStyleOption*>(ptr)->palette = *static_cast<QPalette*>(vqp);
}
void* QStyleOption_Rect(void* ptr)
{
return ({ QRect tmpValue = static_cast<QStyleOption*>(ptr)->rect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void QStyleOption_SetRect(void* ptr, void* vqr)
{
static_cast<QStyleOption*>(ptr)->rect = *static_cast<QRect*>(vqr);
}
long long QStyleOption_State(void* ptr)
{
return static_cast<QStyleOption*>(ptr)->state;
}
void QStyleOption_SetState(void* ptr, long long vqs)
{
static_cast<QStyleOption*>(ptr)->state = static_cast<QStyle::StateFlag>(vqs);
}
void* QStyleOption_StyleObject(void* ptr)
{
return static_cast<QStyleOption*>(ptr)->styleObject;
}
void QStyleOption_SetStyleObject(void* ptr, void* vqo)
{
static_cast<QStyleOption*>(ptr)->styleObject = static_cast<QObject*>(vqo);
}
int QStyleOption_Type(void* ptr)
{
return static_cast<QStyleOption*>(ptr)->type;
}
void QStyleOption_SetType(void* ptr, int vin)
{
static_cast<QStyleOption*>(ptr)->type = vin;
}
int QStyleOption_Version(void* ptr)
{
return static_cast<QStyleOption*>(ptr)->version;
}
void QStyleOption_SetVersion(void* ptr, int vin)
{
static_cast<QStyleOption*>(ptr)->version = vin;
}
void* QStyleOptionButton_NewQStyleOptionButton()
{
return new QStyleOptionButton();
}
void* QStyleOptionButton_NewQStyleOptionButton2(void* other)
{
return new QStyleOptionButton(*static_cast<QStyleOptionButton*>(other));
}
long long QStyleOptionButton_Features(void* ptr)
{
return static_cast<QStyleOptionButton*>(ptr)->features;
}
void QStyleOptionButton_SetFeatures(void* ptr, long long vbu)
{
static_cast<QStyleOptionButton*>(ptr)->features = static_cast<QStyleOptionButton::ButtonFeature>(vbu);
}
void* QStyleOptionButton_Icon(void* ptr)
{
return new QIcon(static_cast<QStyleOptionButton*>(ptr)->icon);
}
void QStyleOptionButton_SetIcon(void* ptr, void* vqi)
{
static_cast<QStyleOptionButton*>(ptr)->icon = *static_cast<QIcon*>(vqi);
}
void* QStyleOptionButton_IconSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QStyleOptionButton*>(ptr)->iconSize; new QSize(tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionButton_SetIconSize(void* ptr, void* vqs)
{
static_cast<QStyleOptionButton*>(ptr)->iconSize = *static_cast<QSize*>(vqs);
}
struct QtWidgets_PackedString QStyleOptionButton_Text(void* ptr)
{
return ({ QByteArray t3af65e = static_cast<QStyleOptionButton*>(ptr)->text.toUtf8(); QtWidgets_PackedString { const_cast<char*>(t3af65e.prepend("WHITESPACE").constData()+10), t3af65e.size()-10 }; });
}
void QStyleOptionButton_SetText(void* ptr, char* vqs)
{
static_cast<QStyleOptionButton*>(ptr)->text = QString(vqs);
}
void* QStyleOptionComboBox_NewQStyleOptionComboBox()
{
return new QStyleOptionComboBox();
}
void* QStyleOptionComboBox_NewQStyleOptionComboBox2(void* other)
{
return new QStyleOptionComboBox(*static_cast<QStyleOptionComboBox*>(other));
}
void* QStyleOptionComboBox_CurrentIcon(void* ptr)
{
return new QIcon(static_cast<QStyleOptionComboBox*>(ptr)->currentIcon);
}
void QStyleOptionComboBox_SetCurrentIcon(void* ptr, void* vqi)
{
static_cast<QStyleOptionComboBox*>(ptr)->currentIcon = *static_cast<QIcon*>(vqi);
}
struct QtWidgets_PackedString QStyleOptionComboBox_CurrentText(void* ptr)
{
return ({ QByteArray t049c82 = static_cast<QStyleOptionComboBox*>(ptr)->currentText.toUtf8(); QtWidgets_PackedString { const_cast<char*>(t049c82.prepend("WHITESPACE").constData()+10), t049c82.size()-10 }; });
}
void QStyleOptionComboBox_SetCurrentText(void* ptr, char* vqs)
{
static_cast<QStyleOptionComboBox*>(ptr)->currentText = QString(vqs);
}
char QStyleOptionComboBox_Editable(void* ptr)
{
return static_cast<QStyleOptionComboBox*>(ptr)->editable;
}
void QStyleOptionComboBox_SetEditable(void* ptr, char vbo)
{
static_cast<QStyleOptionComboBox*>(ptr)->editable = vbo != 0;
}
char QStyleOptionComboBox_Frame(void* ptr)
{
return static_cast<QStyleOptionComboBox*>(ptr)->frame;
}
void QStyleOptionComboBox_SetFrame(void* ptr, char vbo)
{
static_cast<QStyleOptionComboBox*>(ptr)->frame = vbo != 0;
}
void* QStyleOptionComboBox_IconSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QStyleOptionComboBox*>(ptr)->iconSize; new QSize(tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionComboBox_SetIconSize(void* ptr, void* vqs)
{
static_cast<QStyleOptionComboBox*>(ptr)->iconSize = *static_cast<QSize*>(vqs);
}
void* QStyleOptionComboBox_PopupRect(void* ptr)
{
return ({ QRect tmpValue = static_cast<QStyleOptionComboBox*>(ptr)->popupRect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionComboBox_SetPopupRect(void* ptr, void* vqr)
{
static_cast<QStyleOptionComboBox*>(ptr)->popupRect = *static_cast<QRect*>(vqr);
}
void* QStyleOptionComplex_NewQStyleOptionComplex2(void* other)
{
return new QStyleOptionComplex(*static_cast<QStyleOptionComplex*>(other));
}
void* QStyleOptionComplex_NewQStyleOptionComplex(int version, int ty)
{
return new QStyleOptionComplex(version, ty);
}
long long QStyleOptionComplex_ActiveSubControls(void* ptr)
{
return static_cast<QStyleOptionComplex*>(ptr)->activeSubControls;
}
void QStyleOptionComplex_SetActiveSubControls(void* ptr, long long vqs)
{
static_cast<QStyleOptionComplex*>(ptr)->activeSubControls = static_cast<QStyle::SubControl>(vqs);
}
long long QStyleOptionComplex_SubControls(void* ptr)
{
return static_cast<QStyleOptionComplex*>(ptr)->subControls;
}
void QStyleOptionComplex_SetSubControls(void* ptr, long long vqs)
{
static_cast<QStyleOptionComplex*>(ptr)->subControls = static_cast<QStyle::SubControl>(vqs);
}
void* QStyleOptionDockWidget_NewQStyleOptionDockWidget()
{
return new QStyleOptionDockWidget();
}
void* QStyleOptionDockWidget_NewQStyleOptionDockWidget2(void* other)
{
return new QStyleOptionDockWidget(*static_cast<QStyleOptionDockWidget*>(other));
}
char QStyleOptionDockWidget_Closable(void* ptr)
{
return static_cast<QStyleOptionDockWidget*>(ptr)->closable;
}
void QStyleOptionDockWidget_SetClosable(void* ptr, char vbo)
{
static_cast<QStyleOptionDockWidget*>(ptr)->closable = vbo != 0;
}
char QStyleOptionDockWidget_Floatable(void* ptr)
{
return static_cast<QStyleOptionDockWidget*>(ptr)->floatable;
}
void QStyleOptionDockWidget_SetFloatable(void* ptr, char vbo)
{
static_cast<QStyleOptionDockWidget*>(ptr)->floatable = vbo != 0;
}
char QStyleOptionDockWidget_Movable(void* ptr)
{
return static_cast<QStyleOptionDockWidget*>(ptr)->movable;
}
void QStyleOptionDockWidget_SetMovable(void* ptr, char vbo)
{
static_cast<QStyleOptionDockWidget*>(ptr)->movable = vbo != 0;
}
struct QtWidgets_PackedString QStyleOptionDockWidget_Title(void* ptr)
{
return ({ QByteArray t0c6191 = static_cast<QStyleOptionDockWidget*>(ptr)->title.toUtf8(); QtWidgets_PackedString { const_cast<char*>(t0c6191.prepend("WHITESPACE").constData()+10), t0c6191.size()-10 }; });
}
void QStyleOptionDockWidget_SetTitle(void* ptr, char* vqs)
{
static_cast<QStyleOptionDockWidget*>(ptr)->title = QString(vqs);
}
char QStyleOptionDockWidget_VerticalTitleBar(void* ptr)
{
return static_cast<QStyleOptionDockWidget*>(ptr)->verticalTitleBar;
}
void QStyleOptionDockWidget_SetVerticalTitleBar(void* ptr, char vbo)
{
static_cast<QStyleOptionDockWidget*>(ptr)->verticalTitleBar = vbo != 0;
}
void* QStyleOptionFocusRect_NewQStyleOptionFocusRect()
{
return new QStyleOptionFocusRect();
}
void* QStyleOptionFocusRect_NewQStyleOptionFocusRect2(void* other)
{
return new QStyleOptionFocusRect(*static_cast<QStyleOptionFocusRect*>(other));
}
void* QStyleOptionFocusRect_BackgroundColor(void* ptr)
{
return new QColor(static_cast<QStyleOptionFocusRect*>(ptr)->backgroundColor);
}
void QStyleOptionFocusRect_SetBackgroundColor(void* ptr, void* vqc)
{
static_cast<QStyleOptionFocusRect*>(ptr)->backgroundColor = *static_cast<QColor*>(vqc);
}
void* QStyleOptionFrame_NewQStyleOptionFrame()
{
return new QStyleOptionFrame();
}
void* QStyleOptionFrame_NewQStyleOptionFrame2(void* other)
{
return new QStyleOptionFrame(*static_cast<QStyleOptionFrame*>(other));
}
long long QStyleOptionFrame_Features(void* ptr)
{
return static_cast<QStyleOptionFrame*>(ptr)->features;
}
void QStyleOptionFrame_SetFeatures(void* ptr, long long vfr)
{
static_cast<QStyleOptionFrame*>(ptr)->features = static_cast<QStyleOptionFrame::FrameFeature>(vfr);
}
long long QStyleOptionFrame_FrameShape(void* ptr)
{
return static_cast<QStyleOptionFrame*>(ptr)->frameShape;
}
void QStyleOptionFrame_SetFrameShape(void* ptr, long long vqf)
{
static_cast<QStyleOptionFrame*>(ptr)->frameShape = static_cast<QFrame::Shape>(vqf);
}
int QStyleOptionFrame_LineWidth(void* ptr)
{
return static_cast<QStyleOptionFrame*>(ptr)->lineWidth;
}
void QStyleOptionFrame_SetLineWidth(void* ptr, int vin)
{
static_cast<QStyleOptionFrame*>(ptr)->lineWidth = vin;
}
int QStyleOptionFrame_MidLineWidth(void* ptr)
{
return static_cast<QStyleOptionFrame*>(ptr)->midLineWidth;
}
void QStyleOptionFrame_SetMidLineWidth(void* ptr, int vin)
{
static_cast<QStyleOptionFrame*>(ptr)->midLineWidth = vin;
}
void* QStyleOptionGraphicsItem_NewQStyleOptionGraphicsItem()
{
return new QStyleOptionGraphicsItem();
}
void* QStyleOptionGraphicsItem_NewQStyleOptionGraphicsItem2(void* other)
{
return new QStyleOptionGraphicsItem(*static_cast<QStyleOptionGraphicsItem*>(other));
}
double QStyleOptionGraphicsItem_QStyleOptionGraphicsItem_LevelOfDetailFromTransform(void* worldTransform)
{
return QStyleOptionGraphicsItem::levelOfDetailFromTransform(*static_cast<QTransform*>(worldTransform));
}
void* QStyleOptionGraphicsItem_ExposedRect(void* ptr)
{
return ({ QRectF tmpValue = static_cast<QStyleOptionGraphicsItem*>(ptr)->exposedRect; new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionGraphicsItem_SetExposedRect(void* ptr, void* vqr)
{
static_cast<QStyleOptionGraphicsItem*>(ptr)->exposedRect = *static_cast<QRectF*>(vqr);
}
void* QStyleOptionGroupBox_NewQStyleOptionGroupBox()
{
return new QStyleOptionGroupBox();
}
void* QStyleOptionGroupBox_NewQStyleOptionGroupBox2(void* other)
{
return new QStyleOptionGroupBox(*static_cast<QStyleOptionGroupBox*>(other));
}
long long QStyleOptionGroupBox_Features(void* ptr)
{
return static_cast<QStyleOptionGroupBox*>(ptr)->features;
}
void QStyleOptionGroupBox_SetFeatures(void* ptr, long long vqs)
{
static_cast<QStyleOptionGroupBox*>(ptr)->features = static_cast<QStyleOptionFrame::FrameFeature>(vqs);
}
int QStyleOptionGroupBox_LineWidth(void* ptr)
{
return static_cast<QStyleOptionGroupBox*>(ptr)->lineWidth;
}
void QStyleOptionGroupBox_SetLineWidth(void* ptr, int vin)
{
static_cast<QStyleOptionGroupBox*>(ptr)->lineWidth = vin;
}
int QStyleOptionGroupBox_MidLineWidth(void* ptr)
{
return static_cast<QStyleOptionGroupBox*>(ptr)->midLineWidth;
}
void QStyleOptionGroupBox_SetMidLineWidth(void* ptr, int vin)
{
static_cast<QStyleOptionGroupBox*>(ptr)->midLineWidth = vin;
}
struct QtWidgets_PackedString QStyleOptionGroupBox_Text(void* ptr)
{
return ({ QByteArray t33bfde = static_cast<QStyleOptionGroupBox*>(ptr)->text.toUtf8(); QtWidgets_PackedString { const_cast<char*>(t33bfde.prepend("WHITESPACE").constData()+10), t33bfde.size()-10 }; });
}
void QStyleOptionGroupBox_SetText(void* ptr, char* vqs)
{
static_cast<QStyleOptionGroupBox*>(ptr)->text = QString(vqs);
}
long long QStyleOptionGroupBox_TextAlignment(void* ptr)
{
return static_cast<QStyleOptionGroupBox*>(ptr)->textAlignment;
}
void QStyleOptionGroupBox_SetTextAlignment(void* ptr, long long vqt)
{
static_cast<QStyleOptionGroupBox*>(ptr)->textAlignment = static_cast<Qt::AlignmentFlag>(vqt);
}
void* QStyleOptionGroupBox_TextColor(void* ptr)
{
return new QColor(static_cast<QStyleOptionGroupBox*>(ptr)->textColor);
}
void QStyleOptionGroupBox_SetTextColor(void* ptr, void* vqc)
{
static_cast<QStyleOptionGroupBox*>(ptr)->textColor = *static_cast<QColor*>(vqc);
}
void* QStyleOptionHeader_NewQStyleOptionHeader()
{
return new QStyleOptionHeader();
}
void* QStyleOptionHeader_NewQStyleOptionHeader2(void* other)
{
return new QStyleOptionHeader(*static_cast<QStyleOptionHeader*>(other));
}
void* QStyleOptionHeader_Icon(void* ptr)
{
return new QIcon(static_cast<QStyleOptionHeader*>(ptr)->icon);
}
void QStyleOptionHeader_SetIcon(void* ptr, void* vqi)
{
static_cast<QStyleOptionHeader*>(ptr)->icon = *static_cast<QIcon*>(vqi);
}
long long QStyleOptionHeader_IconAlignment(void* ptr)
{
return static_cast<QStyleOptionHeader*>(ptr)->iconAlignment;
}
void QStyleOptionHeader_SetIconAlignment(void* ptr, long long vqt)
{
static_cast<QStyleOptionHeader*>(ptr)->iconAlignment = static_cast<Qt::AlignmentFlag>(vqt);
}
long long QStyleOptionHeader_Orientation(void* ptr)
{
return static_cast<QStyleOptionHeader*>(ptr)->orientation;
}
void QStyleOptionHeader_SetOrientation(void* ptr, long long vqt)
{
static_cast<QStyleOptionHeader*>(ptr)->orientation = static_cast<Qt::Orientation>(vqt);
}
long long QStyleOptionHeader_Position(void* ptr)
{
return static_cast<QStyleOptionHeader*>(ptr)->position;
}
void QStyleOptionHeader_SetPosition(void* ptr, long long vse)
{
static_cast<QStyleOptionHeader*>(ptr)->position = static_cast<QStyleOptionHeader::SectionPosition>(vse);
}
int QStyleOptionHeader_Section(void* ptr)
{
return static_cast<QStyleOptionHeader*>(ptr)->section;
}
void QStyleOptionHeader_SetSection(void* ptr, int vin)
{
static_cast<QStyleOptionHeader*>(ptr)->section = vin;
}
long long QStyleOptionHeader_SelectedPosition(void* ptr)
{
return static_cast<QStyleOptionHeader*>(ptr)->selectedPosition;
}
void QStyleOptionHeader_SetSelectedPosition(void* ptr, long long vse)
{
static_cast<QStyleOptionHeader*>(ptr)->selectedPosition = static_cast<QStyleOptionHeader::SelectedPosition>(vse);
}
long long QStyleOptionHeader_SortIndicator(void* ptr)
{
return static_cast<QStyleOptionHeader*>(ptr)->sortIndicator;
}
void QStyleOptionHeader_SetSortIndicator(void* ptr, long long vso)
{
static_cast<QStyleOptionHeader*>(ptr)->sortIndicator = static_cast<QStyleOptionHeader::SortIndicator>(vso);
}
struct QtWidgets_PackedString QStyleOptionHeader_Text(void* ptr)
{
return ({ QByteArray t8df14e = static_cast<QStyleOptionHeader*>(ptr)->text.toUtf8(); QtWidgets_PackedString { const_cast<char*>(t8df14e.prepend("WHITESPACE").constData()+10), t8df14e.size()-10 }; });
}
void QStyleOptionHeader_SetText(void* ptr, char* vqs)
{
static_cast<QStyleOptionHeader*>(ptr)->text = QString(vqs);
}
long long QStyleOptionHeader_TextAlignment(void* ptr)
{
return static_cast<QStyleOptionHeader*>(ptr)->textAlignment;
}
void QStyleOptionHeader_SetTextAlignment(void* ptr, long long vqt)
{
static_cast<QStyleOptionHeader*>(ptr)->textAlignment = static_cast<Qt::AlignmentFlag>(vqt);
}
void* QStyleOptionMenuItem_NewQStyleOptionMenuItem()
{
return new QStyleOptionMenuItem();
}
void* QStyleOptionMenuItem_NewQStyleOptionMenuItem2(void* other)
{
return new QStyleOptionMenuItem(*static_cast<QStyleOptionMenuItem*>(other));
}
long long QStyleOptionMenuItem_CheckType(void* ptr)
{
return static_cast<QStyleOptionMenuItem*>(ptr)->checkType;
}
void QStyleOptionMenuItem_SetCheckType(void* ptr, long long vch)
{
static_cast<QStyleOptionMenuItem*>(ptr)->checkType = static_cast<QStyleOptionMenuItem::CheckType>(vch);
}
char QStyleOptionMenuItem_Checked(void* ptr)
{
return static_cast<QStyleOptionMenuItem*>(ptr)->checked;
}
void QStyleOptionMenuItem_SetChecked(void* ptr, char vbo)
{
static_cast<QStyleOptionMenuItem*>(ptr)->checked = vbo != 0;
}
void* QStyleOptionMenuItem_Font(void* ptr)
{
return new QFont(static_cast<QStyleOptionMenuItem*>(ptr)->font);
}
void QStyleOptionMenuItem_SetFont(void* ptr, void* vqf)
{
static_cast<QStyleOptionMenuItem*>(ptr)->font = *static_cast<QFont*>(vqf);
}
void* QStyleOptionMenuItem_Icon(void* ptr)
{
return new QIcon(static_cast<QStyleOptionMenuItem*>(ptr)->icon);
}
void QStyleOptionMenuItem_SetIcon(void* ptr, void* vqi)
{
static_cast<QStyleOptionMenuItem*>(ptr)->icon = *static_cast<QIcon*>(vqi);
}
int QStyleOptionMenuItem_MaxIconWidth(void* ptr)
{
return static_cast<QStyleOptionMenuItem*>(ptr)->maxIconWidth;
}
void QStyleOptionMenuItem_SetMaxIconWidth(void* ptr, int vin)
{
static_cast<QStyleOptionMenuItem*>(ptr)->maxIconWidth = vin;
}
char QStyleOptionMenuItem_MenuHasCheckableItems(void* ptr)
{
return static_cast<QStyleOptionMenuItem*>(ptr)->menuHasCheckableItems;
}
void QStyleOptionMenuItem_SetMenuHasCheckableItems(void* ptr, char vbo)
{
static_cast<QStyleOptionMenuItem*>(ptr)->menuHasCheckableItems = vbo != 0;
}
long long QStyleOptionMenuItem_MenuItemType(void* ptr)
{
return static_cast<QStyleOptionMenuItem*>(ptr)->menuItemType;
}
void QStyleOptionMenuItem_SetMenuItemType(void* ptr, long long vme)
{
static_cast<QStyleOptionMenuItem*>(ptr)->menuItemType = static_cast<QStyleOptionMenuItem::MenuItemType>(vme);
}
void* QStyleOptionMenuItem_MenuRect(void* ptr)
{
return ({ QRect tmpValue = static_cast<QStyleOptionMenuItem*>(ptr)->menuRect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionMenuItem_SetMenuRect(void* ptr, void* vqr)
{
static_cast<QStyleOptionMenuItem*>(ptr)->menuRect = *static_cast<QRect*>(vqr);
}
int QStyleOptionMenuItem_TabWidth(void* ptr)
{
return static_cast<QStyleOptionMenuItem*>(ptr)->tabWidth;
}
void QStyleOptionMenuItem_SetTabWidth(void* ptr, int vin)
{
static_cast<QStyleOptionMenuItem*>(ptr)->tabWidth = vin;
}
struct QtWidgets_PackedString QStyleOptionMenuItem_Text(void* ptr)
{
return ({ QByteArray t61111c = static_cast<QStyleOptionMenuItem*>(ptr)->text.toUtf8(); QtWidgets_PackedString { const_cast<char*>(t61111c.prepend("WHITESPACE").constData()+10), t61111c.size()-10 }; });
}
void QStyleOptionMenuItem_SetText(void* ptr, char* vqs)
{
static_cast<QStyleOptionMenuItem*>(ptr)->text = QString(vqs);
}
void* QStyleOptionProgressBar_NewQStyleOptionProgressBar()
{
return new QStyleOptionProgressBar();
}
void* QStyleOptionProgressBar_NewQStyleOptionProgressBar2(void* other)
{
return new QStyleOptionProgressBar(*static_cast<QStyleOptionProgressBar*>(other));
}
char QStyleOptionProgressBar_BottomToTop(void* ptr)
{
return static_cast<QStyleOptionProgressBar*>(ptr)->bottomToTop;
}
void QStyleOptionProgressBar_SetBottomToTop(void* ptr, char vbo)
{
static_cast<QStyleOptionProgressBar*>(ptr)->bottomToTop = vbo != 0;
}
char QStyleOptionProgressBar_InvertedAppearance(void* ptr)
{
return static_cast<QStyleOptionProgressBar*>(ptr)->invertedAppearance;
}
void QStyleOptionProgressBar_SetInvertedAppearance(void* ptr, char vbo)
{
static_cast<QStyleOptionProgressBar*>(ptr)->invertedAppearance = vbo != 0;
}
int QStyleOptionProgressBar_Maximum(void* ptr)
{
return static_cast<QStyleOptionProgressBar*>(ptr)->maximum;
}
void QStyleOptionProgressBar_SetMaximum(void* ptr, int vin)
{
static_cast<QStyleOptionProgressBar*>(ptr)->maximum = vin;
}
int QStyleOptionProgressBar_Minimum(void* ptr)
{
return static_cast<QStyleOptionProgressBar*>(ptr)->minimum;
}
void QStyleOptionProgressBar_SetMinimum(void* ptr, int vin)
{
static_cast<QStyleOptionProgressBar*>(ptr)->minimum = vin;
}
int QStyleOptionProgressBar_Progress(void* ptr)
{
return static_cast<QStyleOptionProgressBar*>(ptr)->progress;
}
void QStyleOptionProgressBar_SetProgress(void* ptr, int vin)
{
static_cast<QStyleOptionProgressBar*>(ptr)->progress = vin;
}
struct QtWidgets_PackedString QStyleOptionProgressBar_Text(void* ptr)
{
return ({ QByteArray tfa5615 = static_cast<QStyleOptionProgressBar*>(ptr)->text.toUtf8(); QtWidgets_PackedString { const_cast<char*>(tfa5615.prepend("WHITESPACE").constData()+10), tfa5615.size()-10 }; });
}
void QStyleOptionProgressBar_SetText(void* ptr, char* vqs)
{
static_cast<QStyleOptionProgressBar*>(ptr)->text = QString(vqs);
}
long long QStyleOptionProgressBar_TextAlignment(void* ptr)
{
return static_cast<QStyleOptionProgressBar*>(ptr)->textAlignment;
}
void QStyleOptionProgressBar_SetTextAlignment(void* ptr, long long vqt)
{
static_cast<QStyleOptionProgressBar*>(ptr)->textAlignment = static_cast<Qt::AlignmentFlag>(vqt);
}
char QStyleOptionProgressBar_TextVisible(void* ptr)
{
return static_cast<QStyleOptionProgressBar*>(ptr)->textVisible;
}
void QStyleOptionProgressBar_SetTextVisible(void* ptr, char vbo)
{
static_cast<QStyleOptionProgressBar*>(ptr)->textVisible = vbo != 0;
}
void* QStyleOptionRubberBand_NewQStyleOptionRubberBand()
{
return new QStyleOptionRubberBand();
}
void* QStyleOptionRubberBand_NewQStyleOptionRubberBand2(void* other)
{
return new QStyleOptionRubberBand(*static_cast<QStyleOptionRubberBand*>(other));
}
char QStyleOptionRubberBand_Opaque(void* ptr)
{
return static_cast<QStyleOptionRubberBand*>(ptr)->opaque;
}
void QStyleOptionRubberBand_SetOpaque(void* ptr, char vbo)
{
static_cast<QStyleOptionRubberBand*>(ptr)->opaque = vbo != 0;
}
long long QStyleOptionRubberBand_Shape(void* ptr)
{
return static_cast<QStyleOptionRubberBand*>(ptr)->shape;
}
void QStyleOptionRubberBand_SetShape(void* ptr, long long vqr)
{
static_cast<QStyleOptionRubberBand*>(ptr)->shape = static_cast<QRubberBand::Shape>(vqr);
}
void* QStyleOptionSizeGrip_NewQStyleOptionSizeGrip()
{
return new QStyleOptionSizeGrip();
}
void* QStyleOptionSizeGrip_NewQStyleOptionSizeGrip2(void* other)
{
return new QStyleOptionSizeGrip(*static_cast<QStyleOptionSizeGrip*>(other));
}
long long QStyleOptionSizeGrip_Corner(void* ptr)
{
return static_cast<QStyleOptionSizeGrip*>(ptr)->corner;
}
void QStyleOptionSizeGrip_SetCorner(void* ptr, long long vqt)
{
static_cast<QStyleOptionSizeGrip*>(ptr)->corner = static_cast<Qt::Corner>(vqt);
}
void* QStyleOptionSlider_NewQStyleOptionSlider()
{
return new QStyleOptionSlider();
}
void* QStyleOptionSlider_NewQStyleOptionSlider2(void* other)
{
return new QStyleOptionSlider(*static_cast<QStyleOptionSlider*>(other));
}
char QStyleOptionSlider_DialWrapping(void* ptr)
{
return static_cast<QStyleOptionSlider*>(ptr)->dialWrapping;
}
void QStyleOptionSlider_SetDialWrapping(void* ptr, char vbo)
{
static_cast<QStyleOptionSlider*>(ptr)->dialWrapping = vbo != 0;
}
int QStyleOptionSlider_Maximum(void* ptr)
{
return static_cast<QStyleOptionSlider*>(ptr)->maximum;
}
void QStyleOptionSlider_SetMaximum(void* ptr, int vin)
{
static_cast<QStyleOptionSlider*>(ptr)->maximum = vin;
}
int QStyleOptionSlider_Minimum(void* ptr)
{
return static_cast<QStyleOptionSlider*>(ptr)->minimum;
}
void QStyleOptionSlider_SetMinimum(void* ptr, int vin)
{
static_cast<QStyleOptionSlider*>(ptr)->minimum = vin;
}
double QStyleOptionSlider_NotchTarget(void* ptr)
{
return static_cast<QStyleOptionSlider*>(ptr)->notchTarget;
}
void QStyleOptionSlider_SetNotchTarget(void* ptr, double vqr)
{
static_cast<QStyleOptionSlider*>(ptr)->notchTarget = vqr;
}
long long QStyleOptionSlider_Orientation(void* ptr)
{
return static_cast<QStyleOptionSlider*>(ptr)->orientation;
}
void QStyleOptionSlider_SetOrientation(void* ptr, long long vqt)
{
static_cast<QStyleOptionSlider*>(ptr)->orientation = static_cast<Qt::Orientation>(vqt);
}
int QStyleOptionSlider_PageStep(void* ptr)
{
return static_cast<QStyleOptionSlider*>(ptr)->pageStep;
}
void QStyleOptionSlider_SetPageStep(void* ptr, int vin)
{
static_cast<QStyleOptionSlider*>(ptr)->pageStep = vin;
}
int QStyleOptionSlider_SingleStep(void* ptr)
{
return static_cast<QStyleOptionSlider*>(ptr)->singleStep;
}
void QStyleOptionSlider_SetSingleStep(void* ptr, int vin)
{
static_cast<QStyleOptionSlider*>(ptr)->singleStep = vin;
}
int QStyleOptionSlider_SliderPosition(void* ptr)
{
return static_cast<QStyleOptionSlider*>(ptr)->sliderPosition;
}
void QStyleOptionSlider_SetSliderPosition(void* ptr, int vin)
{
static_cast<QStyleOptionSlider*>(ptr)->sliderPosition = vin;
}
int QStyleOptionSlider_SliderValue(void* ptr)
{
return static_cast<QStyleOptionSlider*>(ptr)->sliderValue;
}
void QStyleOptionSlider_SetSliderValue(void* ptr, int vin)
{
static_cast<QStyleOptionSlider*>(ptr)->sliderValue = vin;
}
int QStyleOptionSlider_TickInterval(void* ptr)
{
return static_cast<QStyleOptionSlider*>(ptr)->tickInterval;
}
void QStyleOptionSlider_SetTickInterval(void* ptr, int vin)
{
static_cast<QStyleOptionSlider*>(ptr)->tickInterval = vin;
}
long long QStyleOptionSlider_TickPosition(void* ptr)
{
return static_cast<QStyleOptionSlider*>(ptr)->tickPosition;
}
void QStyleOptionSlider_SetTickPosition(void* ptr, long long vqs)
{
static_cast<QStyleOptionSlider*>(ptr)->tickPosition = static_cast<QSlider::TickPosition>(vqs);
}
char QStyleOptionSlider_UpsideDown(void* ptr)
{
return static_cast<QStyleOptionSlider*>(ptr)->upsideDown;
}
void QStyleOptionSlider_SetUpsideDown(void* ptr, char vbo)
{
static_cast<QStyleOptionSlider*>(ptr)->upsideDown = vbo != 0;
}
void* QStyleOptionSpinBox_NewQStyleOptionSpinBox()
{
return new QStyleOptionSpinBox();
}
void* QStyleOptionSpinBox_NewQStyleOptionSpinBox2(void* other)
{
return new QStyleOptionSpinBox(*static_cast<QStyleOptionSpinBox*>(other));
}
long long QStyleOptionSpinBox_ButtonSymbols(void* ptr)
{
return static_cast<QStyleOptionSpinBox*>(ptr)->buttonSymbols;
}
void QStyleOptionSpinBox_SetButtonSymbols(void* ptr, long long vqa)
{
static_cast<QStyleOptionSpinBox*>(ptr)->buttonSymbols = static_cast<QAbstractSpinBox::ButtonSymbols>(vqa);
}
char QStyleOptionSpinBox_Frame(void* ptr)
{
return static_cast<QStyleOptionSpinBox*>(ptr)->frame;
}
void QStyleOptionSpinBox_SetFrame(void* ptr, char vbo)
{
static_cast<QStyleOptionSpinBox*>(ptr)->frame = vbo != 0;
}
long long QStyleOptionSpinBox_StepEnabled(void* ptr)
{
return static_cast<QStyleOptionSpinBox*>(ptr)->stepEnabled;
}
void QStyleOptionSpinBox_SetStepEnabled(void* ptr, long long vqa)
{
static_cast<QStyleOptionSpinBox*>(ptr)->stepEnabled = static_cast<QAbstractSpinBox::StepEnabledFlag>(vqa);
}
void* QStyleOptionTab_NewQStyleOptionTab()
{
return new QStyleOptionTab();
}
void* QStyleOptionTab_NewQStyleOptionTab2(void* other)
{
return new QStyleOptionTab(*static_cast<QStyleOptionTab*>(other));
}
long long QStyleOptionTab_CornerWidgets(void* ptr)
{
return static_cast<QStyleOptionTab*>(ptr)->cornerWidgets;
}
void QStyleOptionTab_SetCornerWidgets(void* ptr, long long vco)
{
static_cast<QStyleOptionTab*>(ptr)->cornerWidgets = static_cast<QStyleOptionTab::CornerWidget>(vco);
}
char QStyleOptionTab_DocumentMode(void* ptr)
{
return static_cast<QStyleOptionTab*>(ptr)->documentMode;
}
void QStyleOptionTab_SetDocumentMode(void* ptr, char vbo)
{
static_cast<QStyleOptionTab*>(ptr)->documentMode = vbo != 0;
}
long long QStyleOptionTab_Features(void* ptr)
{
return static_cast<QStyleOptionTab*>(ptr)->features;
}
void QStyleOptionTab_SetFeatures(void* ptr, long long vta)
{
static_cast<QStyleOptionTab*>(ptr)->features = static_cast<QStyleOptionTab::TabFeature>(vta);
}
void* QStyleOptionTab_Icon(void* ptr)
{
return new QIcon(static_cast<QStyleOptionTab*>(ptr)->icon);
}
void QStyleOptionTab_SetIcon(void* ptr, void* vqi)
{
static_cast<QStyleOptionTab*>(ptr)->icon = *static_cast<QIcon*>(vqi);
}
void* QStyleOptionTab_IconSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QStyleOptionTab*>(ptr)->iconSize; new QSize(tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionTab_SetIconSize(void* ptr, void* vqs)
{
static_cast<QStyleOptionTab*>(ptr)->iconSize = *static_cast<QSize*>(vqs);
}
void* QStyleOptionTab_LeftButtonSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QStyleOptionTab*>(ptr)->leftButtonSize; new QSize(tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionTab_SetLeftButtonSize(void* ptr, void* vqs)
{
static_cast<QStyleOptionTab*>(ptr)->leftButtonSize = *static_cast<QSize*>(vqs);
}
long long QStyleOptionTab_Position(void* ptr)
{
return static_cast<QStyleOptionTab*>(ptr)->position;
}
void QStyleOptionTab_SetPosition(void* ptr, long long vta)
{
static_cast<QStyleOptionTab*>(ptr)->position = static_cast<QStyleOptionTab::TabPosition>(vta);
}
void* QStyleOptionTab_RightButtonSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QStyleOptionTab*>(ptr)->rightButtonSize; new QSize(tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionTab_SetRightButtonSize(void* ptr, void* vqs)
{
static_cast<QStyleOptionTab*>(ptr)->rightButtonSize = *static_cast<QSize*>(vqs);
}
int QStyleOptionTab_Row(void* ptr)
{
return static_cast<QStyleOptionTab*>(ptr)->row;
}
void QStyleOptionTab_SetRow(void* ptr, int vin)
{
static_cast<QStyleOptionTab*>(ptr)->row = vin;
}
long long QStyleOptionTab_SelectedPosition(void* ptr)
{
return static_cast<QStyleOptionTab*>(ptr)->selectedPosition;
}
void QStyleOptionTab_SetSelectedPosition(void* ptr, long long vse)
{
static_cast<QStyleOptionTab*>(ptr)->selectedPosition = static_cast<QStyleOptionTab::SelectedPosition>(vse);
}
long long QStyleOptionTab_Shape(void* ptr)
{
return static_cast<QStyleOptionTab*>(ptr)->shape;
}
void QStyleOptionTab_SetShape(void* ptr, long long vqt)
{
static_cast<QStyleOptionTab*>(ptr)->shape = static_cast<QTabBar::Shape>(vqt);
}
struct QtWidgets_PackedString QStyleOptionTab_Text(void* ptr)
{
return ({ QByteArray t12932f = static_cast<QStyleOptionTab*>(ptr)->text.toUtf8(); QtWidgets_PackedString { const_cast<char*>(t12932f.prepend("WHITESPACE").constData()+10), t12932f.size()-10 }; });
}
void QStyleOptionTab_SetText(void* ptr, char* vqs)
{
static_cast<QStyleOptionTab*>(ptr)->text = QString(vqs);
}
void* QStyleOptionTabBarBase_NewQStyleOptionTabBarBase()
{
return new QStyleOptionTabBarBase();
}
void* QStyleOptionTabBarBase_NewQStyleOptionTabBarBase2(void* other)
{
return new QStyleOptionTabBarBase(*static_cast<QStyleOptionTabBarBase*>(other));
}
char QStyleOptionTabBarBase_DocumentMode(void* ptr)
{
return static_cast<QStyleOptionTabBarBase*>(ptr)->documentMode;
}
void QStyleOptionTabBarBase_SetDocumentMode(void* ptr, char vbo)
{
static_cast<QStyleOptionTabBarBase*>(ptr)->documentMode = vbo != 0;
}
void* QStyleOptionTabBarBase_SelectedTabRect(void* ptr)
{
return ({ QRect tmpValue = static_cast<QStyleOptionTabBarBase*>(ptr)->selectedTabRect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionTabBarBase_SetSelectedTabRect(void* ptr, void* vqr)
{
static_cast<QStyleOptionTabBarBase*>(ptr)->selectedTabRect = *static_cast<QRect*>(vqr);
}
long long QStyleOptionTabBarBase_Shape(void* ptr)
{
return static_cast<QStyleOptionTabBarBase*>(ptr)->shape;
}
void QStyleOptionTabBarBase_SetShape(void* ptr, long long vqt)
{
static_cast<QStyleOptionTabBarBase*>(ptr)->shape = static_cast<QTabBar::Shape>(vqt);
}
void* QStyleOptionTabBarBase_TabBarRect(void* ptr)
{
return ({ QRect tmpValue = static_cast<QStyleOptionTabBarBase*>(ptr)->tabBarRect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionTabBarBase_SetTabBarRect(void* ptr, void* vqr)
{
static_cast<QStyleOptionTabBarBase*>(ptr)->tabBarRect = *static_cast<QRect*>(vqr);
}
void* QStyleOptionTabWidgetFrame_NewQStyleOptionTabWidgetFrame()
{
return new QStyleOptionTabWidgetFrame();
}
void* QStyleOptionTabWidgetFrame_NewQStyleOptionTabWidgetFrame2(void* other)
{
return new QStyleOptionTabWidgetFrame(*static_cast<QStyleOptionTabWidgetFrame*>(other));
}
void* QStyleOptionTabWidgetFrame_LeftCornerWidgetSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QStyleOptionTabWidgetFrame*>(ptr)->leftCornerWidgetSize; new QSize(tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionTabWidgetFrame_SetLeftCornerWidgetSize(void* ptr, void* vqs)
{
static_cast<QStyleOptionTabWidgetFrame*>(ptr)->leftCornerWidgetSize = *static_cast<QSize*>(vqs);
}
int QStyleOptionTabWidgetFrame_LineWidth(void* ptr)
{
return static_cast<QStyleOptionTabWidgetFrame*>(ptr)->lineWidth;
}
void QStyleOptionTabWidgetFrame_SetLineWidth(void* ptr, int vin)
{
static_cast<QStyleOptionTabWidgetFrame*>(ptr)->lineWidth = vin;
}
int QStyleOptionTabWidgetFrame_MidLineWidth(void* ptr)
{
return static_cast<QStyleOptionTabWidgetFrame*>(ptr)->midLineWidth;
}
void QStyleOptionTabWidgetFrame_SetMidLineWidth(void* ptr, int vin)
{
static_cast<QStyleOptionTabWidgetFrame*>(ptr)->midLineWidth = vin;
}
void* QStyleOptionTabWidgetFrame_RightCornerWidgetSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QStyleOptionTabWidgetFrame*>(ptr)->rightCornerWidgetSize; new QSize(tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionTabWidgetFrame_SetRightCornerWidgetSize(void* ptr, void* vqs)
{
static_cast<QStyleOptionTabWidgetFrame*>(ptr)->rightCornerWidgetSize = *static_cast<QSize*>(vqs);
}
void* QStyleOptionTabWidgetFrame_SelectedTabRect(void* ptr)
{
return ({ QRect tmpValue = static_cast<QStyleOptionTabWidgetFrame*>(ptr)->selectedTabRect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionTabWidgetFrame_SetSelectedTabRect(void* ptr, void* vqr)
{
static_cast<QStyleOptionTabWidgetFrame*>(ptr)->selectedTabRect = *static_cast<QRect*>(vqr);
}
long long QStyleOptionTabWidgetFrame_Shape(void* ptr)
{
return static_cast<QStyleOptionTabWidgetFrame*>(ptr)->shape;
}
void QStyleOptionTabWidgetFrame_SetShape(void* ptr, long long vqt)
{
static_cast<QStyleOptionTabWidgetFrame*>(ptr)->shape = static_cast<QTabBar::Shape>(vqt);
}
void* QStyleOptionTabWidgetFrame_TabBarRect(void* ptr)
{
return ({ QRect tmpValue = static_cast<QStyleOptionTabWidgetFrame*>(ptr)->tabBarRect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionTabWidgetFrame_SetTabBarRect(void* ptr, void* vqr)
{
static_cast<QStyleOptionTabWidgetFrame*>(ptr)->tabBarRect = *static_cast<QRect*>(vqr);
}
void* QStyleOptionTabWidgetFrame_TabBarSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QStyleOptionTabWidgetFrame*>(ptr)->tabBarSize; new QSize(tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionTabWidgetFrame_SetTabBarSize(void* ptr, void* vqs)
{
static_cast<QStyleOptionTabWidgetFrame*>(ptr)->tabBarSize = *static_cast<QSize*>(vqs);
}
void* QStyleOptionTitleBar_NewQStyleOptionTitleBar()
{
return new QStyleOptionTitleBar();
}
void* QStyleOptionTitleBar_NewQStyleOptionTitleBar2(void* other)
{
return new QStyleOptionTitleBar(*static_cast<QStyleOptionTitleBar*>(other));
}
void* QStyleOptionTitleBar_Icon(void* ptr)
{
return new QIcon(static_cast<QStyleOptionTitleBar*>(ptr)->icon);
}
void QStyleOptionTitleBar_SetIcon(void* ptr, void* vqi)
{
static_cast<QStyleOptionTitleBar*>(ptr)->icon = *static_cast<QIcon*>(vqi);
}
struct QtWidgets_PackedString QStyleOptionTitleBar_Text(void* ptr)
{
return ({ QByteArray tfebd0b = static_cast<QStyleOptionTitleBar*>(ptr)->text.toUtf8(); QtWidgets_PackedString { const_cast<char*>(tfebd0b.prepend("WHITESPACE").constData()+10), tfebd0b.size()-10 }; });
}
void QStyleOptionTitleBar_SetText(void* ptr, char* vqs)
{
static_cast<QStyleOptionTitleBar*>(ptr)->text = QString(vqs);
}
long long QStyleOptionTitleBar_TitleBarFlags(void* ptr)
{
return static_cast<QStyleOptionTitleBar*>(ptr)->titleBarFlags;
}
void QStyleOptionTitleBar_SetTitleBarFlags(void* ptr, long long vqt)
{
static_cast<QStyleOptionTitleBar*>(ptr)->titleBarFlags = static_cast<Qt::WindowType>(vqt);
}
int QStyleOptionTitleBar_TitleBarState(void* ptr)
{
return static_cast<QStyleOptionTitleBar*>(ptr)->titleBarState;
}
void QStyleOptionTitleBar_SetTitleBarState(void* ptr, int vin)
{
static_cast<QStyleOptionTitleBar*>(ptr)->titleBarState = vin;
}
void* QStyleOptionToolBar_NewQStyleOptionToolBar()
{
return new QStyleOptionToolBar();
}
void* QStyleOptionToolBar_NewQStyleOptionToolBar2(void* other)
{
return new QStyleOptionToolBar(*static_cast<QStyleOptionToolBar*>(other));
}
long long QStyleOptionToolBar_Features(void* ptr)
{
return static_cast<QStyleOptionToolBar*>(ptr)->features;
}
void QStyleOptionToolBar_SetFeatures(void* ptr, long long vto)
{
static_cast<QStyleOptionToolBar*>(ptr)->features = static_cast<QStyleOptionToolBar::ToolBarFeature>(vto);
}
int QStyleOptionToolBar_LineWidth(void* ptr)
{
return static_cast<QStyleOptionToolBar*>(ptr)->lineWidth;
}
void QStyleOptionToolBar_SetLineWidth(void* ptr, int vin)
{
static_cast<QStyleOptionToolBar*>(ptr)->lineWidth = vin;
}
int QStyleOptionToolBar_MidLineWidth(void* ptr)
{
return static_cast<QStyleOptionToolBar*>(ptr)->midLineWidth;
}
void QStyleOptionToolBar_SetMidLineWidth(void* ptr, int vin)
{
static_cast<QStyleOptionToolBar*>(ptr)->midLineWidth = vin;
}
long long QStyleOptionToolBar_PositionOfLine(void* ptr)
{
return static_cast<QStyleOptionToolBar*>(ptr)->positionOfLine;
}
void QStyleOptionToolBar_SetPositionOfLine(void* ptr, long long vto)
{
static_cast<QStyleOptionToolBar*>(ptr)->positionOfLine = static_cast<QStyleOptionToolBar::ToolBarPosition>(vto);
}
long long QStyleOptionToolBar_PositionWithinLine(void* ptr)
{
return static_cast<QStyleOptionToolBar*>(ptr)->positionWithinLine;
}
void QStyleOptionToolBar_SetPositionWithinLine(void* ptr, long long vto)
{
static_cast<QStyleOptionToolBar*>(ptr)->positionWithinLine = static_cast<QStyleOptionToolBar::ToolBarPosition>(vto);
}
long long QStyleOptionToolBar_ToolBarArea(void* ptr)
{
return static_cast<QStyleOptionToolBar*>(ptr)->toolBarArea;
}
void QStyleOptionToolBar_SetToolBarArea(void* ptr, long long vqt)
{
static_cast<QStyleOptionToolBar*>(ptr)->toolBarArea = static_cast<Qt::ToolBarArea>(vqt);
}
void* QStyleOptionToolBox_NewQStyleOptionToolBox()
{
return new QStyleOptionToolBox();
}
void* QStyleOptionToolBox_NewQStyleOptionToolBox2(void* other)
{
return new QStyleOptionToolBox(*static_cast<QStyleOptionToolBox*>(other));
}
void* QStyleOptionToolBox_Icon(void* ptr)
{
return new QIcon(static_cast<QStyleOptionToolBox*>(ptr)->icon);
}
void QStyleOptionToolBox_SetIcon(void* ptr, void* vqi)
{
static_cast<QStyleOptionToolBox*>(ptr)->icon = *static_cast<QIcon*>(vqi);
}
long long QStyleOptionToolBox_Position(void* ptr)
{
return static_cast<QStyleOptionToolBox*>(ptr)->position;
}
void QStyleOptionToolBox_SetPosition(void* ptr, long long vta)
{
static_cast<QStyleOptionToolBox*>(ptr)->position = static_cast<QStyleOptionToolBox::TabPosition>(vta);
}
long long QStyleOptionToolBox_SelectedPosition(void* ptr)
{
return static_cast<QStyleOptionToolBox*>(ptr)->selectedPosition;
}
void QStyleOptionToolBox_SetSelectedPosition(void* ptr, long long vse)
{
static_cast<QStyleOptionToolBox*>(ptr)->selectedPosition = static_cast<QStyleOptionToolBox::SelectedPosition>(vse);
}
struct QtWidgets_PackedString QStyleOptionToolBox_Text(void* ptr)
{
return ({ QByteArray t86be6c = static_cast<QStyleOptionToolBox*>(ptr)->text.toUtf8(); QtWidgets_PackedString { const_cast<char*>(t86be6c.prepend("WHITESPACE").constData()+10), t86be6c.size()-10 }; });
}
void QStyleOptionToolBox_SetText(void* ptr, char* vqs)
{
static_cast<QStyleOptionToolBox*>(ptr)->text = QString(vqs);
}
void* QStyleOptionToolButton_NewQStyleOptionToolButton()
{
return new QStyleOptionToolButton();
}
void* QStyleOptionToolButton_NewQStyleOptionToolButton2(void* other)
{
return new QStyleOptionToolButton(*static_cast<QStyleOptionToolButton*>(other));
}
long long QStyleOptionToolButton_ArrowType(void* ptr)
{
return static_cast<QStyleOptionToolButton*>(ptr)->arrowType;
}
void QStyleOptionToolButton_SetArrowType(void* ptr, long long vqt)
{
static_cast<QStyleOptionToolButton*>(ptr)->arrowType = static_cast<Qt::ArrowType>(vqt);
}
long long QStyleOptionToolButton_Features(void* ptr)
{
return static_cast<QStyleOptionToolButton*>(ptr)->features;
}
void QStyleOptionToolButton_SetFeatures(void* ptr, long long vto)
{
static_cast<QStyleOptionToolButton*>(ptr)->features = static_cast<QStyleOptionToolButton::ToolButtonFeature>(vto);
}
void* QStyleOptionToolButton_Font(void* ptr)
{
return new QFont(static_cast<QStyleOptionToolButton*>(ptr)->font);
}
void QStyleOptionToolButton_SetFont(void* ptr, void* vqf)
{
static_cast<QStyleOptionToolButton*>(ptr)->font = *static_cast<QFont*>(vqf);
}
void* QStyleOptionToolButton_Icon(void* ptr)
{
return new QIcon(static_cast<QStyleOptionToolButton*>(ptr)->icon);
}
void QStyleOptionToolButton_SetIcon(void* ptr, void* vqi)
{
static_cast<QStyleOptionToolButton*>(ptr)->icon = *static_cast<QIcon*>(vqi);
}
void* QStyleOptionToolButton_IconSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QStyleOptionToolButton*>(ptr)->iconSize; new QSize(tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionToolButton_SetIconSize(void* ptr, void* vqs)
{
static_cast<QStyleOptionToolButton*>(ptr)->iconSize = *static_cast<QSize*>(vqs);
}
void* QStyleOptionToolButton_Pos(void* ptr)
{
return ({ QPoint tmpValue = static_cast<QStyleOptionToolButton*>(ptr)->pos; new QPoint(tmpValue.x(), tmpValue.y()); });
}
void QStyleOptionToolButton_SetPos(void* ptr, void* vqp)
{
static_cast<QStyleOptionToolButton*>(ptr)->pos = *static_cast<QPoint*>(vqp);
}
struct QtWidgets_PackedString QStyleOptionToolButton_Text(void* ptr)
{
return ({ QByteArray t245424 = static_cast<QStyleOptionToolButton*>(ptr)->text.toUtf8(); QtWidgets_PackedString { const_cast<char*>(t245424.prepend("WHITESPACE").constData()+10), t245424.size()-10 }; });
}
void QStyleOptionToolButton_SetText(void* ptr, char* vqs)
{
static_cast<QStyleOptionToolButton*>(ptr)->text = QString(vqs);
}
long long QStyleOptionToolButton_ToolButtonStyle(void* ptr)
{
return static_cast<QStyleOptionToolButton*>(ptr)->toolButtonStyle;
}
void QStyleOptionToolButton_SetToolButtonStyle(void* ptr, long long vqt)
{
static_cast<QStyleOptionToolButton*>(ptr)->toolButtonStyle = static_cast<Qt::ToolButtonStyle>(vqt);
}
void* QStyleOptionViewItem_NewQStyleOptionViewItem()
{
return new QStyleOptionViewItem();
}
void* QStyleOptionViewItem_NewQStyleOptionViewItem2(void* other)
{
return new QStyleOptionViewItem(*static_cast<QStyleOptionViewItem*>(other));
}
void* QStyleOptionViewItem_BackgroundBrush(void* ptr)
{
return new QBrush(static_cast<QStyleOptionViewItem*>(ptr)->backgroundBrush);
}
void QStyleOptionViewItem_SetBackgroundBrush(void* ptr, void* vqb)
{
static_cast<QStyleOptionViewItem*>(ptr)->backgroundBrush = *static_cast<QBrush*>(vqb);
}
long long QStyleOptionViewItem_CheckState(void* ptr)
{
return static_cast<QStyleOptionViewItem*>(ptr)->checkState;
}
void QStyleOptionViewItem_SetCheckState(void* ptr, long long vqt)
{
static_cast<QStyleOptionViewItem*>(ptr)->checkState = static_cast<Qt::CheckState>(vqt);
}
long long QStyleOptionViewItem_DecorationAlignment(void* ptr)
{
return static_cast<QStyleOptionViewItem*>(ptr)->decorationAlignment;
}
void QStyleOptionViewItem_SetDecorationAlignment(void* ptr, long long vqt)
{
static_cast<QStyleOptionViewItem*>(ptr)->decorationAlignment = static_cast<Qt::AlignmentFlag>(vqt);
}
long long QStyleOptionViewItem_DecorationPosition(void* ptr)
{
return static_cast<QStyleOptionViewItem*>(ptr)->decorationPosition;
}
void QStyleOptionViewItem_SetDecorationPosition(void* ptr, long long vpo)
{
static_cast<QStyleOptionViewItem*>(ptr)->decorationPosition = static_cast<QStyleOptionViewItem::Position>(vpo);
}
void* QStyleOptionViewItem_DecorationSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QStyleOptionViewItem*>(ptr)->decorationSize; new QSize(tmpValue.width(), tmpValue.height()); });
}
void QStyleOptionViewItem_SetDecorationSize(void* ptr, void* vqs)
{
static_cast<QStyleOptionViewItem*>(ptr)->decorationSize = *static_cast<QSize*>(vqs);
}
long long QStyleOptionViewItem_DisplayAlignment(void* ptr)
{
return static_cast<QStyleOptionViewItem*>(ptr)->displayAlignment;
}
void QStyleOptionViewItem_SetDisplayAlignment(void* ptr, long long vqt)
{
static_cast<QStyleOptionViewItem*>(ptr)->displayAlignment = static_cast<Qt::AlignmentFlag>(vqt);
}
long long QStyleOptionViewItem_Features(void* ptr)
{
return static_cast<QStyleOptionViewItem*>(ptr)->features;
}
void QStyleOptionViewItem_SetFeatures(void* ptr, long long vvi)
{
static_cast<QStyleOptionViewItem*>(ptr)->features = static_cast<QStyleOptionViewItem::ViewItemFeature>(vvi);
}
void* QStyleOptionViewItem_Font(void* ptr)
{
return new QFont(static_cast<QStyleOptionViewItem*>(ptr)->font);
}
void QStyleOptionViewItem_SetFont(void* ptr, void* vqf)
{
static_cast<QStyleOptionViewItem*>(ptr)->font = *static_cast<QFont*>(vqf);
}
void* QStyleOptionViewItem_Icon(void* ptr)
{
return new QIcon(static_cast<QStyleOptionViewItem*>(ptr)->icon);
}
void QStyleOptionViewItem_SetIcon(void* ptr, void* vqi)
{
static_cast<QStyleOptionViewItem*>(ptr)->icon = *static_cast<QIcon*>(vqi);
}
void* QStyleOptionViewItem_Index(void* ptr)
{
return new QModelIndex(static_cast<QStyleOptionViewItem*>(ptr)->index);
}
void QStyleOptionViewItem_SetIndex(void* ptr, void* vqm)
{
static_cast<QStyleOptionViewItem*>(ptr)->index = *static_cast<QModelIndex*>(vqm);
}
void* QStyleOptionViewItem_Locale(void* ptr)
{
return new QLocale(static_cast<QStyleOptionViewItem*>(ptr)->locale);
}
void QStyleOptionViewItem_SetLocale(void* ptr, void* vql)
{
static_cast<QStyleOptionViewItem*>(ptr)->locale = *static_cast<QLocale*>(vql);
}
char QStyleOptionViewItem_ShowDecorationSelected(void* ptr)
{
return static_cast<QStyleOptionViewItem*>(ptr)->showDecorationSelected;
}
void QStyleOptionViewItem_SetShowDecorationSelected(void* ptr, char vbo)
{
static_cast<QStyleOptionViewItem*>(ptr)->showDecorationSelected = vbo != 0;
}
struct QtWidgets_PackedString QStyleOptionViewItem_Text(void* ptr)
{
return ({ QByteArray t3c2585 = static_cast<QStyleOptionViewItem*>(ptr)->text.toUtf8(); QtWidgets_PackedString { const_cast<char*>(t3c2585.prepend("WHITESPACE").constData()+10), t3c2585.size()-10 }; });
}
void QStyleOptionViewItem_SetText(void* ptr, char* vqs)
{
static_cast<QStyleOptionViewItem*>(ptr)->text = QString(vqs);
}
long long QStyleOptionViewItem_TextElideMode(void* ptr)
{
return static_cast<QStyleOptionViewItem*>(ptr)->textElideMode;
}
void QStyleOptionViewItem_SetTextElideMode(void* ptr, long long vqt)
{
static_cast<QStyleOptionViewItem*>(ptr)->textElideMode = static_cast<Qt::TextElideMode>(vqt);
}
long long QStyleOptionViewItem_ViewItemPosition(void* ptr)
{
return static_cast<QStyleOptionViewItem*>(ptr)->viewItemPosition;
}
void QStyleOptionViewItem_SetViewItemPosition(void* ptr, long long vvi)
{
static_cast<QStyleOptionViewItem*>(ptr)->viewItemPosition = static_cast<QStyleOptionViewItem::ViewItemPosition>(vvi);
}
void* QStyleOptionViewItem_Widget(void* ptr)
{
return const_cast<QWidget*>(static_cast<QStyleOptionViewItem*>(ptr)->widget);
}
void* QStylePainter_NewQStylePainter()
{
return new QStylePainter();
}
void* QStylePainter_NewQStylePainter3(void* pd, void* widget)
{
return new QStylePainter(static_cast<QPaintDevice*>(pd), static_cast<QWidget*>(widget));
}
void* QStylePainter_NewQStylePainter2(void* widget)
{
return new QStylePainter(static_cast<QWidget*>(widget));
}
char QStylePainter_Begin2(void* ptr, void* pd, void* widget)
{
if (dynamic_cast<QWidget*>(static_cast<QObject*>(pd))) {
return static_cast<QStylePainter*>(ptr)->begin(static_cast<QWidget*>(pd), static_cast<QWidget*>(widget));
} else {
return static_cast<QStylePainter*>(ptr)->begin(static_cast<QPaintDevice*>(pd), static_cast<QWidget*>(widget));
}
}
char QStylePainter_Begin(void* ptr, void* widget)
{
return static_cast<QStylePainter*>(ptr)->begin(static_cast<QWidget*>(widget));
}
void QStylePainter_DrawComplexControl(void* ptr, long long cc, void* option)
{
static_cast<QStylePainter*>(ptr)->drawComplexControl(static_cast<QStyle::ComplexControl>(cc), *static_cast<QStyleOptionComplex*>(option));
}
void QStylePainter_DrawControl(void* ptr, long long ce, void* option)
{
static_cast<QStylePainter*>(ptr)->drawControl(static_cast<QStyle::ControlElement>(ce), *static_cast<QStyleOption*>(option));
}
void QStylePainter_DrawItemPixmap(void* ptr, void* rect, int flags, void* pixmap)
{
static_cast<QStylePainter*>(ptr)->drawItemPixmap(*static_cast<QRect*>(rect), flags, *static_cast<QPixmap*>(pixmap));
}
void QStylePainter_DrawItemText(void* ptr, void* rect, int flags, void* pal, char enabled, char* text, long long textRole)
{
static_cast<QStylePainter*>(ptr)->drawItemText(*static_cast<QRect*>(rect), flags, *static_cast<QPalette*>(pal), enabled != 0, QString(text), static_cast<QPalette::ColorRole>(textRole));
}
void QStylePainter_DrawPrimitive(void* ptr, long long pe, void* option)
{
static_cast<QStylePainter*>(ptr)->drawPrimitive(static_cast<QStyle::PrimitiveElement>(pe), *static_cast<QStyleOption*>(option));
}
void* QStylePainter_Style(void* ptr)
{
return static_cast<QStylePainter*>(ptr)->style();
}
void* QStylePainter___drawLines_lines_atList6(void* ptr, int i)
{
return ({ QLine tmpValue = static_cast<QVector<QLine>*>(ptr)->at(i); new QLine(tmpValue.p1(), tmpValue.p2()); });
}
void QStylePainter___drawLines_lines_setList6(void* ptr, void* i)
{
static_cast<QVector<QLine>*>(ptr)->append(*static_cast<QLine*>(i));
}
void* QStylePainter___drawLines_lines_newList6(void* ptr)
{
return new QVector<QLine>;
}
void* QStylePainter___drawLines_lines_atList2(void* ptr, int i)
{
return ({ QLineF tmpValue = static_cast<QVector<QLineF>*>(ptr)->at(i); new QLineF(tmpValue.p1(), tmpValue.p2()); });
}
void QStylePainter___drawLines_lines_setList2(void* ptr, void* i)
{
static_cast<QVector<QLineF>*>(ptr)->append(*static_cast<QLineF*>(i));
}
void* QStylePainter___drawLines_lines_newList2(void* ptr)
{
return new QVector<QLineF>;
}
void* QStylePainter___drawLines_pointPairs_atList8(void* ptr, int i)
{
return ({ QPoint tmpValue = static_cast<QVector<QPoint>*>(ptr)->at(i); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void QStylePainter___drawLines_pointPairs_setList8(void* ptr, void* i)
{
static_cast<QVector<QPoint>*>(ptr)->append(*static_cast<QPoint*>(i));
}
void* QStylePainter___drawLines_pointPairs_newList8(void* ptr)
{
return new QVector<QPoint>;
}
void* QStylePainter___drawLines_pointPairs_atList4(void* ptr, int i)
{
return ({ QPointF tmpValue = static_cast<QVector<QPointF>*>(ptr)->at(i); new QPointF(tmpValue.x(), tmpValue.y()); });
}
void QStylePainter___drawLines_pointPairs_setList4(void* ptr, void* i)
{
static_cast<QVector<QPointF>*>(ptr)->append(*static_cast<QPointF*>(i));
}
void* QStylePainter___drawLines_pointPairs_newList4(void* ptr)
{
return new QVector<QPointF>;
}
void* QStylePainter___drawRects_rectangles_atList4(void* ptr, int i)
{
return ({ QRect tmpValue = static_cast<QVector<QRect>*>(ptr)->at(i); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void QStylePainter___drawRects_rectangles_setList4(void* ptr, void* i)
{
static_cast<QVector<QRect>*>(ptr)->append(*static_cast<QRect*>(i));
}
void* QStylePainter___drawRects_rectangles_newList4(void* ptr)
{
return new QVector<QRect>;
}
void* QStylePainter___drawRects_rectangles_atList2(void* ptr, int i)
{
return ({ QRectF tmpValue = static_cast<QVector<QRectF>*>(ptr)->at(i); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void QStylePainter___drawRects_rectangles_setList2(void* ptr, void* i)
{
static_cast<QVector<QRectF>*>(ptr)->append(*static_cast<QRectF*>(i));
}
void* QStylePainter___drawRects_rectangles_newList2(void* ptr)
{
return new QVector<QRectF>;
}
class MyQStylePlugin: public QStylePlugin
{
public:
MyQStylePlugin(QObject *parent) : QStylePlugin(parent) {};
QStyle * create(const QString & key) { QByteArray ta62f22 = key.toUtf8(); QtWidgets_PackedString keyPacked = { const_cast<char*>(ta62f22.prepend("WHITESPACE").constData()+10), ta62f22.size()-10 };return static_cast<QStyle*>(callbackQStylePlugin_Create(this, keyPacked)); };
bool event(QEvent * e) { return callbackQStylePlugin_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQStylePlugin_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQStylePlugin_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQStylePlugin_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQStylePlugin_CustomEvent(this, event); };
void deleteLater() { callbackQStylePlugin_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQStylePlugin_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQStylePlugin_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQStylePlugin_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQStylePlugin_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQStylePlugin_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QStylePlugin_Create(void* ptr, char* key)
{
return static_cast<QStylePlugin*>(ptr)->create(QString(key));
}
void* QStylePlugin_NewQStylePlugin(void* parent)
{
return new MyQStylePlugin(static_cast<QObject*>(parent));
}
void QStylePlugin_DestroyQStylePlugin(void* ptr)
{
static_cast<QStylePlugin*>(ptr)->~QStylePlugin();
}
void* QStylePlugin___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QStylePlugin___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QStylePlugin___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QStylePlugin___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QStylePlugin___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QStylePlugin___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QStylePlugin___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QStylePlugin___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QStylePlugin___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QStylePlugin___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QStylePlugin___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QStylePlugin___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QStylePlugin___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QStylePlugin___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QStylePlugin___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QStylePlugin_EventDefault(void* ptr, void* e)
{
return static_cast<QStylePlugin*>(ptr)->QStylePlugin::event(static_cast<QEvent*>(e));
}
char QStylePlugin_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QStylePlugin*>(ptr)->QStylePlugin::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QStylePlugin*>(ptr)->QStylePlugin::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QStylePlugin*>(ptr)->QStylePlugin::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QStylePlugin*>(ptr)->QStylePlugin::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QStylePlugin*>(ptr)->QStylePlugin::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QStylePlugin_ChildEventDefault(void* ptr, void* event)
{
static_cast<QStylePlugin*>(ptr)->QStylePlugin::childEvent(static_cast<QChildEvent*>(event));
}
void QStylePlugin_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QStylePlugin*>(ptr)->QStylePlugin::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QStylePlugin_CustomEventDefault(void* ptr, void* event)
{
static_cast<QStylePlugin*>(ptr)->QStylePlugin::customEvent(static_cast<QEvent*>(event));
}
void QStylePlugin_DeleteLaterDefault(void* ptr)
{
static_cast<QStylePlugin*>(ptr)->QStylePlugin::deleteLater();
}
void QStylePlugin_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QStylePlugin*>(ptr)->QStylePlugin::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QStylePlugin_TimerEventDefault(void* ptr, void* event)
{
static_cast<QStylePlugin*>(ptr)->QStylePlugin::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QStylePlugin_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QStylePlugin*>(ptr)->QStylePlugin::metaObject());
}
class MyQStyledItemDelegate: public QStyledItemDelegate
{
public:
MyQStyledItemDelegate(QObject *parent) : QStyledItemDelegate(parent) {};
bool editorEvent(QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_EditorEvent(this, event, model, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index)) != 0; };
bool eventFilter(QObject * editor, QEvent * event) { return callbackQAbstractItemDelegate_EventFilter(this, editor, event) != 0; };
QSize sizeHint(const QStyleOptionViewItem & option, const QModelIndex & index) const { return *static_cast<QSize*>(callbackQStyledItemDelegate_SizeHint(const_cast<void*>(static_cast<const void*>(this)), const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index))); };
QString displayText(const QVariant & value, const QLocale & locale) const { return QString(callbackQStyledItemDelegate_DisplayText(const_cast<void*>(static_cast<const void*>(this)), const_cast<QVariant*>(&value), const_cast<QLocale*>(&locale))); };
QWidget * createEditor(QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index) const { return static_cast<QWidget*>(callbackQAbstractItemDelegate_CreateEditor(const_cast<void*>(static_cast<const void*>(this)), parent, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index))); };
void initStyleOption(QStyleOptionViewItem * option, const QModelIndex & index) const { callbackQStyledItemDelegate_InitStyleOption(const_cast<void*>(static_cast<const void*>(this)), option, const_cast<QModelIndex*>(&index)); };
void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQStyledItemDelegate_Paint(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index)); };
void setEditorData(QWidget * editor, const QModelIndex & index) const { callbackQAbstractItemDelegate_SetEditorData(const_cast<void*>(static_cast<const void*>(this)), editor, const_cast<QModelIndex*>(&index)); };
void setModelData(QWidget * editor, QAbstractItemModel * model, const QModelIndex & index) const { callbackQAbstractItemDelegate_SetModelData(const_cast<void*>(static_cast<const void*>(this)), editor, model, const_cast<QModelIndex*>(&index)); };
void updateEditorGeometry(QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQAbstractItemDelegate_UpdateEditorGeometry(const_cast<void*>(static_cast<const void*>(this)), editor, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index)); };
bool helpEvent(QHelpEvent * event, QAbstractItemView * view, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_HelpEvent(this, event, view, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index)) != 0; };
void Signal_CloseEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemDelegate_CloseEditor(this, editor, hint); };
void Signal_CommitData(QWidget * editor) { callbackQAbstractItemDelegate_CommitData(this, editor); };
void Signal_SizeHintChanged(const QModelIndex & index) { callbackQAbstractItemDelegate_SizeHintChanged(this, const_cast<QModelIndex*>(&index)); };
void destroyEditor(QWidget * editor, const QModelIndex & index) const { callbackQAbstractItemDelegate_DestroyEditor(const_cast<void*>(static_cast<const void*>(this)), editor, const_cast<QModelIndex*>(&index)); };
bool event(QEvent * e) { return callbackQAbstractItemDelegate_Event(this, e) != 0; };
void childEvent(QChildEvent * event) { callbackQAbstractItemDelegate_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQAbstractItemDelegate_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQAbstractItemDelegate_CustomEvent(this, event); };
void deleteLater() { callbackQAbstractItemDelegate_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQAbstractItemDelegate_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQAbstractItemDelegate_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQAbstractItemDelegate_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQAbstractItemDelegate_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQAbstractItemDelegate_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QStyledItemDelegate_NewQStyledItemDelegate(void* parent)
{
return new MyQStyledItemDelegate(static_cast<QObject*>(parent));
}
void QStyledItemDelegate_SetItemEditorFactory(void* ptr, void* factory)
{
static_cast<QStyledItemDelegate*>(ptr)->setItemEditorFactory(static_cast<QItemEditorFactory*>(factory));
}
void QStyledItemDelegate_DestroyQStyledItemDelegate(void* ptr)
{
static_cast<QStyledItemDelegate*>(ptr)->~QStyledItemDelegate();
}
void* QStyledItemDelegate_ItemEditorFactory(void* ptr)
{
return static_cast<QStyledItemDelegate*>(ptr)->itemEditorFactory();
}
void* QStyledItemDelegate_SizeHint(void* ptr, void* option, void* index)
{
return ({ QSize tmpValue = static_cast<QStyledItemDelegate*>(ptr)->sizeHint(*static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index)); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QStyledItemDelegate_SizeHintDefault(void* ptr, void* option, void* index)
{
return ({ QSize tmpValue = static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::sizeHint(*static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index)); new QSize(tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QStyledItemDelegate_DisplayText(void* ptr, void* value, void* locale)
{
return ({ QByteArray t4b31fe = static_cast<QStyledItemDelegate*>(ptr)->displayText(*static_cast<QVariant*>(value), *static_cast<QLocale*>(locale)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t4b31fe.prepend("WHITESPACE").constData()+10), t4b31fe.size()-10 }; });
}
struct QtWidgets_PackedString QStyledItemDelegate_DisplayTextDefault(void* ptr, void* value, void* locale)
{
return ({ QByteArray tfa980a = static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::displayText(*static_cast<QVariant*>(value), *static_cast<QLocale*>(locale)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(tfa980a.prepend("WHITESPACE").constData()+10), tfa980a.size()-10 }; });
}
void QStyledItemDelegate_InitStyleOption(void* ptr, void* option, void* index)
{
static_cast<QStyledItemDelegate*>(ptr)->initStyleOption(static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
void QStyledItemDelegate_InitStyleOptionDefault(void* ptr, void* option, void* index)
{
static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::initStyleOption(static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
void QStyledItemDelegate_Paint(void* ptr, void* painter, void* option, void* index)
{
static_cast<QStyledItemDelegate*>(ptr)->paint(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
void QStyledItemDelegate_PaintDefault(void* ptr, void* painter, void* option, void* index)
{
static_cast<QStyledItemDelegate*>(ptr)->QStyledItemDelegate::paint(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
class MyQSwipeGesture: public QSwipeGesture
{
public:
bool event(QEvent * e) { return callbackQGesture_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGesture_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGesture_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGesture_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGesture_CustomEvent(this, event); };
void deleteLater() { callbackQGesture_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGesture_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGesture_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGesture_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGesture_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGesture_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QSwipeGesture_SetSwipeAngle(void* ptr, double value)
{
static_cast<QSwipeGesture*>(ptr)->setSwipeAngle(value);
}
long long QSwipeGesture_HorizontalDirection(void* ptr)
{
return static_cast<QSwipeGesture*>(ptr)->horizontalDirection();
}
void QSwipeGesture_DestroyQSwipeGesture(void* ptr)
{
static_cast<QSwipeGesture*>(ptr)->~QSwipeGesture();
}
long long QSwipeGesture_VerticalDirection(void* ptr)
{
return static_cast<QSwipeGesture*>(ptr)->verticalDirection();
}
double QSwipeGesture_SwipeAngle(void* ptr)
{
return static_cast<QSwipeGesture*>(ptr)->swipeAngle();
}
class MyQSystemTrayIcon: public QSystemTrayIcon
{
public:
MyQSystemTrayIcon(QObject *parent) : QSystemTrayIcon(parent) {};
MyQSystemTrayIcon(const QIcon &icon, QObject *parent) : QSystemTrayIcon(icon, parent) {};
bool event(QEvent * e) { return callbackQSystemTrayIcon_Event(this, e) != 0; };
void Signal_Activated(QSystemTrayIcon::ActivationReason reason) { callbackQSystemTrayIcon_Activated(this, reason); };
void hide() { callbackQSystemTrayIcon_Hide(this); };
void Signal_MessageClicked() { callbackQSystemTrayIcon_MessageClicked(this); };
void setVisible(bool visible) { callbackQSystemTrayIcon_SetVisible(this, visible); };
void show() { callbackQSystemTrayIcon_Show(this); };
void showMessage(const QString & title, const QString & message, QSystemTrayIcon::MessageIcon icon, int millisecondsTimeoutHint) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };QByteArray t6f9b9a = message.toUtf8(); QtWidgets_PackedString messagePacked = { const_cast<char*>(t6f9b9a.prepend("WHITESPACE").constData()+10), t6f9b9a.size()-10 };callbackQSystemTrayIcon_ShowMessage(this, titlePacked, messagePacked, icon, millisecondsTimeoutHint); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQSystemTrayIcon_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQSystemTrayIcon_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQSystemTrayIcon_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQSystemTrayIcon_CustomEvent(this, event); };
void deleteLater() { callbackQSystemTrayIcon_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQSystemTrayIcon_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQSystemTrayIcon_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQSystemTrayIcon_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQSystemTrayIcon_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQSystemTrayIcon_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QSystemTrayIcon_NewQSystemTrayIcon(void* parent)
{
return new MyQSystemTrayIcon(static_cast<QObject*>(parent));
}
void* QSystemTrayIcon_NewQSystemTrayIcon2(void* icon, void* parent)
{
return new MyQSystemTrayIcon(*static_cast<QIcon*>(icon), static_cast<QObject*>(parent));
}
char QSystemTrayIcon_EventDefault(void* ptr, void* e)
{
return static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::event(static_cast<QEvent*>(e));
}
char QSystemTrayIcon_QSystemTrayIcon_IsSystemTrayAvailable()
{
return QSystemTrayIcon::isSystemTrayAvailable();
}
char QSystemTrayIcon_QSystemTrayIcon_SupportsMessages()
{
return QSystemTrayIcon::supportsMessages();
}
void QSystemTrayIcon_ConnectActivated(void* ptr)
{
QObject::connect(static_cast<QSystemTrayIcon*>(ptr), static_cast<void (QSystemTrayIcon::*)(QSystemTrayIcon::ActivationReason)>(&QSystemTrayIcon::activated), static_cast<MyQSystemTrayIcon*>(ptr), static_cast<void (MyQSystemTrayIcon::*)(QSystemTrayIcon::ActivationReason)>(&MyQSystemTrayIcon::Signal_Activated));
}
void QSystemTrayIcon_DisconnectActivated(void* ptr)
{
QObject::disconnect(static_cast<QSystemTrayIcon*>(ptr), static_cast<void (QSystemTrayIcon::*)(QSystemTrayIcon::ActivationReason)>(&QSystemTrayIcon::activated), static_cast<MyQSystemTrayIcon*>(ptr), static_cast<void (MyQSystemTrayIcon::*)(QSystemTrayIcon::ActivationReason)>(&MyQSystemTrayIcon::Signal_Activated));
}
void QSystemTrayIcon_Activated(void* ptr, long long reason)
{
static_cast<QSystemTrayIcon*>(ptr)->activated(static_cast<QSystemTrayIcon::ActivationReason>(reason));
}
void QSystemTrayIcon_Hide(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QSystemTrayIcon*>(ptr), "hide");
}
void QSystemTrayIcon_HideDefault(void* ptr)
{
static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::hide();
}
void QSystemTrayIcon_ConnectMessageClicked(void* ptr)
{
QObject::connect(static_cast<QSystemTrayIcon*>(ptr), static_cast<void (QSystemTrayIcon::*)()>(&QSystemTrayIcon::messageClicked), static_cast<MyQSystemTrayIcon*>(ptr), static_cast<void (MyQSystemTrayIcon::*)()>(&MyQSystemTrayIcon::Signal_MessageClicked));
}
void QSystemTrayIcon_DisconnectMessageClicked(void* ptr)
{
QObject::disconnect(static_cast<QSystemTrayIcon*>(ptr), static_cast<void (QSystemTrayIcon::*)()>(&QSystemTrayIcon::messageClicked), static_cast<MyQSystemTrayIcon*>(ptr), static_cast<void (MyQSystemTrayIcon::*)()>(&MyQSystemTrayIcon::Signal_MessageClicked));
}
void QSystemTrayIcon_MessageClicked(void* ptr)
{
static_cast<QSystemTrayIcon*>(ptr)->messageClicked();
}
void QSystemTrayIcon_SetContextMenu(void* ptr, void* menu)
{
static_cast<QSystemTrayIcon*>(ptr)->setContextMenu(static_cast<QMenu*>(menu));
}
void QSystemTrayIcon_SetIcon(void* ptr, void* icon)
{
static_cast<QSystemTrayIcon*>(ptr)->setIcon(*static_cast<QIcon*>(icon));
}
void QSystemTrayIcon_SetToolTip(void* ptr, char* tip)
{
static_cast<QSystemTrayIcon*>(ptr)->setToolTip(QString(tip));
}
void QSystemTrayIcon_SetVisible(void* ptr, char visible)
{
QMetaObject::invokeMethod(static_cast<QSystemTrayIcon*>(ptr), "setVisible", Q_ARG(bool, visible != 0));
}
void QSystemTrayIcon_SetVisibleDefault(void* ptr, char visible)
{
static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::setVisible(visible != 0);
}
void QSystemTrayIcon_Show(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QSystemTrayIcon*>(ptr), "show");
}
void QSystemTrayIcon_ShowDefault(void* ptr)
{
static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::show();
}
void QSystemTrayIcon_ShowMessage(void* ptr, char* title, char* message, long long icon, int millisecondsTimeoutHint)
{
QMetaObject::invokeMethod(static_cast<QSystemTrayIcon*>(ptr), "showMessage", Q_ARG(QString, QString(title)), Q_ARG(QString, QString(message)), Q_ARG(QSystemTrayIcon::MessageIcon, static_cast<QSystemTrayIcon::MessageIcon>(icon)), Q_ARG(int, millisecondsTimeoutHint));
}
void QSystemTrayIcon_ShowMessageDefault(void* ptr, char* title, char* message, long long icon, int millisecondsTimeoutHint)
{
static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::showMessage(QString(title), QString(message), static_cast<QSystemTrayIcon::MessageIcon>(icon), millisecondsTimeoutHint);
}
void* QSystemTrayIcon_Icon(void* ptr)
{
return new QIcon(static_cast<QSystemTrayIcon*>(ptr)->icon());
}
void* QSystemTrayIcon_ContextMenu(void* ptr)
{
return static_cast<QSystemTrayIcon*>(ptr)->contextMenu();
}
void* QSystemTrayIcon_Geometry(void* ptr)
{
return ({ QRect tmpValue = static_cast<QSystemTrayIcon*>(ptr)->geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QSystemTrayIcon_ToolTip(void* ptr)
{
return ({ QByteArray t27041f = static_cast<QSystemTrayIcon*>(ptr)->toolTip().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t27041f.prepend("WHITESPACE").constData()+10), t27041f.size()-10 }; });
}
char QSystemTrayIcon_IsVisible(void* ptr)
{
return static_cast<QSystemTrayIcon*>(ptr)->isVisible();
}
void QSystemTrayIcon_DestroyQSystemTrayIcon(void* ptr)
{
static_cast<QSystemTrayIcon*>(ptr)->~QSystemTrayIcon();
}
void* QSystemTrayIcon___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QSystemTrayIcon___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QSystemTrayIcon___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QSystemTrayIcon___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QSystemTrayIcon___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QSystemTrayIcon___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QSystemTrayIcon___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QSystemTrayIcon___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QSystemTrayIcon___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QSystemTrayIcon___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QSystemTrayIcon___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QSystemTrayIcon___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QSystemTrayIcon___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QSystemTrayIcon___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QSystemTrayIcon___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QSystemTrayIcon_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QSystemTrayIcon_ChildEventDefault(void* ptr, void* event)
{
static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::childEvent(static_cast<QChildEvent*>(event));
}
void QSystemTrayIcon_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QSystemTrayIcon_CustomEventDefault(void* ptr, void* event)
{
static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::customEvent(static_cast<QEvent*>(event));
}
void QSystemTrayIcon_DeleteLaterDefault(void* ptr)
{
static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::deleteLater();
}
void QSystemTrayIcon_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QSystemTrayIcon_TimerEventDefault(void* ptr, void* event)
{
static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QSystemTrayIcon_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QSystemTrayIcon*>(ptr)->QSystemTrayIcon::metaObject());
}
class MyQTabBar: public QTabBar
{
public:
MyQTabBar(QWidget *parent) : QTabBar(parent) {};
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void Signal_CurrentChanged(int index) { callbackQTabBar_CurrentChanged(this, index); };
void hideEvent(QHideEvent * vqh) { callbackQWidget_HideEvent(this, vqh); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); };
void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); };
void setCurrentIndex(int index) { callbackQTabBar_SetCurrentIndex(this, index); };
void showEvent(QShowEvent * vqs) { callbackQWidget_ShowEvent(this, vqs); };
void Signal_TabBarClicked(int index) { callbackQTabBar_TabBarClicked(this, index); };
void Signal_TabBarDoubleClicked(int index) { callbackQTabBar_TabBarDoubleClicked(this, index); };
void Signal_TabCloseRequested(int index) { callbackQTabBar_TabCloseRequested(this, index); };
void tabInserted(int index) { callbackQTabBar_TabInserted(this, index); };
void tabLayoutChange() { callbackQTabBar_TabLayoutChange(this); };
void Signal_TabMoved(int from, int to) { callbackQTabBar_TabMoved(this, from, to); };
void tabRemoved(int index) { callbackQTabBar_TabRemoved(this, index); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumTabSizeHint(int index) const { return *static_cast<QSize*>(callbackQTabBar_MinimumTabSizeHint(const_cast<void*>(static_cast<const void*>(this)), index)); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize tabSizeHint(int index) const { return *static_cast<QSize*>(callbackQTabBar_TabSizeHint(const_cast<void*>(static_cast<const void*>(this)), index)); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QTabBar_NewQTabBar(void* parent)
{
return new MyQTabBar(static_cast<QWidget*>(parent));
}
int QTabBar_AddTab2(void* ptr, void* icon, char* text)
{
return static_cast<QTabBar*>(ptr)->addTab(*static_cast<QIcon*>(icon), QString(text));
}
int QTabBar_AddTab(void* ptr, char* text)
{
return static_cast<QTabBar*>(ptr)->addTab(QString(text));
}
int QTabBar_InsertTab2(void* ptr, int index, void* icon, char* text)
{
return static_cast<QTabBar*>(ptr)->insertTab(index, *static_cast<QIcon*>(icon), QString(text));
}
int QTabBar_InsertTab(void* ptr, int index, char* text)
{
return static_cast<QTabBar*>(ptr)->insertTab(index, QString(text));
}
void QTabBar_ConnectCurrentChanged(void* ptr)
{
QObject::connect(static_cast<QTabBar*>(ptr), static_cast<void (QTabBar::*)(int)>(&QTabBar::currentChanged), static_cast<MyQTabBar*>(ptr), static_cast<void (MyQTabBar::*)(int)>(&MyQTabBar::Signal_CurrentChanged));
}
void QTabBar_DisconnectCurrentChanged(void* ptr)
{
QObject::disconnect(static_cast<QTabBar*>(ptr), static_cast<void (QTabBar::*)(int)>(&QTabBar::currentChanged), static_cast<MyQTabBar*>(ptr), static_cast<void (MyQTabBar::*)(int)>(&MyQTabBar::Signal_CurrentChanged));
}
void QTabBar_CurrentChanged(void* ptr, int index)
{
static_cast<QTabBar*>(ptr)->currentChanged(index);
}
void QTabBar_MoveTab(void* ptr, int from, int to)
{
static_cast<QTabBar*>(ptr)->moveTab(from, to);
}
void QTabBar_RemoveTab(void* ptr, int index)
{
static_cast<QTabBar*>(ptr)->removeTab(index);
}
void QTabBar_SetAccessibleTabName(void* ptr, int index, char* name)
{
static_cast<QTabBar*>(ptr)->setAccessibleTabName(index, QString(name));
}
void QTabBar_SetAutoHide(void* ptr, char hide)
{
static_cast<QTabBar*>(ptr)->setAutoHide(hide != 0);
}
void QTabBar_SetChangeCurrentOnDrag(void* ptr, char change)
{
static_cast<QTabBar*>(ptr)->setChangeCurrentOnDrag(change != 0);
}
void QTabBar_SetCurrentIndex(void* ptr, int index)
{
QMetaObject::invokeMethod(static_cast<QTabBar*>(ptr), "setCurrentIndex", Q_ARG(int, index));
}
void QTabBar_SetCurrentIndexDefault(void* ptr, int index)
{
static_cast<QTabBar*>(ptr)->QTabBar::setCurrentIndex(index);
}
void QTabBar_SetDocumentMode(void* ptr, char set)
{
static_cast<QTabBar*>(ptr)->setDocumentMode(set != 0);
}
void QTabBar_SetDrawBase(void* ptr, char drawTheBase)
{
static_cast<QTabBar*>(ptr)->setDrawBase(drawTheBase != 0);
}
void QTabBar_SetElideMode(void* ptr, long long vqt)
{
static_cast<QTabBar*>(ptr)->setElideMode(static_cast<Qt::TextElideMode>(vqt));
}
void QTabBar_SetExpanding(void* ptr, char enabled)
{
static_cast<QTabBar*>(ptr)->setExpanding(enabled != 0);
}
void QTabBar_SetIconSize(void* ptr, void* size)
{
static_cast<QTabBar*>(ptr)->setIconSize(*static_cast<QSize*>(size));
}
void QTabBar_SetMovable(void* ptr, char movable)
{
static_cast<QTabBar*>(ptr)->setMovable(movable != 0);
}
void QTabBar_SetSelectionBehaviorOnRemove(void* ptr, long long behavior)
{
static_cast<QTabBar*>(ptr)->setSelectionBehaviorOnRemove(static_cast<QTabBar::SelectionBehavior>(behavior));
}
void QTabBar_SetShape(void* ptr, long long shape)
{
static_cast<QTabBar*>(ptr)->setShape(static_cast<QTabBar::Shape>(shape));
}
void QTabBar_SetUsesScrollButtons(void* ptr, char useButtons)
{
static_cast<QTabBar*>(ptr)->setUsesScrollButtons(useButtons != 0);
}
void QTabBar_SetTabButton(void* ptr, int index, long long position, void* widget)
{
static_cast<QTabBar*>(ptr)->setTabButton(index, static_cast<QTabBar::ButtonPosition>(position), static_cast<QWidget*>(widget));
}
void QTabBar_SetTabData(void* ptr, int index, void* data)
{
static_cast<QTabBar*>(ptr)->setTabData(index, *static_cast<QVariant*>(data));
}
void QTabBar_SetTabEnabled(void* ptr, int index, char enabled)
{
static_cast<QTabBar*>(ptr)->setTabEnabled(index, enabled != 0);
}
void QTabBar_SetTabIcon(void* ptr, int index, void* icon)
{
static_cast<QTabBar*>(ptr)->setTabIcon(index, *static_cast<QIcon*>(icon));
}
void QTabBar_SetTabText(void* ptr, int index, char* text)
{
static_cast<QTabBar*>(ptr)->setTabText(index, QString(text));
}
void QTabBar_SetTabTextColor(void* ptr, int index, void* color)
{
static_cast<QTabBar*>(ptr)->setTabTextColor(index, *static_cast<QColor*>(color));
}
void QTabBar_SetTabToolTip(void* ptr, int index, char* tip)
{
static_cast<QTabBar*>(ptr)->setTabToolTip(index, QString(tip));
}
void QTabBar_SetTabWhatsThis(void* ptr, int index, char* text)
{
static_cast<QTabBar*>(ptr)->setTabWhatsThis(index, QString(text));
}
void QTabBar_ConnectTabBarClicked(void* ptr)
{
QObject::connect(static_cast<QTabBar*>(ptr), static_cast<void (QTabBar::*)(int)>(&QTabBar::tabBarClicked), static_cast<MyQTabBar*>(ptr), static_cast<void (MyQTabBar::*)(int)>(&MyQTabBar::Signal_TabBarClicked));
}
void QTabBar_DisconnectTabBarClicked(void* ptr)
{
QObject::disconnect(static_cast<QTabBar*>(ptr), static_cast<void (QTabBar::*)(int)>(&QTabBar::tabBarClicked), static_cast<MyQTabBar*>(ptr), static_cast<void (MyQTabBar::*)(int)>(&MyQTabBar::Signal_TabBarClicked));
}
void QTabBar_TabBarClicked(void* ptr, int index)
{
static_cast<QTabBar*>(ptr)->tabBarClicked(index);
}
void QTabBar_ConnectTabBarDoubleClicked(void* ptr)
{
QObject::connect(static_cast<QTabBar*>(ptr), static_cast<void (QTabBar::*)(int)>(&QTabBar::tabBarDoubleClicked), static_cast<MyQTabBar*>(ptr), static_cast<void (MyQTabBar::*)(int)>(&MyQTabBar::Signal_TabBarDoubleClicked));
}
void QTabBar_DisconnectTabBarDoubleClicked(void* ptr)
{
QObject::disconnect(static_cast<QTabBar*>(ptr), static_cast<void (QTabBar::*)(int)>(&QTabBar::tabBarDoubleClicked), static_cast<MyQTabBar*>(ptr), static_cast<void (MyQTabBar::*)(int)>(&MyQTabBar::Signal_TabBarDoubleClicked));
}
void QTabBar_TabBarDoubleClicked(void* ptr, int index)
{
static_cast<QTabBar*>(ptr)->tabBarDoubleClicked(index);
}
void QTabBar_ConnectTabCloseRequested(void* ptr)
{
QObject::connect(static_cast<QTabBar*>(ptr), static_cast<void (QTabBar::*)(int)>(&QTabBar::tabCloseRequested), static_cast<MyQTabBar*>(ptr), static_cast<void (MyQTabBar::*)(int)>(&MyQTabBar::Signal_TabCloseRequested));
}
void QTabBar_DisconnectTabCloseRequested(void* ptr)
{
QObject::disconnect(static_cast<QTabBar*>(ptr), static_cast<void (QTabBar::*)(int)>(&QTabBar::tabCloseRequested), static_cast<MyQTabBar*>(ptr), static_cast<void (MyQTabBar::*)(int)>(&MyQTabBar::Signal_TabCloseRequested));
}
void QTabBar_TabCloseRequested(void* ptr, int index)
{
static_cast<QTabBar*>(ptr)->tabCloseRequested(index);
}
void QTabBar_TabInserted(void* ptr, int index)
{
static_cast<QTabBar*>(ptr)->tabInserted(index);
}
void QTabBar_TabInsertedDefault(void* ptr, int index)
{
static_cast<QTabBar*>(ptr)->QTabBar::tabInserted(index);
}
void QTabBar_TabLayoutChange(void* ptr)
{
static_cast<QTabBar*>(ptr)->tabLayoutChange();
}
void QTabBar_TabLayoutChangeDefault(void* ptr)
{
static_cast<QTabBar*>(ptr)->QTabBar::tabLayoutChange();
}
void QTabBar_ConnectTabMoved(void* ptr)
{
QObject::connect(static_cast<QTabBar*>(ptr), static_cast<void (QTabBar::*)(int, int)>(&QTabBar::tabMoved), static_cast<MyQTabBar*>(ptr), static_cast<void (MyQTabBar::*)(int, int)>(&MyQTabBar::Signal_TabMoved));
}
void QTabBar_DisconnectTabMoved(void* ptr)
{
QObject::disconnect(static_cast<QTabBar*>(ptr), static_cast<void (QTabBar::*)(int, int)>(&QTabBar::tabMoved), static_cast<MyQTabBar*>(ptr), static_cast<void (MyQTabBar::*)(int, int)>(&MyQTabBar::Signal_TabMoved));
}
void QTabBar_TabMoved(void* ptr, int from, int to)
{
static_cast<QTabBar*>(ptr)->tabMoved(from, to);
}
void QTabBar_TabRemoved(void* ptr, int index)
{
static_cast<QTabBar*>(ptr)->tabRemoved(index);
}
void QTabBar_TabRemovedDefault(void* ptr, int index)
{
static_cast<QTabBar*>(ptr)->QTabBar::tabRemoved(index);
}
void QTabBar_DestroyQTabBar(void* ptr)
{
static_cast<QTabBar*>(ptr)->~QTabBar();
}
void* QTabBar_TabTextColor(void* ptr, int index)
{
return new QColor(static_cast<QTabBar*>(ptr)->tabTextColor(index));
}
void* QTabBar_TabIcon(void* ptr, int index)
{
return new QIcon(static_cast<QTabBar*>(ptr)->tabIcon(index));
}
void* QTabBar_TabRect(void* ptr, int index)
{
return ({ QRect tmpValue = static_cast<QTabBar*>(ptr)->tabRect(index); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QTabBar_IconSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QTabBar*>(ptr)->iconSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QTabBar_MinimumTabSizeHint(void* ptr, int index)
{
return ({ QSize tmpValue = static_cast<QTabBar*>(ptr)->minimumTabSizeHint(index); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QTabBar_MinimumTabSizeHintDefault(void* ptr, int index)
{
return ({ QSize tmpValue = static_cast<QTabBar*>(ptr)->QTabBar::minimumTabSizeHint(index); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QTabBar_TabSizeHint(void* ptr, int index)
{
return ({ QSize tmpValue = static_cast<QTabBar*>(ptr)->tabSizeHint(index); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QTabBar_TabSizeHintDefault(void* ptr, int index)
{
return ({ QSize tmpValue = static_cast<QTabBar*>(ptr)->QTabBar::tabSizeHint(index); new QSize(tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QTabBar_AccessibleTabName(void* ptr, int index)
{
return ({ QByteArray tfff4ba = static_cast<QTabBar*>(ptr)->accessibleTabName(index).toUtf8(); QtWidgets_PackedString { const_cast<char*>(tfff4ba.prepend("WHITESPACE").constData()+10), tfff4ba.size()-10 }; });
}
struct QtWidgets_PackedString QTabBar_TabText(void* ptr, int index)
{
return ({ QByteArray t67599e = static_cast<QTabBar*>(ptr)->tabText(index).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t67599e.prepend("WHITESPACE").constData()+10), t67599e.size()-10 }; });
}
struct QtWidgets_PackedString QTabBar_TabToolTip(void* ptr, int index)
{
return ({ QByteArray t1438d1 = static_cast<QTabBar*>(ptr)->tabToolTip(index).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t1438d1.prepend("WHITESPACE").constData()+10), t1438d1.size()-10 }; });
}
struct QtWidgets_PackedString QTabBar_TabWhatsThis(void* ptr, int index)
{
return ({ QByteArray t61711f = static_cast<QTabBar*>(ptr)->tabWhatsThis(index).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t61711f.prepend("WHITESPACE").constData()+10), t61711f.size()-10 }; });
}
void* QTabBar_TabData(void* ptr, int index)
{
return new QVariant(static_cast<QTabBar*>(ptr)->tabData(index));
}
void* QTabBar_TabButton(void* ptr, int index, long long position)
{
return static_cast<QTabBar*>(ptr)->tabButton(index, static_cast<QTabBar::ButtonPosition>(position));
}
long long QTabBar_ElideMode(void* ptr)
{
return static_cast<QTabBar*>(ptr)->elideMode();
}
long long QTabBar_SelectionBehaviorOnRemove(void* ptr)
{
return static_cast<QTabBar*>(ptr)->selectionBehaviorOnRemove();
}
long long QTabBar_Shape(void* ptr)
{
return static_cast<QTabBar*>(ptr)->shape();
}
char QTabBar_AutoHide(void* ptr)
{
return static_cast<QTabBar*>(ptr)->autoHide();
}
char QTabBar_ChangeCurrentOnDrag(void* ptr)
{
return static_cast<QTabBar*>(ptr)->changeCurrentOnDrag();
}
char QTabBar_DocumentMode(void* ptr)
{
return static_cast<QTabBar*>(ptr)->documentMode();
}
char QTabBar_DrawBase(void* ptr)
{
return static_cast<QTabBar*>(ptr)->drawBase();
}
char QTabBar_Expanding(void* ptr)
{
return static_cast<QTabBar*>(ptr)->expanding();
}
char QTabBar_IsMovable(void* ptr)
{
return static_cast<QTabBar*>(ptr)->isMovable();
}
char QTabBar_IsTabEnabled(void* ptr, int index)
{
return static_cast<QTabBar*>(ptr)->isTabEnabled(index);
}
char QTabBar_UsesScrollButtons(void* ptr)
{
return static_cast<QTabBar*>(ptr)->usesScrollButtons();
}
int QTabBar_Count(void* ptr)
{
return static_cast<QTabBar*>(ptr)->count();
}
int QTabBar_CurrentIndex(void* ptr)
{
return static_cast<QTabBar*>(ptr)->currentIndex();
}
int QTabBar_TabAt(void* ptr, void* position)
{
return static_cast<QTabBar*>(ptr)->tabAt(*static_cast<QPoint*>(position));
}
void QTabBar_InitStyleOption(void* ptr, void* option, int tabIndex)
{
static_cast<QTabBar*>(ptr)->initStyleOption(static_cast<QStyleOptionTab*>(option), tabIndex);
}
class MyQTabWidget: public QTabWidget
{
public:
MyQTabWidget(QWidget *parent) : QTabWidget(parent) {};
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
void Signal_CurrentChanged(int index) { callbackQTabWidget_CurrentChanged(this, index); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); };
void setCurrentIndex(int index) { callbackQTabWidget_SetCurrentIndex(this, index); };
void setCurrentWidget(QWidget * widget) { callbackQTabWidget_SetCurrentWidget(this, widget); };
void showEvent(QShowEvent * vqs) { callbackQWidget_ShowEvent(this, vqs); };
void Signal_TabBarClicked(int index) { callbackQTabWidget_TabBarClicked(this, index); };
void Signal_TabBarDoubleClicked(int index) { callbackQTabWidget_TabBarDoubleClicked(this, index); };
void Signal_TabCloseRequested(int index) { callbackQTabWidget_TabCloseRequested(this, index); };
void tabInserted(int index) { callbackQTabWidget_TabInserted(this, index); };
void tabRemoved(int index) { callbackQTabWidget_TabRemoved(this, index); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int width) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), width); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
int QTabWidget_AddTab2(void* ptr, void* page, void* icon, char* label)
{
return static_cast<QTabWidget*>(ptr)->addTab(static_cast<QWidget*>(page), *static_cast<QIcon*>(icon), QString(label));
}
int QTabWidget_InsertTab2(void* ptr, int index, void* page, void* icon, char* label)
{
return static_cast<QTabWidget*>(ptr)->insertTab(index, static_cast<QWidget*>(page), *static_cast<QIcon*>(icon), QString(label));
}
void* QTabWidget_NewQTabWidget(void* parent)
{
return new MyQTabWidget(static_cast<QWidget*>(parent));
}
int QTabWidget_AddTab(void* ptr, void* page, char* label)
{
return static_cast<QTabWidget*>(ptr)->addTab(static_cast<QWidget*>(page), QString(label));
}
int QTabWidget_InsertTab(void* ptr, int index, void* page, char* label)
{
return static_cast<QTabWidget*>(ptr)->insertTab(index, static_cast<QWidget*>(page), QString(label));
}
void QTabWidget_Clear(void* ptr)
{
static_cast<QTabWidget*>(ptr)->clear();
}
void QTabWidget_ConnectCurrentChanged(void* ptr)
{
QObject::connect(static_cast<QTabWidget*>(ptr), static_cast<void (QTabWidget::*)(int)>(&QTabWidget::currentChanged), static_cast<MyQTabWidget*>(ptr), static_cast<void (MyQTabWidget::*)(int)>(&MyQTabWidget::Signal_CurrentChanged));
}
void QTabWidget_DisconnectCurrentChanged(void* ptr)
{
QObject::disconnect(static_cast<QTabWidget*>(ptr), static_cast<void (QTabWidget::*)(int)>(&QTabWidget::currentChanged), static_cast<MyQTabWidget*>(ptr), static_cast<void (MyQTabWidget::*)(int)>(&MyQTabWidget::Signal_CurrentChanged));
}
void QTabWidget_CurrentChanged(void* ptr, int index)
{
static_cast<QTabWidget*>(ptr)->currentChanged(index);
}
void QTabWidget_RemoveTab(void* ptr, int index)
{
static_cast<QTabWidget*>(ptr)->removeTab(index);
}
void QTabWidget_SetCornerWidget(void* ptr, void* widget, long long corner)
{
static_cast<QTabWidget*>(ptr)->setCornerWidget(static_cast<QWidget*>(widget), static_cast<Qt::Corner>(corner));
}
void QTabWidget_SetCurrentIndex(void* ptr, int index)
{
QMetaObject::invokeMethod(static_cast<QTabWidget*>(ptr), "setCurrentIndex", Q_ARG(int, index));
}
void QTabWidget_SetCurrentIndexDefault(void* ptr, int index)
{
static_cast<QTabWidget*>(ptr)->QTabWidget::setCurrentIndex(index);
}
void QTabWidget_SetCurrentWidget(void* ptr, void* widget)
{
QMetaObject::invokeMethod(static_cast<QTabWidget*>(ptr), "setCurrentWidget", Q_ARG(QWidget*, static_cast<QWidget*>(widget)));
}
void QTabWidget_SetCurrentWidgetDefault(void* ptr, void* widget)
{
static_cast<QTabWidget*>(ptr)->QTabWidget::setCurrentWidget(static_cast<QWidget*>(widget));
}
void QTabWidget_SetDocumentMode(void* ptr, char set)
{
static_cast<QTabWidget*>(ptr)->setDocumentMode(set != 0);
}
void QTabWidget_SetElideMode(void* ptr, long long vqt)
{
static_cast<QTabWidget*>(ptr)->setElideMode(static_cast<Qt::TextElideMode>(vqt));
}
void QTabWidget_SetIconSize(void* ptr, void* size)
{
static_cast<QTabWidget*>(ptr)->setIconSize(*static_cast<QSize*>(size));
}
void QTabWidget_SetMovable(void* ptr, char movable)
{
static_cast<QTabWidget*>(ptr)->setMovable(movable != 0);
}
void QTabWidget_SetTabBar(void* ptr, void* tb)
{
static_cast<QTabWidget*>(ptr)->setTabBar(static_cast<QTabBar*>(tb));
}
void QTabWidget_SetTabBarAutoHide(void* ptr, char enabled)
{
static_cast<QTabWidget*>(ptr)->setTabBarAutoHide(enabled != 0);
}
void QTabWidget_SetTabEnabled(void* ptr, int index, char enable)
{
static_cast<QTabWidget*>(ptr)->setTabEnabled(index, enable != 0);
}
void QTabWidget_SetTabIcon(void* ptr, int index, void* icon)
{
static_cast<QTabWidget*>(ptr)->setTabIcon(index, *static_cast<QIcon*>(icon));
}
void QTabWidget_SetTabPosition(void* ptr, long long vta)
{
static_cast<QTabWidget*>(ptr)->setTabPosition(static_cast<QTabWidget::TabPosition>(vta));
}
void QTabWidget_SetTabShape(void* ptr, long long s)
{
static_cast<QTabWidget*>(ptr)->setTabShape(static_cast<QTabWidget::TabShape>(s));
}
void QTabWidget_SetTabText(void* ptr, int index, char* label)
{
static_cast<QTabWidget*>(ptr)->setTabText(index, QString(label));
}
void QTabWidget_SetTabToolTip(void* ptr, int index, char* tip)
{
static_cast<QTabWidget*>(ptr)->setTabToolTip(index, QString(tip));
}
void QTabWidget_SetTabWhatsThis(void* ptr, int index, char* text)
{
static_cast<QTabWidget*>(ptr)->setTabWhatsThis(index, QString(text));
}
void QTabWidget_SetUsesScrollButtons(void* ptr, char useButtons)
{
static_cast<QTabWidget*>(ptr)->setUsesScrollButtons(useButtons != 0);
}
void QTabWidget_ConnectTabBarClicked(void* ptr)
{
QObject::connect(static_cast<QTabWidget*>(ptr), static_cast<void (QTabWidget::*)(int)>(&QTabWidget::tabBarClicked), static_cast<MyQTabWidget*>(ptr), static_cast<void (MyQTabWidget::*)(int)>(&MyQTabWidget::Signal_TabBarClicked));
}
void QTabWidget_DisconnectTabBarClicked(void* ptr)
{
QObject::disconnect(static_cast<QTabWidget*>(ptr), static_cast<void (QTabWidget::*)(int)>(&QTabWidget::tabBarClicked), static_cast<MyQTabWidget*>(ptr), static_cast<void (MyQTabWidget::*)(int)>(&MyQTabWidget::Signal_TabBarClicked));
}
void QTabWidget_TabBarClicked(void* ptr, int index)
{
static_cast<QTabWidget*>(ptr)->tabBarClicked(index);
}
void QTabWidget_ConnectTabBarDoubleClicked(void* ptr)
{
QObject::connect(static_cast<QTabWidget*>(ptr), static_cast<void (QTabWidget::*)(int)>(&QTabWidget::tabBarDoubleClicked), static_cast<MyQTabWidget*>(ptr), static_cast<void (MyQTabWidget::*)(int)>(&MyQTabWidget::Signal_TabBarDoubleClicked));
}
void QTabWidget_DisconnectTabBarDoubleClicked(void* ptr)
{
QObject::disconnect(static_cast<QTabWidget*>(ptr), static_cast<void (QTabWidget::*)(int)>(&QTabWidget::tabBarDoubleClicked), static_cast<MyQTabWidget*>(ptr), static_cast<void (MyQTabWidget::*)(int)>(&MyQTabWidget::Signal_TabBarDoubleClicked));
}
void QTabWidget_TabBarDoubleClicked(void* ptr, int index)
{
static_cast<QTabWidget*>(ptr)->tabBarDoubleClicked(index);
}
void QTabWidget_ConnectTabCloseRequested(void* ptr)
{
QObject::connect(static_cast<QTabWidget*>(ptr), static_cast<void (QTabWidget::*)(int)>(&QTabWidget::tabCloseRequested), static_cast<MyQTabWidget*>(ptr), static_cast<void (MyQTabWidget::*)(int)>(&MyQTabWidget::Signal_TabCloseRequested));
}
void QTabWidget_DisconnectTabCloseRequested(void* ptr)
{
QObject::disconnect(static_cast<QTabWidget*>(ptr), static_cast<void (QTabWidget::*)(int)>(&QTabWidget::tabCloseRequested), static_cast<MyQTabWidget*>(ptr), static_cast<void (MyQTabWidget::*)(int)>(&MyQTabWidget::Signal_TabCloseRequested));
}
void QTabWidget_TabCloseRequested(void* ptr, int index)
{
static_cast<QTabWidget*>(ptr)->tabCloseRequested(index);
}
void QTabWidget_TabInserted(void* ptr, int index)
{
static_cast<QTabWidget*>(ptr)->tabInserted(index);
}
void QTabWidget_TabInsertedDefault(void* ptr, int index)
{
static_cast<QTabWidget*>(ptr)->QTabWidget::tabInserted(index);
}
void QTabWidget_TabRemoved(void* ptr, int index)
{
static_cast<QTabWidget*>(ptr)->tabRemoved(index);
}
void QTabWidget_TabRemovedDefault(void* ptr, int index)
{
static_cast<QTabWidget*>(ptr)->QTabWidget::tabRemoved(index);
}
void QTabWidget_DestroyQTabWidget(void* ptr)
{
static_cast<QTabWidget*>(ptr)->~QTabWidget();
}
void* QTabWidget_TabIcon(void* ptr, int index)
{
return new QIcon(static_cast<QTabWidget*>(ptr)->tabIcon(index));
}
void* QTabWidget_IconSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QTabWidget*>(ptr)->iconSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QTabWidget_TabText(void* ptr, int index)
{
return ({ QByteArray t5dcd8a = static_cast<QTabWidget*>(ptr)->tabText(index).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t5dcd8a.prepend("WHITESPACE").constData()+10), t5dcd8a.size()-10 }; });
}
struct QtWidgets_PackedString QTabWidget_TabToolTip(void* ptr, int index)
{
return ({ QByteArray t2994f0 = static_cast<QTabWidget*>(ptr)->tabToolTip(index).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t2994f0.prepend("WHITESPACE").constData()+10), t2994f0.size()-10 }; });
}
struct QtWidgets_PackedString QTabWidget_TabWhatsThis(void* ptr, int index)
{
return ({ QByteArray ta4a3c3 = static_cast<QTabWidget*>(ptr)->tabWhatsThis(index).toUtf8(); QtWidgets_PackedString { const_cast<char*>(ta4a3c3.prepend("WHITESPACE").constData()+10), ta4a3c3.size()-10 }; });
}
void* QTabWidget_TabBar(void* ptr)
{
return static_cast<QTabWidget*>(ptr)->tabBar();
}
void* QTabWidget_CornerWidget(void* ptr, long long corner)
{
return static_cast<QTabWidget*>(ptr)->cornerWidget(static_cast<Qt::Corner>(corner));
}
void* QTabWidget_CurrentWidget(void* ptr)
{
return static_cast<QTabWidget*>(ptr)->currentWidget();
}
void* QTabWidget_Widget(void* ptr, int index)
{
return static_cast<QTabWidget*>(ptr)->widget(index);
}
long long QTabWidget_ElideMode(void* ptr)
{
return static_cast<QTabWidget*>(ptr)->elideMode();
}
long long QTabWidget_TabPosition(void* ptr)
{
return static_cast<QTabWidget*>(ptr)->tabPosition();
}
long long QTabWidget_TabShape(void* ptr)
{
return static_cast<QTabWidget*>(ptr)->tabShape();
}
char QTabWidget_DocumentMode(void* ptr)
{
return static_cast<QTabWidget*>(ptr)->documentMode();
}
char QTabWidget_IsMovable(void* ptr)
{
return static_cast<QTabWidget*>(ptr)->isMovable();
}
char QTabWidget_IsTabEnabled(void* ptr, int index)
{
return static_cast<QTabWidget*>(ptr)->isTabEnabled(index);
}
char QTabWidget_TabBarAutoHide(void* ptr)
{
return static_cast<QTabWidget*>(ptr)->tabBarAutoHide();
}
char QTabWidget_UsesScrollButtons(void* ptr)
{
return static_cast<QTabWidget*>(ptr)->usesScrollButtons();
}
int QTabWidget_Count(void* ptr)
{
return static_cast<QTabWidget*>(ptr)->count();
}
int QTabWidget_CurrentIndex(void* ptr)
{
return static_cast<QTabWidget*>(ptr)->currentIndex();
}
int QTabWidget_IndexOf(void* ptr, void* w)
{
return static_cast<QTabWidget*>(ptr)->indexOf(static_cast<QWidget*>(w));
}
void QTabWidget_InitStyleOption(void* ptr, void* option)
{
static_cast<QTabWidget*>(ptr)->initStyleOption(static_cast<QStyleOptionTabWidgetFrame*>(option));
}
class MyQTableView: public QTableView
{
public:
MyQTableView(QWidget *parent) : QTableView(parent) {};
QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast<QModelIndex*>(callbackQTableView_MoveCursor(this, cursorAction, modifiers)); };
void columnCountChanged(int oldCount, int newCount) { callbackQTableView_ColumnCountChanged(this, oldCount, newCount); };
void columnMoved(int column, int oldIndex, int newIndex) { callbackQTableView_ColumnMoved(this, column, oldIndex, newIndex); };
void columnResized(int column, int oldWidth, int newWidth) { callbackQTableView_ColumnResized(this, column, oldWidth, newWidth); };
void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQTableView_CurrentChanged(this, const_cast<QModelIndex*>(&current), const_cast<QModelIndex*>(&previous)); };
void hideColumn(int column) { callbackQTableView_HideColumn(this, column); };
void hideRow(int row) { callbackQTableView_HideRow(this, row); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void resizeColumnToContents(int column) { callbackQTableView_ResizeColumnToContents(this, column); };
void resizeColumnsToContents() { callbackQTableView_ResizeColumnsToContents(this); };
void resizeRowToContents(int row) { callbackQTableView_ResizeRowToContents(this, row); };
void resizeRowsToContents() { callbackQTableView_ResizeRowsToContents(this); };
void rowCountChanged(int oldCount, int newCount) { callbackQTableView_RowCountChanged(this, oldCount, newCount); };
void rowMoved(int row, int oldIndex, int newIndex) { callbackQTableView_RowMoved(this, row, oldIndex, newIndex); };
void rowResized(int row, int oldHeight, int newHeight) { callbackQTableView_RowResized(this, row, oldHeight, newHeight); };
void selectColumn(int column) { callbackQTableView_SelectColumn(this, column); };
void selectRow(int row) { callbackQTableView_SelectRow(this, row); };
void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQTableView_SelectionChanged(this, const_cast<QItemSelection*>(&selected), const_cast<QItemSelection*>(&deselected)); };
void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); };
void setRootIndex(const QModelIndex & index) { callbackQTableView_SetRootIndex(this, const_cast<QModelIndex*>(&index)); };
void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags flags) { callbackQTableView_SetSelection(this, const_cast<QRect*>(&rect), flags); };
void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); };
void setShowGrid(bool show) { callbackQTableView_SetShowGrid(this, show); };
void showColumn(int column) { callbackQTableView_ShowColumn(this, column); };
void showRow(int row) { callbackQTableView_ShowRow(this, row); };
void updateGeometries() { callbackQTableView_UpdateGeometries(this); };
QModelIndex indexAt(const QPoint & pos) const { return *static_cast<QModelIndex*>(callbackQTableView_IndexAt(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&pos))); };
QList<QModelIndex> selectedIndexes() const { return *static_cast<QList<QModelIndex>*>(callbackQAbstractItemView_SelectedIndexes(const_cast<void*>(static_cast<const void*>(this)))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QStyleOptionViewItem viewOptions() const { return *static_cast<QStyleOptionViewItem*>(callbackQAbstractItemView_ViewOptions(const_cast<void*>(static_cast<const void*>(this)))); };
bool isIndexHidden(const QModelIndex & index) const { return callbackQTableView_IsIndexHidden(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index)) != 0; };
int horizontalOffset() const { return callbackQTableView_HorizontalOffset(const_cast<void*>(static_cast<const void*>(this))); };
int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast<void*>(static_cast<const void*>(this)), column); };
int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast<void*>(static_cast<const void*>(this)), row); };
int verticalOffset() const { return callbackQTableView_VerticalOffset(const_cast<void*>(static_cast<const void*>(this))); };
bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast<QModelIndex*>(&index), trigger, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast<QModelIndex*>(&index)); };
void clearSelection() { callbackQAbstractItemView_ClearSelection(this); };
void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast<QModelIndex*>(&index)); };
void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); };
void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); };
void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector<int> & roles) { callbackQAbstractItemView_DataChanged(this, const_cast<QModelIndex*>(&topLeft), const_cast<QModelIndex*>(&bottomRight), ({ QVector<int>* tmpValue = const_cast<QVector<int>*>(&roles); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })); };
void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast<QModelIndex*>(&index)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast<QModelIndex*>(&index)); };
void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); };
void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast<QModelIndex*>(&index)); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast<QSize*>(&size)); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyboardSearch(const QString & search) { QByteArray t3559d7 = search.toUtf8(); QtWidgets_PackedString searchPacked = { const_cast<char*>(t3559d7.prepend("WHITESPACE").constData()+10), t3559d7.size()-10 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast<QModelIndex*>(&index)); };
void reset() { callbackQAbstractItemView_Reset(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsAboutToBeRemoved(this, const_cast<QModelIndex*>(&parent), start, end); };
void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsInserted(this, const_cast<QModelIndex*>(&parent), start, end); };
void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQTableView_ScrollTo(this, const_cast<QModelIndex*>(&index), hint); };
void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); };
void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); };
void selectAll() { callbackQAbstractItemView_SelectAll(this); };
void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast<QModelIndex*>(&index)); };
void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); };
void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast<QModelIndex*>(&index)); };
void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); };
QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast<QItemSelectionModel::SelectionFlag>(callbackQAbstractItemView_SelectionCommand(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index), const_cast<QEvent*>(event))); };
QRect visualRect(const QModelIndex & index) const { return *static_cast<QRect*>(callbackQTableView_VisualRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast<QRegion*>(callbackQTableView_VisualRegionForSelection(const_cast<void*>(static_cast<const void*>(this)), const_cast<QItemSelection*>(&selection))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QTableView_MoveCursor(void* ptr, long long cursorAction, long long modifiers)
{
return new QModelIndex(static_cast<QTableView*>(ptr)->moveCursor(static_cast<QAbstractItemView::CursorAction>(cursorAction), static_cast<Qt::KeyboardModifier>(modifiers)));
}
void* QTableView_MoveCursorDefault(void* ptr, long long cursorAction, long long modifiers)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return new QModelIndex(static_cast<QTableWidget*>(ptr)->QTableWidget::moveCursor(static_cast<QAbstractItemView::CursorAction>(cursorAction), static_cast<Qt::KeyboardModifier>(modifiers)));
} else {
return new QModelIndex(static_cast<QTableView*>(ptr)->QTableView::moveCursor(static_cast<QAbstractItemView::CursorAction>(cursorAction), static_cast<Qt::KeyboardModifier>(modifiers)));
}
}
void* QTableView_NewQTableView(void* parent)
{
return new MyQTableView(static_cast<QWidget*>(parent));
}
void QTableView_ClearSpans(void* ptr)
{
static_cast<QTableView*>(ptr)->clearSpans();
}
void QTableView_ColumnCountChanged(void* ptr, int oldCount, int newCount)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "columnCountChanged", Q_ARG(int, oldCount), Q_ARG(int, newCount));
}
void QTableView_ColumnCountChangedDefault(void* ptr, int oldCount, int newCount)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::columnCountChanged(oldCount, newCount);
} else {
static_cast<QTableView*>(ptr)->QTableView::columnCountChanged(oldCount, newCount);
}
}
void QTableView_ColumnMoved(void* ptr, int column, int oldIndex, int newIndex)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "columnMoved", Q_ARG(int, column), Q_ARG(int, oldIndex), Q_ARG(int, newIndex));
}
void QTableView_ColumnMovedDefault(void* ptr, int column, int oldIndex, int newIndex)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::columnMoved(column, oldIndex, newIndex);
} else {
static_cast<QTableView*>(ptr)->QTableView::columnMoved(column, oldIndex, newIndex);
}
}
void QTableView_ColumnResized(void* ptr, int column, int oldWidth, int newWidth)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "columnResized", Q_ARG(int, column), Q_ARG(int, oldWidth), Q_ARG(int, newWidth));
}
void QTableView_ColumnResizedDefault(void* ptr, int column, int oldWidth, int newWidth)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::columnResized(column, oldWidth, newWidth);
} else {
static_cast<QTableView*>(ptr)->QTableView::columnResized(column, oldWidth, newWidth);
}
}
void QTableView_CurrentChanged(void* ptr, void* current, void* previous)
{
static_cast<QTableView*>(ptr)->currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
}
void QTableView_CurrentChangedDefault(void* ptr, void* current, void* previous)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
} else {
static_cast<QTableView*>(ptr)->QTableView::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
}
}
void QTableView_HideColumn(void* ptr, int column)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "hideColumn", Q_ARG(int, column));
}
void QTableView_HideColumnDefault(void* ptr, int column)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::hideColumn(column);
} else {
static_cast<QTableView*>(ptr)->QTableView::hideColumn(column);
}
}
void QTableView_HideRow(void* ptr, int row)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "hideRow", Q_ARG(int, row));
}
void QTableView_HideRowDefault(void* ptr, int row)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::hideRow(row);
} else {
static_cast<QTableView*>(ptr)->QTableView::hideRow(row);
}
}
void QTableView_ResizeColumnToContents(void* ptr, int column)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "resizeColumnToContents", Q_ARG(int, column));
}
void QTableView_ResizeColumnToContentsDefault(void* ptr, int column)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::resizeColumnToContents(column);
} else {
static_cast<QTableView*>(ptr)->QTableView::resizeColumnToContents(column);
}
}
void QTableView_ResizeColumnsToContents(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "resizeColumnsToContents");
}
void QTableView_ResizeColumnsToContentsDefault(void* ptr)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::resizeColumnsToContents();
} else {
static_cast<QTableView*>(ptr)->QTableView::resizeColumnsToContents();
}
}
void QTableView_ResizeRowToContents(void* ptr, int row)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "resizeRowToContents", Q_ARG(int, row));
}
void QTableView_ResizeRowToContentsDefault(void* ptr, int row)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::resizeRowToContents(row);
} else {
static_cast<QTableView*>(ptr)->QTableView::resizeRowToContents(row);
}
}
void QTableView_ResizeRowsToContents(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "resizeRowsToContents");
}
void QTableView_ResizeRowsToContentsDefault(void* ptr)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::resizeRowsToContents();
} else {
static_cast<QTableView*>(ptr)->QTableView::resizeRowsToContents();
}
}
void QTableView_RowCountChanged(void* ptr, int oldCount, int newCount)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "rowCountChanged", Q_ARG(int, oldCount), Q_ARG(int, newCount));
}
void QTableView_RowCountChangedDefault(void* ptr, int oldCount, int newCount)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::rowCountChanged(oldCount, newCount);
} else {
static_cast<QTableView*>(ptr)->QTableView::rowCountChanged(oldCount, newCount);
}
}
void QTableView_RowMoved(void* ptr, int row, int oldIndex, int newIndex)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "rowMoved", Q_ARG(int, row), Q_ARG(int, oldIndex), Q_ARG(int, newIndex));
}
void QTableView_RowMovedDefault(void* ptr, int row, int oldIndex, int newIndex)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::rowMoved(row, oldIndex, newIndex);
} else {
static_cast<QTableView*>(ptr)->QTableView::rowMoved(row, oldIndex, newIndex);
}
}
void QTableView_RowResized(void* ptr, int row, int oldHeight, int newHeight)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "rowResized", Q_ARG(int, row), Q_ARG(int, oldHeight), Q_ARG(int, newHeight));
}
void QTableView_RowResizedDefault(void* ptr, int row, int oldHeight, int newHeight)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::rowResized(row, oldHeight, newHeight);
} else {
static_cast<QTableView*>(ptr)->QTableView::rowResized(row, oldHeight, newHeight);
}
}
void QTableView_SelectColumn(void* ptr, int column)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "selectColumn", Q_ARG(int, column));
}
void QTableView_SelectColumnDefault(void* ptr, int column)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::selectColumn(column);
} else {
static_cast<QTableView*>(ptr)->QTableView::selectColumn(column);
}
}
void QTableView_SelectRow(void* ptr, int row)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "selectRow", Q_ARG(int, row));
}
void QTableView_SelectRowDefault(void* ptr, int row)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::selectRow(row);
} else {
static_cast<QTableView*>(ptr)->QTableView::selectRow(row);
}
}
void QTableView_SelectionChanged(void* ptr, void* selected, void* deselected)
{
static_cast<QTableView*>(ptr)->selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
}
void QTableView_SelectionChangedDefault(void* ptr, void* selected, void* deselected)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
} else {
static_cast<QTableView*>(ptr)->QTableView::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
}
}
void QTableView_SetColumnHidden(void* ptr, int column, char hide)
{
static_cast<QTableView*>(ptr)->setColumnHidden(column, hide != 0);
}
void QTableView_SetColumnWidth(void* ptr, int column, int width)
{
static_cast<QTableView*>(ptr)->setColumnWidth(column, width);
}
void QTableView_SetCornerButtonEnabled(void* ptr, char enable)
{
static_cast<QTableView*>(ptr)->setCornerButtonEnabled(enable != 0);
}
void QTableView_SetGridStyle(void* ptr, long long style)
{
static_cast<QTableView*>(ptr)->setGridStyle(static_cast<Qt::PenStyle>(style));
}
void QTableView_SetHorizontalHeader(void* ptr, void* header)
{
static_cast<QTableView*>(ptr)->setHorizontalHeader(static_cast<QHeaderView*>(header));
}
void QTableView_SetRootIndex(void* ptr, void* index)
{
static_cast<QTableView*>(ptr)->setRootIndex(*static_cast<QModelIndex*>(index));
}
void QTableView_SetRootIndexDefault(void* ptr, void* index)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setRootIndex(*static_cast<QModelIndex*>(index));
} else {
static_cast<QTableView*>(ptr)->QTableView::setRootIndex(*static_cast<QModelIndex*>(index));
}
}
void QTableView_SetRowHeight(void* ptr, int row, int height)
{
static_cast<QTableView*>(ptr)->setRowHeight(row, height);
}
void QTableView_SetRowHidden(void* ptr, int row, char hide)
{
static_cast<QTableView*>(ptr)->setRowHidden(row, hide != 0);
}
void QTableView_SetSelection(void* ptr, void* rect, long long flags)
{
static_cast<QTableView*>(ptr)->setSelection(*static_cast<QRect*>(rect), static_cast<QItemSelectionModel::SelectionFlag>(flags));
}
void QTableView_SetSelectionDefault(void* ptr, void* rect, long long flags)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setSelection(*static_cast<QRect*>(rect), static_cast<QItemSelectionModel::SelectionFlag>(flags));
} else {
static_cast<QTableView*>(ptr)->QTableView::setSelection(*static_cast<QRect*>(rect), static_cast<QItemSelectionModel::SelectionFlag>(flags));
}
}
void QTableView_SetShowGrid(void* ptr, char show)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "setShowGrid", Q_ARG(bool, show != 0));
}
void QTableView_SetShowGridDefault(void* ptr, char show)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setShowGrid(show != 0);
} else {
static_cast<QTableView*>(ptr)->QTableView::setShowGrid(show != 0);
}
}
void QTableView_SetSortingEnabled(void* ptr, char enable)
{
static_cast<QTableView*>(ptr)->setSortingEnabled(enable != 0);
}
void QTableView_SetSpan(void* ptr, int row, int column, int rowSpanCount, int columnSpanCount)
{
static_cast<QTableView*>(ptr)->setSpan(row, column, rowSpanCount, columnSpanCount);
}
void QTableView_SetVerticalHeader(void* ptr, void* header)
{
static_cast<QTableView*>(ptr)->setVerticalHeader(static_cast<QHeaderView*>(header));
}
void QTableView_SetWordWrap(void* ptr, char on)
{
static_cast<QTableView*>(ptr)->setWordWrap(on != 0);
}
void QTableView_ShowColumn(void* ptr, int column)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "showColumn", Q_ARG(int, column));
}
void QTableView_ShowColumnDefault(void* ptr, int column)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::showColumn(column);
} else {
static_cast<QTableView*>(ptr)->QTableView::showColumn(column);
}
}
void QTableView_ShowRow(void* ptr, int row)
{
QMetaObject::invokeMethod(static_cast<QTableView*>(ptr), "showRow", Q_ARG(int, row));
}
void QTableView_ShowRowDefault(void* ptr, int row)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::showRow(row);
} else {
static_cast<QTableView*>(ptr)->QTableView::showRow(row);
}
}
void QTableView_SortByColumn(void* ptr, int column, long long order)
{
static_cast<QTableView*>(ptr)->sortByColumn(column, static_cast<Qt::SortOrder>(order));
}
void QTableView_UpdateGeometries(void* ptr)
{
static_cast<QTableView*>(ptr)->updateGeometries();
}
void QTableView_UpdateGeometriesDefault(void* ptr)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::updateGeometries();
} else {
static_cast<QTableView*>(ptr)->QTableView::updateGeometries();
}
}
void QTableView_DestroyQTableView(void* ptr)
{
static_cast<QTableView*>(ptr)->~QTableView();
}
void* QTableView_HorizontalHeader(void* ptr)
{
return static_cast<QTableView*>(ptr)->horizontalHeader();
}
void* QTableView_VerticalHeader(void* ptr)
{
return static_cast<QTableView*>(ptr)->verticalHeader();
}
void* QTableView_IndexAt(void* ptr, void* pos)
{
return new QModelIndex(static_cast<QTableView*>(ptr)->indexAt(*static_cast<QPoint*>(pos)));
}
void* QTableView_IndexAtDefault(void* ptr, void* pos)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return new QModelIndex(static_cast<QTableWidget*>(ptr)->QTableWidget::indexAt(*static_cast<QPoint*>(pos)));
} else {
return new QModelIndex(static_cast<QTableView*>(ptr)->QTableView::indexAt(*static_cast<QPoint*>(pos)));
}
}
long long QTableView_GridStyle(void* ptr)
{
return static_cast<QTableView*>(ptr)->gridStyle();
}
char QTableView_IsColumnHidden(void* ptr, int column)
{
return static_cast<QTableView*>(ptr)->isColumnHidden(column);
}
char QTableView_IsCornerButtonEnabled(void* ptr)
{
return static_cast<QTableView*>(ptr)->isCornerButtonEnabled();
}
char QTableView_IsIndexHidden(void* ptr, void* index)
{
return static_cast<QTableView*>(ptr)->isIndexHidden(*static_cast<QModelIndex*>(index));
}
char QTableView_IsIndexHiddenDefault(void* ptr, void* index)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::isIndexHidden(*static_cast<QModelIndex*>(index));
} else {
return static_cast<QTableView*>(ptr)->QTableView::isIndexHidden(*static_cast<QModelIndex*>(index));
}
}
char QTableView_IsRowHidden(void* ptr, int row)
{
return static_cast<QTableView*>(ptr)->isRowHidden(row);
}
char QTableView_IsSortingEnabled(void* ptr)
{
return static_cast<QTableView*>(ptr)->isSortingEnabled();
}
char QTableView_ShowGrid(void* ptr)
{
return static_cast<QTableView*>(ptr)->showGrid();
}
char QTableView_WordWrap(void* ptr)
{
return static_cast<QTableView*>(ptr)->wordWrap();
}
int QTableView_ColumnAt(void* ptr, int x)
{
return static_cast<QTableView*>(ptr)->columnAt(x);
}
int QTableView_ColumnSpan(void* ptr, int row, int column)
{
return static_cast<QTableView*>(ptr)->columnSpan(row, column);
}
int QTableView_ColumnViewportPosition(void* ptr, int column)
{
return static_cast<QTableView*>(ptr)->columnViewportPosition(column);
}
int QTableView_ColumnWidth(void* ptr, int column)
{
return static_cast<QTableView*>(ptr)->columnWidth(column);
}
int QTableView_HorizontalOffset(void* ptr)
{
return static_cast<QTableView*>(ptr)->horizontalOffset();
}
int QTableView_HorizontalOffsetDefault(void* ptr)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::horizontalOffset();
} else {
return static_cast<QTableView*>(ptr)->QTableView::horizontalOffset();
}
}
int QTableView_RowAt(void* ptr, int y)
{
return static_cast<QTableView*>(ptr)->rowAt(y);
}
int QTableView_RowHeight(void* ptr, int row)
{
return static_cast<QTableView*>(ptr)->rowHeight(row);
}
int QTableView_RowSpan(void* ptr, int row, int column)
{
return static_cast<QTableView*>(ptr)->rowSpan(row, column);
}
int QTableView_RowViewportPosition(void* ptr, int row)
{
return static_cast<QTableView*>(ptr)->rowViewportPosition(row);
}
int QTableView_VerticalOffset(void* ptr)
{
return static_cast<QTableView*>(ptr)->verticalOffset();
}
int QTableView_VerticalOffsetDefault(void* ptr)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::verticalOffset();
} else {
return static_cast<QTableView*>(ptr)->QTableView::verticalOffset();
}
}
void QTableView_ScrollTo(void* ptr, void* index, long long hint)
{
static_cast<QTableView*>(ptr)->scrollTo(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::ScrollHint>(hint));
}
void QTableView_ScrollToDefault(void* ptr, void* index, long long hint)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::scrollTo(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::ScrollHint>(hint));
} else {
static_cast<QTableView*>(ptr)->QTableView::scrollTo(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::ScrollHint>(hint));
}
}
void* QTableView_VisualRect(void* ptr, void* index)
{
return ({ QRect tmpValue = static_cast<QTableView*>(ptr)->visualRect(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QTableView_VisualRectDefault(void* ptr, void* index)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QTableWidget*>(ptr)->QTableWidget::visualRect(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRect tmpValue = static_cast<QTableView*>(ptr)->QTableView::visualRect(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QTableView_VisualRegionForSelection(void* ptr, void* selection)
{
return new QRegion(static_cast<QTableView*>(ptr)->visualRegionForSelection(*static_cast<QItemSelection*>(selection)));
}
void* QTableView_VisualRegionForSelectionDefault(void* ptr, void* selection)
{
if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return new QRegion(static_cast<QTableWidget*>(ptr)->QTableWidget::visualRegionForSelection(*static_cast<QItemSelection*>(selection)));
} else {
return new QRegion(static_cast<QTableView*>(ptr)->QTableView::visualRegionForSelection(*static_cast<QItemSelection*>(selection)));
}
}
class MyQTableWidget: public QTableWidget
{
public:
MyQTableWidget(QWidget *parent) : QTableWidget(parent) {};
MyQTableWidget(int rows, int columns, QWidget *parent) : QTableWidget(rows, columns, parent) {};
bool dropMimeData(int row, int column, const QMimeData * data, Qt::DropAction action) { return callbackQTableWidget_DropMimeData(this, row, column, const_cast<QMimeData*>(data), action) != 0; };
void Signal_CellActivated(int row, int column) { callbackQTableWidget_CellActivated(this, row, column); };
void Signal_CellChanged(int row, int column) { callbackQTableWidget_CellChanged(this, row, column); };
void Signal_CellClicked(int row, int column) { callbackQTableWidget_CellClicked(this, row, column); };
void Signal_CellDoubleClicked(int row, int column) { callbackQTableWidget_CellDoubleClicked(this, row, column); };
void Signal_CellEntered(int row, int column) { callbackQTableWidget_CellEntered(this, row, column); };
void Signal_CellPressed(int row, int column) { callbackQTableWidget_CellPressed(this, row, column); };
void clear() { callbackQTableWidget_Clear(this); };
void clearContents() { callbackQTableWidget_ClearContents(this); };
void Signal_CurrentCellChanged(int currentRow, int currentColumn, int previousRow, int previousColumn) { callbackQTableWidget_CurrentCellChanged(this, currentRow, currentColumn, previousRow, previousColumn); };
void Signal_CurrentItemChanged(QTableWidgetItem * current, QTableWidgetItem * previous) { callbackQTableWidget_CurrentItemChanged(this, current, previous); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void insertColumn(int column) { callbackQTableWidget_InsertColumn(this, column); };
void insertRow(int row) { callbackQTableWidget_InsertRow(this, row); };
void Signal_ItemActivated(QTableWidgetItem * item) { callbackQTableWidget_ItemActivated(this, item); };
void Signal_ItemChanged(QTableWidgetItem * item) { callbackQTableWidget_ItemChanged(this, item); };
void Signal_ItemClicked(QTableWidgetItem * item) { callbackQTableWidget_ItemClicked(this, item); };
void Signal_ItemDoubleClicked(QTableWidgetItem * item) { callbackQTableWidget_ItemDoubleClicked(this, item); };
void Signal_ItemEntered(QTableWidgetItem * item) { callbackQTableWidget_ItemEntered(this, item); };
void Signal_ItemPressed(QTableWidgetItem * item) { callbackQTableWidget_ItemPressed(this, item); };
void Signal_ItemSelectionChanged() { callbackQTableWidget_ItemSelectionChanged(this); };
void removeColumn(int column) { callbackQTableWidget_RemoveColumn(this, column); };
void removeRow(int row) { callbackQTableWidget_RemoveRow(this, row); };
void scrollToItem(const QTableWidgetItem * item, QAbstractItemView::ScrollHint hint) { callbackQTableWidget_ScrollToItem(this, const_cast<QTableWidgetItem*>(item), hint); };
QMimeData * mimeData(const QList<QTableWidgetItem *> items) const { return static_cast<QMimeData*>(callbackQTableWidget_MimeData(const_cast<void*>(static_cast<const void*>(this)), ({ QList<QTableWidgetItem *>* tmpValue = new QList<QTableWidgetItem *>(items); QtWidgets_PackedList { tmpValue, tmpValue->size() }; }))); };
QStringList mimeTypes() const { return QString(callbackQTableWidget_MimeTypes(const_cast<void*>(static_cast<const void*>(this)))).split("|", QString::SkipEmptyParts); };
Qt::DropActions supportedDropActions() const { return static_cast<Qt::DropAction>(callbackQTableWidget_SupportedDropActions(const_cast<void*>(static_cast<const void*>(this)))); };
QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast<QModelIndex*>(callbackQTableView_MoveCursor(this, cursorAction, modifiers)); };
void columnCountChanged(int oldCount, int newCount) { callbackQTableView_ColumnCountChanged(this, oldCount, newCount); };
void columnMoved(int column, int oldIndex, int newIndex) { callbackQTableView_ColumnMoved(this, column, oldIndex, newIndex); };
void columnResized(int column, int oldWidth, int newWidth) { callbackQTableView_ColumnResized(this, column, oldWidth, newWidth); };
void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQTableView_CurrentChanged(this, const_cast<QModelIndex*>(&current), const_cast<QModelIndex*>(&previous)); };
void hideColumn(int column) { callbackQTableView_HideColumn(this, column); };
void hideRow(int row) { callbackQTableView_HideRow(this, row); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void resizeColumnToContents(int column) { callbackQTableView_ResizeColumnToContents(this, column); };
void resizeColumnsToContents() { callbackQTableView_ResizeColumnsToContents(this); };
void resizeRowToContents(int row) { callbackQTableView_ResizeRowToContents(this, row); };
void resizeRowsToContents() { callbackQTableView_ResizeRowsToContents(this); };
void rowCountChanged(int oldCount, int newCount) { callbackQTableView_RowCountChanged(this, oldCount, newCount); };
void rowMoved(int row, int oldIndex, int newIndex) { callbackQTableView_RowMoved(this, row, oldIndex, newIndex); };
void rowResized(int row, int oldHeight, int newHeight) { callbackQTableView_RowResized(this, row, oldHeight, newHeight); };
void selectColumn(int column) { callbackQTableView_SelectColumn(this, column); };
void selectRow(int row) { callbackQTableView_SelectRow(this, row); };
void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQTableView_SelectionChanged(this, const_cast<QItemSelection*>(&selected), const_cast<QItemSelection*>(&deselected)); };
void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); };
void setRootIndex(const QModelIndex & index) { callbackQTableView_SetRootIndex(this, const_cast<QModelIndex*>(&index)); };
void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags flags) { callbackQTableView_SetSelection(this, const_cast<QRect*>(&rect), flags); };
void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); };
void setShowGrid(bool show) { callbackQTableView_SetShowGrid(this, show); };
void showColumn(int column) { callbackQTableView_ShowColumn(this, column); };
void showRow(int row) { callbackQTableView_ShowRow(this, row); };
void updateGeometries() { callbackQTableView_UpdateGeometries(this); };
QModelIndex indexAt(const QPoint & pos) const { return *static_cast<QModelIndex*>(callbackQTableView_IndexAt(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&pos))); };
QList<QModelIndex> selectedIndexes() const { return *static_cast<QList<QModelIndex>*>(callbackQAbstractItemView_SelectedIndexes(const_cast<void*>(static_cast<const void*>(this)))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QStyleOptionViewItem viewOptions() const { return *static_cast<QStyleOptionViewItem*>(callbackQAbstractItemView_ViewOptions(const_cast<void*>(static_cast<const void*>(this)))); };
bool isIndexHidden(const QModelIndex & index) const { return callbackQTableView_IsIndexHidden(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index)) != 0; };
int horizontalOffset() const { return callbackQTableView_HorizontalOffset(const_cast<void*>(static_cast<const void*>(this))); };
int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast<void*>(static_cast<const void*>(this)), column); };
int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast<void*>(static_cast<const void*>(this)), row); };
int verticalOffset() const { return callbackQTableView_VerticalOffset(const_cast<void*>(static_cast<const void*>(this))); };
bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast<QModelIndex*>(&index), trigger, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast<QModelIndex*>(&index)); };
void clearSelection() { callbackQAbstractItemView_ClearSelection(this); };
void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast<QModelIndex*>(&index)); };
void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); };
void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); };
void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector<int> & roles) { callbackQAbstractItemView_DataChanged(this, const_cast<QModelIndex*>(&topLeft), const_cast<QModelIndex*>(&bottomRight), ({ QVector<int>* tmpValue = const_cast<QVector<int>*>(&roles); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })); };
void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast<QModelIndex*>(&index)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast<QModelIndex*>(&index)); };
void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); };
void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast<QModelIndex*>(&index)); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast<QSize*>(&size)); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyboardSearch(const QString & search) { QByteArray t3559d7 = search.toUtf8(); QtWidgets_PackedString searchPacked = { const_cast<char*>(t3559d7.prepend("WHITESPACE").constData()+10), t3559d7.size()-10 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast<QModelIndex*>(&index)); };
void reset() { callbackQAbstractItemView_Reset(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsAboutToBeRemoved(this, const_cast<QModelIndex*>(&parent), start, end); };
void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsInserted(this, const_cast<QModelIndex*>(&parent), start, end); };
void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQTableView_ScrollTo(this, const_cast<QModelIndex*>(&index), hint); };
void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); };
void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); };
void selectAll() { callbackQAbstractItemView_SelectAll(this); };
void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast<QModelIndex*>(&index)); };
void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); };
void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast<QModelIndex*>(&index)); };
void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); };
QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast<QItemSelectionModel::SelectionFlag>(callbackQAbstractItemView_SelectionCommand(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index), const_cast<QEvent*>(event))); };
QRect visualRect(const QModelIndex & index) const { return *static_cast<QRect*>(callbackQTableView_VisualRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast<QRegion*>(callbackQTableView_VisualRegionForSelection(const_cast<void*>(static_cast<const void*>(this)), const_cast<QItemSelection*>(&selection))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QTableWidget_NewQTableWidget(void* parent)
{
return new MyQTableWidget(static_cast<QWidget*>(parent));
}
void* QTableWidget_NewQTableWidget2(int rows, int columns, void* parent)
{
return new MyQTableWidget(rows, columns, static_cast<QWidget*>(parent));
}
void* QTableWidget_TakeHorizontalHeaderItem(void* ptr, int column)
{
return static_cast<QTableWidget*>(ptr)->takeHorizontalHeaderItem(column);
}
void* QTableWidget_TakeItem(void* ptr, int row, int column)
{
return static_cast<QTableWidget*>(ptr)->takeItem(row, column);
}
void* QTableWidget_TakeVerticalHeaderItem(void* ptr, int row)
{
return static_cast<QTableWidget*>(ptr)->takeVerticalHeaderItem(row);
}
char QTableWidget_DropMimeData(void* ptr, int row, int column, void* data, long long action)
{
return static_cast<QTableWidget*>(ptr)->dropMimeData(row, column, static_cast<QMimeData*>(data), static_cast<Qt::DropAction>(action));
}
char QTableWidget_DropMimeDataDefault(void* ptr, int row, int column, void* data, long long action)
{
return static_cast<QTableWidget*>(ptr)->QTableWidget::dropMimeData(row, column, static_cast<QMimeData*>(data), static_cast<Qt::DropAction>(action));
}
void QTableWidget_ConnectCellActivated(void* ptr)
{
QObject::connect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(int, int)>(&QTableWidget::cellActivated), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(int, int)>(&MyQTableWidget::Signal_CellActivated));
}
void QTableWidget_DisconnectCellActivated(void* ptr)
{
QObject::disconnect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(int, int)>(&QTableWidget::cellActivated), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(int, int)>(&MyQTableWidget::Signal_CellActivated));
}
void QTableWidget_CellActivated(void* ptr, int row, int column)
{
static_cast<QTableWidget*>(ptr)->cellActivated(row, column);
}
void QTableWidget_ConnectCellChanged(void* ptr)
{
QObject::connect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(int, int)>(&QTableWidget::cellChanged), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(int, int)>(&MyQTableWidget::Signal_CellChanged));
}
void QTableWidget_DisconnectCellChanged(void* ptr)
{
QObject::disconnect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(int, int)>(&QTableWidget::cellChanged), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(int, int)>(&MyQTableWidget::Signal_CellChanged));
}
void QTableWidget_CellChanged(void* ptr, int row, int column)
{
static_cast<QTableWidget*>(ptr)->cellChanged(row, column);
}
void QTableWidget_ConnectCellClicked(void* ptr)
{
QObject::connect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(int, int)>(&QTableWidget::cellClicked), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(int, int)>(&MyQTableWidget::Signal_CellClicked));
}
void QTableWidget_DisconnectCellClicked(void* ptr)
{
QObject::disconnect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(int, int)>(&QTableWidget::cellClicked), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(int, int)>(&MyQTableWidget::Signal_CellClicked));
}
void QTableWidget_CellClicked(void* ptr, int row, int column)
{
static_cast<QTableWidget*>(ptr)->cellClicked(row, column);
}
void QTableWidget_ConnectCellDoubleClicked(void* ptr)
{
QObject::connect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(int, int)>(&QTableWidget::cellDoubleClicked), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(int, int)>(&MyQTableWidget::Signal_CellDoubleClicked));
}
void QTableWidget_DisconnectCellDoubleClicked(void* ptr)
{
QObject::disconnect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(int, int)>(&QTableWidget::cellDoubleClicked), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(int, int)>(&MyQTableWidget::Signal_CellDoubleClicked));
}
void QTableWidget_CellDoubleClicked(void* ptr, int row, int column)
{
static_cast<QTableWidget*>(ptr)->cellDoubleClicked(row, column);
}
void QTableWidget_ConnectCellEntered(void* ptr)
{
QObject::connect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(int, int)>(&QTableWidget::cellEntered), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(int, int)>(&MyQTableWidget::Signal_CellEntered));
}
void QTableWidget_DisconnectCellEntered(void* ptr)
{
QObject::disconnect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(int, int)>(&QTableWidget::cellEntered), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(int, int)>(&MyQTableWidget::Signal_CellEntered));
}
void QTableWidget_CellEntered(void* ptr, int row, int column)
{
static_cast<QTableWidget*>(ptr)->cellEntered(row, column);
}
void QTableWidget_ConnectCellPressed(void* ptr)
{
QObject::connect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(int, int)>(&QTableWidget::cellPressed), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(int, int)>(&MyQTableWidget::Signal_CellPressed));
}
void QTableWidget_DisconnectCellPressed(void* ptr)
{
QObject::disconnect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(int, int)>(&QTableWidget::cellPressed), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(int, int)>(&MyQTableWidget::Signal_CellPressed));
}
void QTableWidget_CellPressed(void* ptr, int row, int column)
{
static_cast<QTableWidget*>(ptr)->cellPressed(row, column);
}
void QTableWidget_Clear(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTableWidget*>(ptr), "clear");
}
void QTableWidget_ClearDefault(void* ptr)
{
static_cast<QTableWidget*>(ptr)->QTableWidget::clear();
}
void QTableWidget_ClearContents(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTableWidget*>(ptr), "clearContents");
}
void QTableWidget_ClearContentsDefault(void* ptr)
{
static_cast<QTableWidget*>(ptr)->QTableWidget::clearContents();
}
void QTableWidget_ClosePersistentEditor(void* ptr, void* item)
{
static_cast<QTableWidget*>(ptr)->closePersistentEditor(static_cast<QTableWidgetItem*>(item));
}
void QTableWidget_ConnectCurrentCellChanged(void* ptr)
{
QObject::connect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(int, int, int, int)>(&QTableWidget::currentCellChanged), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(int, int, int, int)>(&MyQTableWidget::Signal_CurrentCellChanged));
}
void QTableWidget_DisconnectCurrentCellChanged(void* ptr)
{
QObject::disconnect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(int, int, int, int)>(&QTableWidget::currentCellChanged), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(int, int, int, int)>(&MyQTableWidget::Signal_CurrentCellChanged));
}
void QTableWidget_CurrentCellChanged(void* ptr, int currentRow, int currentColumn, int previousRow, int previousColumn)
{
static_cast<QTableWidget*>(ptr)->currentCellChanged(currentRow, currentColumn, previousRow, previousColumn);
}
void QTableWidget_ConnectCurrentItemChanged(void* ptr)
{
QObject::connect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(QTableWidgetItem *, QTableWidgetItem *)>(&QTableWidget::currentItemChanged), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(QTableWidgetItem *, QTableWidgetItem *)>(&MyQTableWidget::Signal_CurrentItemChanged));
}
void QTableWidget_DisconnectCurrentItemChanged(void* ptr)
{
QObject::disconnect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(QTableWidgetItem *, QTableWidgetItem *)>(&QTableWidget::currentItemChanged), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(QTableWidgetItem *, QTableWidgetItem *)>(&MyQTableWidget::Signal_CurrentItemChanged));
}
void QTableWidget_CurrentItemChanged(void* ptr, void* current, void* previous)
{
static_cast<QTableWidget*>(ptr)->currentItemChanged(static_cast<QTableWidgetItem*>(current), static_cast<QTableWidgetItem*>(previous));
}
void QTableWidget_EditItem(void* ptr, void* item)
{
static_cast<QTableWidget*>(ptr)->editItem(static_cast<QTableWidgetItem*>(item));
}
void QTableWidget_InsertColumn(void* ptr, int column)
{
QMetaObject::invokeMethod(static_cast<QTableWidget*>(ptr), "insertColumn", Q_ARG(int, column));
}
void QTableWidget_InsertColumnDefault(void* ptr, int column)
{
static_cast<QTableWidget*>(ptr)->QTableWidget::insertColumn(column);
}
void QTableWidget_InsertRow(void* ptr, int row)
{
QMetaObject::invokeMethod(static_cast<QTableWidget*>(ptr), "insertRow", Q_ARG(int, row));
}
void QTableWidget_InsertRowDefault(void* ptr, int row)
{
static_cast<QTableWidget*>(ptr)->QTableWidget::insertRow(row);
}
void QTableWidget_ConnectItemActivated(void* ptr)
{
QObject::connect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(QTableWidgetItem *)>(&QTableWidget::itemActivated), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(QTableWidgetItem *)>(&MyQTableWidget::Signal_ItemActivated));
}
void QTableWidget_DisconnectItemActivated(void* ptr)
{
QObject::disconnect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(QTableWidgetItem *)>(&QTableWidget::itemActivated), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(QTableWidgetItem *)>(&MyQTableWidget::Signal_ItemActivated));
}
void QTableWidget_ItemActivated(void* ptr, void* item)
{
static_cast<QTableWidget*>(ptr)->itemActivated(static_cast<QTableWidgetItem*>(item));
}
void QTableWidget_ConnectItemChanged(void* ptr)
{
QObject::connect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(QTableWidgetItem *)>(&QTableWidget::itemChanged), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(QTableWidgetItem *)>(&MyQTableWidget::Signal_ItemChanged));
}
void QTableWidget_DisconnectItemChanged(void* ptr)
{
QObject::disconnect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(QTableWidgetItem *)>(&QTableWidget::itemChanged), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(QTableWidgetItem *)>(&MyQTableWidget::Signal_ItemChanged));
}
void QTableWidget_ItemChanged(void* ptr, void* item)
{
static_cast<QTableWidget*>(ptr)->itemChanged(static_cast<QTableWidgetItem*>(item));
}
void QTableWidget_ConnectItemClicked(void* ptr)
{
QObject::connect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(QTableWidgetItem *)>(&QTableWidget::itemClicked), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(QTableWidgetItem *)>(&MyQTableWidget::Signal_ItemClicked));
}
void QTableWidget_DisconnectItemClicked(void* ptr)
{
QObject::disconnect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(QTableWidgetItem *)>(&QTableWidget::itemClicked), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(QTableWidgetItem *)>(&MyQTableWidget::Signal_ItemClicked));
}
void QTableWidget_ItemClicked(void* ptr, void* item)
{
static_cast<QTableWidget*>(ptr)->itemClicked(static_cast<QTableWidgetItem*>(item));
}
void QTableWidget_ConnectItemDoubleClicked(void* ptr)
{
QObject::connect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(QTableWidgetItem *)>(&QTableWidget::itemDoubleClicked), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(QTableWidgetItem *)>(&MyQTableWidget::Signal_ItemDoubleClicked));
}
void QTableWidget_DisconnectItemDoubleClicked(void* ptr)
{
QObject::disconnect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(QTableWidgetItem *)>(&QTableWidget::itemDoubleClicked), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(QTableWidgetItem *)>(&MyQTableWidget::Signal_ItemDoubleClicked));
}
void QTableWidget_ItemDoubleClicked(void* ptr, void* item)
{
static_cast<QTableWidget*>(ptr)->itemDoubleClicked(static_cast<QTableWidgetItem*>(item));
}
void QTableWidget_ConnectItemEntered(void* ptr)
{
QObject::connect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(QTableWidgetItem *)>(&QTableWidget::itemEntered), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(QTableWidgetItem *)>(&MyQTableWidget::Signal_ItemEntered));
}
void QTableWidget_DisconnectItemEntered(void* ptr)
{
QObject::disconnect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(QTableWidgetItem *)>(&QTableWidget::itemEntered), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(QTableWidgetItem *)>(&MyQTableWidget::Signal_ItemEntered));
}
void QTableWidget_ItemEntered(void* ptr, void* item)
{
static_cast<QTableWidget*>(ptr)->itemEntered(static_cast<QTableWidgetItem*>(item));
}
void QTableWidget_ConnectItemPressed(void* ptr)
{
QObject::connect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(QTableWidgetItem *)>(&QTableWidget::itemPressed), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(QTableWidgetItem *)>(&MyQTableWidget::Signal_ItemPressed));
}
void QTableWidget_DisconnectItemPressed(void* ptr)
{
QObject::disconnect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)(QTableWidgetItem *)>(&QTableWidget::itemPressed), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)(QTableWidgetItem *)>(&MyQTableWidget::Signal_ItemPressed));
}
void QTableWidget_ItemPressed(void* ptr, void* item)
{
static_cast<QTableWidget*>(ptr)->itemPressed(static_cast<QTableWidgetItem*>(item));
}
void QTableWidget_ConnectItemSelectionChanged(void* ptr)
{
QObject::connect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)()>(&QTableWidget::itemSelectionChanged), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)()>(&MyQTableWidget::Signal_ItemSelectionChanged));
}
void QTableWidget_DisconnectItemSelectionChanged(void* ptr)
{
QObject::disconnect(static_cast<QTableWidget*>(ptr), static_cast<void (QTableWidget::*)()>(&QTableWidget::itemSelectionChanged), static_cast<MyQTableWidget*>(ptr), static_cast<void (MyQTableWidget::*)()>(&MyQTableWidget::Signal_ItemSelectionChanged));
}
void QTableWidget_ItemSelectionChanged(void* ptr)
{
static_cast<QTableWidget*>(ptr)->itemSelectionChanged();
}
void QTableWidget_OpenPersistentEditor(void* ptr, void* item)
{
static_cast<QTableWidget*>(ptr)->openPersistentEditor(static_cast<QTableWidgetItem*>(item));
}
void QTableWidget_RemoveCellWidget(void* ptr, int row, int column)
{
static_cast<QTableWidget*>(ptr)->removeCellWidget(row, column);
}
void QTableWidget_RemoveColumn(void* ptr, int column)
{
QMetaObject::invokeMethod(static_cast<QTableWidget*>(ptr), "removeColumn", Q_ARG(int, column));
}
void QTableWidget_RemoveColumnDefault(void* ptr, int column)
{
static_cast<QTableWidget*>(ptr)->QTableWidget::removeColumn(column);
}
void QTableWidget_RemoveRow(void* ptr, int row)
{
QMetaObject::invokeMethod(static_cast<QTableWidget*>(ptr), "removeRow", Q_ARG(int, row));
}
void QTableWidget_RemoveRowDefault(void* ptr, int row)
{
static_cast<QTableWidget*>(ptr)->QTableWidget::removeRow(row);
}
void QTableWidget_ScrollToItem(void* ptr, void* item, long long hint)
{
QMetaObject::invokeMethod(static_cast<QTableWidget*>(ptr), "scrollToItem", Q_ARG(QTableWidgetItem*, static_cast<QTableWidgetItem*>(item)), Q_ARG(QAbstractItemView::ScrollHint, static_cast<QAbstractItemView::ScrollHint>(hint)));
}
void QTableWidget_ScrollToItemDefault(void* ptr, void* item, long long hint)
{
static_cast<QTableWidget*>(ptr)->QTableWidget::scrollToItem(static_cast<QTableWidgetItem*>(item), static_cast<QAbstractItemView::ScrollHint>(hint));
}
void QTableWidget_SetCellWidget(void* ptr, int row, int column, void* widget)
{
static_cast<QTableWidget*>(ptr)->setCellWidget(row, column, static_cast<QWidget*>(widget));
}
void QTableWidget_SetColumnCount(void* ptr, int columns)
{
static_cast<QTableWidget*>(ptr)->setColumnCount(columns);
}
void QTableWidget_SetCurrentCell(void* ptr, int row, int column)
{
static_cast<QTableWidget*>(ptr)->setCurrentCell(row, column);
}
void QTableWidget_SetCurrentCell2(void* ptr, int row, int column, long long command)
{
static_cast<QTableWidget*>(ptr)->setCurrentCell(row, column, static_cast<QItemSelectionModel::SelectionFlag>(command));
}
void QTableWidget_SetCurrentItem(void* ptr, void* item)
{
static_cast<QTableWidget*>(ptr)->setCurrentItem(static_cast<QTableWidgetItem*>(item));
}
void QTableWidget_SetCurrentItem2(void* ptr, void* item, long long command)
{
static_cast<QTableWidget*>(ptr)->setCurrentItem(static_cast<QTableWidgetItem*>(item), static_cast<QItemSelectionModel::SelectionFlag>(command));
}
void QTableWidget_SetHorizontalHeaderItem(void* ptr, int column, void* item)
{
static_cast<QTableWidget*>(ptr)->setHorizontalHeaderItem(column, static_cast<QTableWidgetItem*>(item));
}
void QTableWidget_SetHorizontalHeaderLabels(void* ptr, char* labels)
{
static_cast<QTableWidget*>(ptr)->setHorizontalHeaderLabels(QString(labels).split("|", QString::SkipEmptyParts));
}
void QTableWidget_SetItem(void* ptr, int row, int column, void* item)
{
static_cast<QTableWidget*>(ptr)->setItem(row, column, static_cast<QTableWidgetItem*>(item));
}
void QTableWidget_SetItemPrototype(void* ptr, void* item)
{
static_cast<QTableWidget*>(ptr)->setItemPrototype(static_cast<QTableWidgetItem*>(item));
}
void QTableWidget_SetRangeSelected(void* ptr, void* ran, char sele)
{
static_cast<QTableWidget*>(ptr)->setRangeSelected(*static_cast<QTableWidgetSelectionRange*>(ran), sele != 0);
}
void QTableWidget_SetRowCount(void* ptr, int rows)
{
static_cast<QTableWidget*>(ptr)->setRowCount(rows);
}
void QTableWidget_SetVerticalHeaderItem(void* ptr, int row, void* item)
{
static_cast<QTableWidget*>(ptr)->setVerticalHeaderItem(row, static_cast<QTableWidgetItem*>(item));
}
void QTableWidget_SetVerticalHeaderLabels(void* ptr, char* labels)
{
static_cast<QTableWidget*>(ptr)->setVerticalHeaderLabels(QString(labels).split("|", QString::SkipEmptyParts));
}
void QTableWidget_SortItems(void* ptr, int column, long long order)
{
static_cast<QTableWidget*>(ptr)->sortItems(column, static_cast<Qt::SortOrder>(order));
}
void QTableWidget_DestroyQTableWidget(void* ptr)
{
static_cast<QTableWidget*>(ptr)->~QTableWidget();
}
struct QtWidgets_PackedList QTableWidget_FindItems(void* ptr, char* text, long long flags)
{
return ({ QList<QTableWidgetItem *>* tmpValue = new QList<QTableWidgetItem *>(static_cast<QTableWidget*>(ptr)->findItems(QString(text), static_cast<Qt::MatchFlag>(flags))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QTableWidget_Items(void* ptr, void* data)
{
return ({ QList<QTableWidgetItem *>* tmpValue = new QList<QTableWidgetItem *>(static_cast<QTableWidget*>(ptr)->items(static_cast<QMimeData*>(data))); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QTableWidget_SelectedItems(void* ptr)
{
return ({ QList<QTableWidgetItem *>* tmpValue = new QList<QTableWidgetItem *>(static_cast<QTableWidget*>(ptr)->selectedItems()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QTableWidget_SelectedRanges(void* ptr)
{
return ({ QList<QTableWidgetSelectionRange>* tmpValue = new QList<QTableWidgetSelectionRange>(static_cast<QTableWidget*>(ptr)->selectedRanges()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QTableWidget_MimeData(void* ptr, void* items)
{
return static_cast<QTableWidget*>(ptr)->mimeData(*static_cast<QList<QTableWidgetItem *>*>(items));
}
void* QTableWidget_MimeDataDefault(void* ptr, void* items)
{
return static_cast<QTableWidget*>(ptr)->QTableWidget::mimeData(*static_cast<QList<QTableWidgetItem *>*>(items));
}
void* QTableWidget_IndexFromItem(void* ptr, void* item)
{
return new QModelIndex(static_cast<QTableWidget*>(ptr)->indexFromItem(static_cast<QTableWidgetItem*>(item)));
}
void* QTableWidget_VisualItemRect(void* ptr, void* item)
{
return ({ QRect tmpValue = static_cast<QTableWidget*>(ptr)->visualItemRect(static_cast<QTableWidgetItem*>(item)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QTableWidget_MimeTypes(void* ptr)
{
return ({ QByteArray t94a601 = static_cast<QTableWidget*>(ptr)->mimeTypes().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t94a601.prepend("WHITESPACE").constData()+10), t94a601.size()-10 }; });
}
struct QtWidgets_PackedString QTableWidget_MimeTypesDefault(void* ptr)
{
return ({ QByteArray t43ec64 = static_cast<QTableWidget*>(ptr)->QTableWidget::mimeTypes().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t43ec64.prepend("WHITESPACE").constData()+10), t43ec64.size()-10 }; });
}
void* QTableWidget_CurrentItem(void* ptr)
{
return static_cast<QTableWidget*>(ptr)->currentItem();
}
void* QTableWidget_HorizontalHeaderItem(void* ptr, int column)
{
return static_cast<QTableWidget*>(ptr)->horizontalHeaderItem(column);
}
void* QTableWidget_Item(void* ptr, int row, int column)
{
return static_cast<QTableWidget*>(ptr)->item(row, column);
}
void* QTableWidget_ItemAt(void* ptr, void* point)
{
return static_cast<QTableWidget*>(ptr)->itemAt(*static_cast<QPoint*>(point));
}
void* QTableWidget_ItemAt2(void* ptr, int ax, int ay)
{
return static_cast<QTableWidget*>(ptr)->itemAt(ax, ay);
}
void* QTableWidget_ItemFromIndex(void* ptr, void* index)
{
return static_cast<QTableWidget*>(ptr)->itemFromIndex(*static_cast<QModelIndex*>(index));
}
void* QTableWidget_VerticalHeaderItem(void* ptr, int row)
{
return static_cast<QTableWidget*>(ptr)->verticalHeaderItem(row);
}
void* QTableWidget_CellWidget(void* ptr, int row, int column)
{
return static_cast<QTableWidget*>(ptr)->cellWidget(row, column);
}
long long QTableWidget_SupportedDropActions(void* ptr)
{
return static_cast<QTableWidget*>(ptr)->supportedDropActions();
}
long long QTableWidget_SupportedDropActionsDefault(void* ptr)
{
return static_cast<QTableWidget*>(ptr)->QTableWidget::supportedDropActions();
}
void* QTableWidget_ItemPrototype(void* ptr)
{
return const_cast<QTableWidgetItem*>(static_cast<QTableWidget*>(ptr)->itemPrototype());
}
int QTableWidget_Column(void* ptr, void* item)
{
return static_cast<QTableWidget*>(ptr)->column(static_cast<QTableWidgetItem*>(item));
}
int QTableWidget_ColumnCount(void* ptr)
{
return static_cast<QTableWidget*>(ptr)->columnCount();
}
int QTableWidget_CurrentColumn(void* ptr)
{
return static_cast<QTableWidget*>(ptr)->currentColumn();
}
int QTableWidget_CurrentRow(void* ptr)
{
return static_cast<QTableWidget*>(ptr)->currentRow();
}
int QTableWidget_Row(void* ptr, void* item)
{
return static_cast<QTableWidget*>(ptr)->row(static_cast<QTableWidgetItem*>(item));
}
int QTableWidget_RowCount(void* ptr)
{
return static_cast<QTableWidget*>(ptr)->rowCount();
}
int QTableWidget_VisualColumn(void* ptr, int logicalColumn)
{
return static_cast<QTableWidget*>(ptr)->visualColumn(logicalColumn);
}
int QTableWidget_VisualRow(void* ptr, int logicalRow)
{
return static_cast<QTableWidget*>(ptr)->visualRow(logicalRow);
}
void* QTableWidget___findItems_atList(void* ptr, int i)
{
return const_cast<QTableWidgetItem*>(static_cast<QList<QTableWidgetItem *>*>(ptr)->at(i));
}
void QTableWidget___findItems_setList(void* ptr, void* i)
{
static_cast<QList<QTableWidgetItem *>*>(ptr)->append(static_cast<QTableWidgetItem*>(i));
}
void* QTableWidget___findItems_newList(void* ptr)
{
return new QList<QTableWidgetItem *>;
}
void* QTableWidget___items_atList(void* ptr, int i)
{
return const_cast<QTableWidgetItem*>(static_cast<QList<QTableWidgetItem *>*>(ptr)->at(i));
}
void QTableWidget___items_setList(void* ptr, void* i)
{
static_cast<QList<QTableWidgetItem *>*>(ptr)->append(static_cast<QTableWidgetItem*>(i));
}
void* QTableWidget___items_newList(void* ptr)
{
return new QList<QTableWidgetItem *>;
}
void* QTableWidget___selectedItems_atList(void* ptr, int i)
{
return const_cast<QTableWidgetItem*>(static_cast<QList<QTableWidgetItem *>*>(ptr)->at(i));
}
void QTableWidget___selectedItems_setList(void* ptr, void* i)
{
static_cast<QList<QTableWidgetItem *>*>(ptr)->append(static_cast<QTableWidgetItem*>(i));
}
void* QTableWidget___selectedItems_newList(void* ptr)
{
return new QList<QTableWidgetItem *>;
}
void* QTableWidget___selectedRanges_atList(void* ptr, int i)
{
return new QTableWidgetSelectionRange(static_cast<QList<QTableWidgetSelectionRange>*>(ptr)->at(i));
}
void QTableWidget___selectedRanges_setList(void* ptr, void* i)
{
static_cast<QList<QTableWidgetSelectionRange>*>(ptr)->append(*static_cast<QTableWidgetSelectionRange*>(i));
}
void* QTableWidget___selectedRanges_newList(void* ptr)
{
return new QList<QTableWidgetSelectionRange>;
}
void* QTableWidget___mimeData_items_atList(void* ptr, int i)
{
return const_cast<QTableWidgetItem*>(static_cast<QList<QTableWidgetItem *>*>(ptr)->at(i));
}
void QTableWidget___mimeData_items_setList(void* ptr, void* i)
{
static_cast<QList<QTableWidgetItem *>*>(ptr)->append(static_cast<QTableWidgetItem*>(i));
}
void* QTableWidget___mimeData_items_newList(void* ptr)
{
return new QList<QTableWidgetItem *>;
}
class MyQTableWidgetItem: public QTableWidgetItem
{
public:
MyQTableWidgetItem(const QIcon &icon, const QString &text, int type) : QTableWidgetItem(icon, text, type) {};
MyQTableWidgetItem(const QString &text, int type) : QTableWidgetItem(text, type) {};
MyQTableWidgetItem(const QTableWidgetItem &other) : QTableWidgetItem(other) {};
MyQTableWidgetItem(int type) : QTableWidgetItem(type) {};
void read(QDataStream & in) { callbackQTableWidgetItem_Read(this, static_cast<QDataStream*>(&in)); };
void setData(int role, const QVariant & value) { callbackQTableWidgetItem_SetData(this, role, const_cast<QVariant*>(&value)); };
~MyQTableWidgetItem() { callbackQTableWidgetItem_DestroyQTableWidgetItem(this); };
QTableWidgetItem * clone() const { return static_cast<QTableWidgetItem*>(callbackQTableWidgetItem_Clone(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant data(int role) const { return *static_cast<QVariant*>(callbackQTableWidgetItem_Data(const_cast<void*>(static_cast<const void*>(this)), role)); };
void write(QDataStream & out) const { callbackQTableWidgetItem_Write(const_cast<void*>(static_cast<const void*>(this)), static_cast<QDataStream*>(&out)); };
};
void QTableWidgetItem_SetFlags(void* ptr, long long flags)
{
static_cast<QTableWidgetItem*>(ptr)->setFlags(static_cast<Qt::ItemFlag>(flags));
}
void* QTableWidgetItem_NewQTableWidgetItem3(void* icon, char* text, int ty)
{
return new MyQTableWidgetItem(*static_cast<QIcon*>(icon), QString(text), ty);
}
void* QTableWidgetItem_NewQTableWidgetItem2(char* text, int ty)
{
return new MyQTableWidgetItem(QString(text), ty);
}
void* QTableWidgetItem_NewQTableWidgetItem4(void* other)
{
return new MyQTableWidgetItem(*static_cast<QTableWidgetItem*>(other));
}
void* QTableWidgetItem_NewQTableWidgetItem(int ty)
{
return new MyQTableWidgetItem(ty);
}
void QTableWidgetItem_Read(void* ptr, void* in)
{
static_cast<QTableWidgetItem*>(ptr)->read(*static_cast<QDataStream*>(in));
}
void QTableWidgetItem_ReadDefault(void* ptr, void* in)
{
static_cast<QTableWidgetItem*>(ptr)->QTableWidgetItem::read(*static_cast<QDataStream*>(in));
}
void QTableWidgetItem_SetBackground(void* ptr, void* brush)
{
static_cast<QTableWidgetItem*>(ptr)->setBackground(*static_cast<QBrush*>(brush));
}
void QTableWidgetItem_SetCheckState(void* ptr, long long state)
{
static_cast<QTableWidgetItem*>(ptr)->setCheckState(static_cast<Qt::CheckState>(state));
}
void QTableWidgetItem_SetData(void* ptr, int role, void* value)
{
static_cast<QTableWidgetItem*>(ptr)->setData(role, *static_cast<QVariant*>(value));
}
void QTableWidgetItem_SetDataDefault(void* ptr, int role, void* value)
{
static_cast<QTableWidgetItem*>(ptr)->QTableWidgetItem::setData(role, *static_cast<QVariant*>(value));
}
void QTableWidgetItem_SetFont(void* ptr, void* font)
{
static_cast<QTableWidgetItem*>(ptr)->setFont(*static_cast<QFont*>(font));
}
void QTableWidgetItem_SetForeground(void* ptr, void* brush)
{
static_cast<QTableWidgetItem*>(ptr)->setForeground(*static_cast<QBrush*>(brush));
}
void QTableWidgetItem_SetIcon(void* ptr, void* icon)
{
static_cast<QTableWidgetItem*>(ptr)->setIcon(*static_cast<QIcon*>(icon));
}
void QTableWidgetItem_SetSelected(void* ptr, char sele)
{
static_cast<QTableWidgetItem*>(ptr)->setSelected(sele != 0);
}
void QTableWidgetItem_SetSizeHint(void* ptr, void* size)
{
static_cast<QTableWidgetItem*>(ptr)->setSizeHint(*static_cast<QSize*>(size));
}
void QTableWidgetItem_SetStatusTip(void* ptr, char* statusTip)
{
static_cast<QTableWidgetItem*>(ptr)->setStatusTip(QString(statusTip));
}
void QTableWidgetItem_SetText(void* ptr, char* text)
{
static_cast<QTableWidgetItem*>(ptr)->setText(QString(text));
}
void QTableWidgetItem_SetTextAlignment(void* ptr, int alignment)
{
static_cast<QTableWidgetItem*>(ptr)->setTextAlignment(alignment);
}
void QTableWidgetItem_SetToolTip(void* ptr, char* toolTip)
{
static_cast<QTableWidgetItem*>(ptr)->setToolTip(QString(toolTip));
}
void QTableWidgetItem_SetWhatsThis(void* ptr, char* whatsThis)
{
static_cast<QTableWidgetItem*>(ptr)->setWhatsThis(QString(whatsThis));
}
void QTableWidgetItem_DestroyQTableWidgetItem(void* ptr)
{
static_cast<QTableWidgetItem*>(ptr)->~QTableWidgetItem();
}
void QTableWidgetItem_DestroyQTableWidgetItemDefault(void* ptr)
{
}
void* QTableWidgetItem_Background(void* ptr)
{
return new QBrush(static_cast<QTableWidgetItem*>(ptr)->background());
}
void* QTableWidgetItem_Foreground(void* ptr)
{
return new QBrush(static_cast<QTableWidgetItem*>(ptr)->foreground());
}
void* QTableWidgetItem_Font(void* ptr)
{
return new QFont(static_cast<QTableWidgetItem*>(ptr)->font());
}
void* QTableWidgetItem_Icon(void* ptr)
{
return new QIcon(static_cast<QTableWidgetItem*>(ptr)->icon());
}
void* QTableWidgetItem_SizeHint(void* ptr)
{
return ({ QSize tmpValue = static_cast<QTableWidgetItem*>(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QTableWidgetItem_StatusTip(void* ptr)
{
return ({ QByteArray t934149 = static_cast<QTableWidgetItem*>(ptr)->statusTip().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t934149.prepend("WHITESPACE").constData()+10), t934149.size()-10 }; });
}
struct QtWidgets_PackedString QTableWidgetItem_Text(void* ptr)
{
return ({ QByteArray tbdfc6c = static_cast<QTableWidgetItem*>(ptr)->text().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tbdfc6c.prepend("WHITESPACE").constData()+10), tbdfc6c.size()-10 }; });
}
struct QtWidgets_PackedString QTableWidgetItem_ToolTip(void* ptr)
{
return ({ QByteArray t8fa9fe = static_cast<QTableWidgetItem*>(ptr)->toolTip().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t8fa9fe.prepend("WHITESPACE").constData()+10), t8fa9fe.size()-10 }; });
}
struct QtWidgets_PackedString QTableWidgetItem_WhatsThis(void* ptr)
{
return ({ QByteArray t4664fc = static_cast<QTableWidgetItem*>(ptr)->whatsThis().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t4664fc.prepend("WHITESPACE").constData()+10), t4664fc.size()-10 }; });
}
void* QTableWidgetItem_TableWidget(void* ptr)
{
return static_cast<QTableWidgetItem*>(ptr)->tableWidget();
}
void* QTableWidgetItem_Clone(void* ptr)
{
return static_cast<QTableWidgetItem*>(ptr)->clone();
}
void* QTableWidgetItem_CloneDefault(void* ptr)
{
return static_cast<QTableWidgetItem*>(ptr)->QTableWidgetItem::clone();
}
void* QTableWidgetItem_Data(void* ptr, int role)
{
return new QVariant(static_cast<QTableWidgetItem*>(ptr)->data(role));
}
void* QTableWidgetItem_DataDefault(void* ptr, int role)
{
return new QVariant(static_cast<QTableWidgetItem*>(ptr)->QTableWidgetItem::data(role));
}
long long QTableWidgetItem_CheckState(void* ptr)
{
return static_cast<QTableWidgetItem*>(ptr)->checkState();
}
long long QTableWidgetItem_Flags(void* ptr)
{
return static_cast<QTableWidgetItem*>(ptr)->flags();
}
char QTableWidgetItem_IsSelected(void* ptr)
{
return static_cast<QTableWidgetItem*>(ptr)->isSelected();
}
int QTableWidgetItem_Column(void* ptr)
{
return static_cast<QTableWidgetItem*>(ptr)->column();
}
int QTableWidgetItem_Row(void* ptr)
{
return static_cast<QTableWidgetItem*>(ptr)->row();
}
int QTableWidgetItem_TextAlignment(void* ptr)
{
return static_cast<QTableWidgetItem*>(ptr)->textAlignment();
}
int QTableWidgetItem_Type(void* ptr)
{
return static_cast<QTableWidgetItem*>(ptr)->type();
}
void QTableWidgetItem_Write(void* ptr, void* out)
{
static_cast<QTableWidgetItem*>(ptr)->write(*static_cast<QDataStream*>(out));
}
void QTableWidgetItem_WriteDefault(void* ptr, void* out)
{
static_cast<QTableWidgetItem*>(ptr)->QTableWidgetItem::write(*static_cast<QDataStream*>(out));
}
void* QTableWidgetSelectionRange_NewQTableWidgetSelectionRange()
{
return new QTableWidgetSelectionRange();
}
void* QTableWidgetSelectionRange_NewQTableWidgetSelectionRange3(void* other)
{
return new QTableWidgetSelectionRange(*static_cast<QTableWidgetSelectionRange*>(other));
}
void* QTableWidgetSelectionRange_NewQTableWidgetSelectionRange2(int top, int left, int bottom, int right)
{
return new QTableWidgetSelectionRange(top, left, bottom, right);
}
void QTableWidgetSelectionRange_DestroyQTableWidgetSelectionRange(void* ptr)
{
static_cast<QTableWidgetSelectionRange*>(ptr)->~QTableWidgetSelectionRange();
}
int QTableWidgetSelectionRange_BottomRow(void* ptr)
{
return static_cast<QTableWidgetSelectionRange*>(ptr)->bottomRow();
}
int QTableWidgetSelectionRange_ColumnCount(void* ptr)
{
return static_cast<QTableWidgetSelectionRange*>(ptr)->columnCount();
}
int QTableWidgetSelectionRange_LeftColumn(void* ptr)
{
return static_cast<QTableWidgetSelectionRange*>(ptr)->leftColumn();
}
int QTableWidgetSelectionRange_RightColumn(void* ptr)
{
return static_cast<QTableWidgetSelectionRange*>(ptr)->rightColumn();
}
int QTableWidgetSelectionRange_RowCount(void* ptr)
{
return static_cast<QTableWidgetSelectionRange*>(ptr)->rowCount();
}
int QTableWidgetSelectionRange_TopRow(void* ptr)
{
return static_cast<QTableWidgetSelectionRange*>(ptr)->topRow();
}
class MyQTapAndHoldGesture: public QTapAndHoldGesture
{
public:
bool event(QEvent * e) { return callbackQGesture_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGesture_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGesture_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGesture_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGesture_CustomEvent(this, event); };
void deleteLater() { callbackQGesture_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGesture_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGesture_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGesture_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGesture_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGesture_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
int QTapAndHoldGesture_QTapAndHoldGesture_Timeout()
{
return QTapAndHoldGesture::timeout();
}
void QTapAndHoldGesture_SetPosition(void* ptr, void* pos)
{
static_cast<QTapAndHoldGesture*>(ptr)->setPosition(*static_cast<QPointF*>(pos));
}
void QTapAndHoldGesture_QTapAndHoldGesture_SetTimeout(int msecs)
{
QTapAndHoldGesture::setTimeout(msecs);
}
void QTapAndHoldGesture_DestroyQTapAndHoldGesture(void* ptr)
{
static_cast<QTapAndHoldGesture*>(ptr)->~QTapAndHoldGesture();
}
void* QTapAndHoldGesture_Position(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QTapAndHoldGesture*>(ptr)->position(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
class MyQTapGesture: public QTapGesture
{
public:
bool event(QEvent * e) { return callbackQGesture_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQGesture_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQGesture_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQGesture_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQGesture_CustomEvent(this, event); };
void deleteLater() { callbackQGesture_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQGesture_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQGesture_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGesture_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQGesture_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGesture_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QTapGesture_SetPosition(void* ptr, void* pos)
{
static_cast<QTapGesture*>(ptr)->setPosition(*static_cast<QPointF*>(pos));
}
void QTapGesture_DestroyQTapGesture(void* ptr)
{
static_cast<QTapGesture*>(ptr)->~QTapGesture();
}
void* QTapGesture_Position(void* ptr)
{
return ({ QPointF tmpValue = static_cast<QTapGesture*>(ptr)->position(); new QPointF(tmpValue.x(), tmpValue.y()); });
}
class MyQTextBrowser: public QTextBrowser
{
public:
MyQTextBrowser(QWidget *parent) : QTextBrowser(parent) {};
QVariant loadResource(int ty, const QUrl & name) { return *static_cast<QVariant*>(callbackQTextEdit_LoadResource(this, ty, const_cast<QUrl*>(&name))); };
bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
void Signal_AnchorClicked(const QUrl & link) { callbackQTextBrowser_AnchorClicked(this, const_cast<QUrl*>(&link)); };
void backward() { callbackQTextBrowser_Backward(this); };
void Signal_BackwardAvailable(bool available) { callbackQTextBrowser_BackwardAvailable(this, available); };
void focusOutEvent(QFocusEvent * ev) { callbackQWidget_FocusOutEvent(this, ev); };
void forward() { callbackQTextBrowser_Forward(this); };
void Signal_ForwardAvailable(bool available) { callbackQTextBrowser_ForwardAvailable(this, available); };
void Signal_Highlighted2(const QString & link) { QByteArray t4f0aa5 = link.toUtf8(); QtWidgets_PackedString linkPacked = { const_cast<char*>(t4f0aa5.prepend("WHITESPACE").constData()+10), t4f0aa5.size()-10 };callbackQTextBrowser_Highlighted2(this, linkPacked); };
void Signal_Highlighted(const QUrl & link) { callbackQTextBrowser_Highlighted(this, const_cast<QUrl*>(&link)); };
void Signal_HistoryChanged() { callbackQTextBrowser_HistoryChanged(this); };
void home() { callbackQTextBrowser_Home(this); };
void keyPressEvent(QKeyEvent * ev) { callbackQWidget_KeyPressEvent(this, ev); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); };
void reload() { callbackQTextBrowser_Reload(this); };
void setSource(const QUrl & name) { callbackQTextBrowser_SetSource(this, const_cast<QUrl*>(&name)); };
void Signal_SourceChanged(const QUrl & src) { callbackQTextBrowser_SourceChanged(this, const_cast<QUrl*>(&src)); };
void append(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQTextEdit_Append(this, textPacked); };
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void clear() { callbackQTextEdit_Clear(this); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void copy() { callbackQTextEdit_Copy(this); };
void Signal_CopyAvailable(bool yes) { callbackQTextEdit_CopyAvailable(this, yes); };
void Signal_CurrentCharFormatChanged(const QTextCharFormat & fo) { callbackQTextEdit_CurrentCharFormatChanged(this, const_cast<QTextCharFormat*>(&fo)); };
void Signal_CursorPositionChanged() { callbackQTextEdit_CursorPositionChanged(this); };
void cut() { callbackQTextEdit_Cut(this); };
void dragEnterEvent(QDragEnterEvent * e) { callbackQWidget_DragEnterEvent(this, e); };
void dragLeaveEvent(QDragLeaveEvent * e) { callbackQWidget_DragLeaveEvent(this, e); };
void dragMoveEvent(QDragMoveEvent * e) { callbackQWidget_DragMoveEvent(this, e); };
void dropEvent(QDropEvent * e) { callbackQWidget_DropEvent(this, e); };
void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); };
void inputMethodEvent(QInputMethodEvent * e) { callbackQWidget_InputMethodEvent(this, e); };
void insertFromMimeData(const QMimeData * source) { callbackQTextEdit_InsertFromMimeData(this, const_cast<QMimeData*>(source)); };
void insertHtml(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQTextEdit_InsertHtml(this, textPacked); };
void insertPlainText(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQTextEdit_InsertPlainText(this, textPacked); };
void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); };
void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); };
void paste() { callbackQTextEdit_Paste(this); };
void redo() { callbackQTextEdit_Redo(this); };
void Signal_RedoAvailable(bool available) { callbackQTextEdit_RedoAvailable(this, available); };
void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void scrollToAnchor(const QString & name) { QByteArray t6ae999 = name.toUtf8(); QtWidgets_PackedString namePacked = { const_cast<char*>(t6ae999.prepend("WHITESPACE").constData()+10), t6ae999.size()-10 };callbackQTextEdit_ScrollToAnchor(this, namePacked); };
void selectAll() { callbackQTextEdit_SelectAll(this); };
void Signal_SelectionChanged() { callbackQTextEdit_SelectionChanged(this); };
void setAlignment(Qt::Alignment a) { callbackQTextEdit_SetAlignment(this, a); };
void setCurrentFont(const QFont & fo) { callbackQTextEdit_SetCurrentFont(this, const_cast<QFont*>(&fo)); };
void setFontFamily(const QString & fontFamily) { QByteArray t5db177 = fontFamily.toUtf8(); QtWidgets_PackedString fontFamilyPacked = { const_cast<char*>(t5db177.prepend("WHITESPACE").constData()+10), t5db177.size()-10 };callbackQTextEdit_SetFontFamily(this, fontFamilyPacked); };
void setFontItalic(bool italic) { callbackQTextEdit_SetFontItalic(this, italic); };
void setFontPointSize(qreal s) { callbackQTextEdit_SetFontPointSize(this, s); };
void setFontUnderline(bool underline) { callbackQTextEdit_SetFontUnderline(this, underline); };
void setFontWeight(int weight) { callbackQTextEdit_SetFontWeight(this, weight); };
void setHtml(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQTextEdit_SetHtml(this, textPacked); };
void setPlainText(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQTextEdit_SetPlainText(this, textPacked); };
void setText(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQTextEdit_SetText(this, textPacked); };
void setTextBackgroundColor(const QColor & c) { callbackQTextEdit_SetTextBackgroundColor(this, const_cast<QColor*>(&c)); };
void setTextColor(const QColor & c) { callbackQTextEdit_SetTextColor(this, const_cast<QColor*>(&c)); };
void showEvent(QShowEvent * vqs) { callbackQWidget_ShowEvent(this, vqs); };
void Signal_TextChanged() { callbackQTextEdit_TextChanged(this); };
void undo() { callbackQTextEdit_Undo(this); };
void Signal_UndoAvailable(bool available) { callbackQTextEdit_UndoAvailable(this, available); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
void zoomIn(int ran) { callbackQTextEdit_ZoomIn(this, ran); };
void zoomOut(int ran) { callbackQTextEdit_ZoomOut(this, ran); };
QMimeData * createMimeDataFromSelection() const { return static_cast<QMimeData*>(callbackQTextEdit_CreateMimeDataFromSelection(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery property) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), property)); };
bool canInsertFromMimeData(const QMimeData * source) const { return callbackQTextEdit_CanInsertFromMimeData(const_cast<void*>(static_cast<const void*>(this)), const_cast<QMimeData*>(source)) != 0; };
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QTextBrowser_NewQTextBrowser(void* parent)
{
return new MyQTextBrowser(static_cast<QWidget*>(parent));
}
void QTextBrowser_ConnectAnchorClicked(void* ptr)
{
QObject::connect(static_cast<QTextBrowser*>(ptr), static_cast<void (QTextBrowser::*)(const QUrl &)>(&QTextBrowser::anchorClicked), static_cast<MyQTextBrowser*>(ptr), static_cast<void (MyQTextBrowser::*)(const QUrl &)>(&MyQTextBrowser::Signal_AnchorClicked));
}
void QTextBrowser_DisconnectAnchorClicked(void* ptr)
{
QObject::disconnect(static_cast<QTextBrowser*>(ptr), static_cast<void (QTextBrowser::*)(const QUrl &)>(&QTextBrowser::anchorClicked), static_cast<MyQTextBrowser*>(ptr), static_cast<void (MyQTextBrowser::*)(const QUrl &)>(&MyQTextBrowser::Signal_AnchorClicked));
}
void QTextBrowser_AnchorClicked(void* ptr, void* link)
{
static_cast<QTextBrowser*>(ptr)->anchorClicked(*static_cast<QUrl*>(link));
}
void QTextBrowser_Backward(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTextBrowser*>(ptr), "backward");
}
void QTextBrowser_BackwardDefault(void* ptr)
{
static_cast<QTextBrowser*>(ptr)->QTextBrowser::backward();
}
void QTextBrowser_ConnectBackwardAvailable(void* ptr)
{
QObject::connect(static_cast<QTextBrowser*>(ptr), static_cast<void (QTextBrowser::*)(bool)>(&QTextBrowser::backwardAvailable), static_cast<MyQTextBrowser*>(ptr), static_cast<void (MyQTextBrowser::*)(bool)>(&MyQTextBrowser::Signal_BackwardAvailable));
}
void QTextBrowser_DisconnectBackwardAvailable(void* ptr)
{
QObject::disconnect(static_cast<QTextBrowser*>(ptr), static_cast<void (QTextBrowser::*)(bool)>(&QTextBrowser::backwardAvailable), static_cast<MyQTextBrowser*>(ptr), static_cast<void (MyQTextBrowser::*)(bool)>(&MyQTextBrowser::Signal_BackwardAvailable));
}
void QTextBrowser_BackwardAvailable(void* ptr, char available)
{
static_cast<QTextBrowser*>(ptr)->backwardAvailable(available != 0);
}
void QTextBrowser_ClearHistory(void* ptr)
{
static_cast<QTextBrowser*>(ptr)->clearHistory();
}
void QTextBrowser_Forward(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTextBrowser*>(ptr), "forward");
}
void QTextBrowser_ForwardDefault(void* ptr)
{
static_cast<QTextBrowser*>(ptr)->QTextBrowser::forward();
}
void QTextBrowser_ConnectForwardAvailable(void* ptr)
{
QObject::connect(static_cast<QTextBrowser*>(ptr), static_cast<void (QTextBrowser::*)(bool)>(&QTextBrowser::forwardAvailable), static_cast<MyQTextBrowser*>(ptr), static_cast<void (MyQTextBrowser::*)(bool)>(&MyQTextBrowser::Signal_ForwardAvailable));
}
void QTextBrowser_DisconnectForwardAvailable(void* ptr)
{
QObject::disconnect(static_cast<QTextBrowser*>(ptr), static_cast<void (QTextBrowser::*)(bool)>(&QTextBrowser::forwardAvailable), static_cast<MyQTextBrowser*>(ptr), static_cast<void (MyQTextBrowser::*)(bool)>(&MyQTextBrowser::Signal_ForwardAvailable));
}
void QTextBrowser_ForwardAvailable(void* ptr, char available)
{
static_cast<QTextBrowser*>(ptr)->forwardAvailable(available != 0);
}
void QTextBrowser_ConnectHighlighted2(void* ptr)
{
QObject::connect(static_cast<QTextBrowser*>(ptr), static_cast<void (QTextBrowser::*)(const QString &)>(&QTextBrowser::highlighted), static_cast<MyQTextBrowser*>(ptr), static_cast<void (MyQTextBrowser::*)(const QString &)>(&MyQTextBrowser::Signal_Highlighted2));
}
void QTextBrowser_DisconnectHighlighted2(void* ptr)
{
QObject::disconnect(static_cast<QTextBrowser*>(ptr), static_cast<void (QTextBrowser::*)(const QString &)>(&QTextBrowser::highlighted), static_cast<MyQTextBrowser*>(ptr), static_cast<void (MyQTextBrowser::*)(const QString &)>(&MyQTextBrowser::Signal_Highlighted2));
}
void QTextBrowser_Highlighted2(void* ptr, char* link)
{
static_cast<QTextBrowser*>(ptr)->highlighted(QString(link));
}
void QTextBrowser_ConnectHighlighted(void* ptr)
{
QObject::connect(static_cast<QTextBrowser*>(ptr), static_cast<void (QTextBrowser::*)(const QUrl &)>(&QTextBrowser::highlighted), static_cast<MyQTextBrowser*>(ptr), static_cast<void (MyQTextBrowser::*)(const QUrl &)>(&MyQTextBrowser::Signal_Highlighted));
}
void QTextBrowser_DisconnectHighlighted(void* ptr)
{
QObject::disconnect(static_cast<QTextBrowser*>(ptr), static_cast<void (QTextBrowser::*)(const QUrl &)>(&QTextBrowser::highlighted), static_cast<MyQTextBrowser*>(ptr), static_cast<void (MyQTextBrowser::*)(const QUrl &)>(&MyQTextBrowser::Signal_Highlighted));
}
void QTextBrowser_Highlighted(void* ptr, void* link)
{
static_cast<QTextBrowser*>(ptr)->highlighted(*static_cast<QUrl*>(link));
}
void QTextBrowser_ConnectHistoryChanged(void* ptr)
{
QObject::connect(static_cast<QTextBrowser*>(ptr), static_cast<void (QTextBrowser::*)()>(&QTextBrowser::historyChanged), static_cast<MyQTextBrowser*>(ptr), static_cast<void (MyQTextBrowser::*)()>(&MyQTextBrowser::Signal_HistoryChanged));
}
void QTextBrowser_DisconnectHistoryChanged(void* ptr)
{
QObject::disconnect(static_cast<QTextBrowser*>(ptr), static_cast<void (QTextBrowser::*)()>(&QTextBrowser::historyChanged), static_cast<MyQTextBrowser*>(ptr), static_cast<void (MyQTextBrowser::*)()>(&MyQTextBrowser::Signal_HistoryChanged));
}
void QTextBrowser_HistoryChanged(void* ptr)
{
static_cast<QTextBrowser*>(ptr)->historyChanged();
}
void QTextBrowser_Home(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTextBrowser*>(ptr), "home");
}
void QTextBrowser_HomeDefault(void* ptr)
{
static_cast<QTextBrowser*>(ptr)->QTextBrowser::home();
}
void QTextBrowser_Reload(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTextBrowser*>(ptr), "reload");
}
void QTextBrowser_ReloadDefault(void* ptr)
{
static_cast<QTextBrowser*>(ptr)->QTextBrowser::reload();
}
void QTextBrowser_SetOpenExternalLinks(void* ptr, char open)
{
static_cast<QTextBrowser*>(ptr)->setOpenExternalLinks(open != 0);
}
void QTextBrowser_SetOpenLinks(void* ptr, char open)
{
static_cast<QTextBrowser*>(ptr)->setOpenLinks(open != 0);
}
void QTextBrowser_SetSearchPaths(void* ptr, char* paths)
{
static_cast<QTextBrowser*>(ptr)->setSearchPaths(QString(paths).split("|", QString::SkipEmptyParts));
}
void QTextBrowser_SetSource(void* ptr, void* name)
{
QMetaObject::invokeMethod(static_cast<QTextBrowser*>(ptr), "setSource", Q_ARG(QUrl, *static_cast<QUrl*>(name)));
}
void QTextBrowser_SetSourceDefault(void* ptr, void* name)
{
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setSource(*static_cast<QUrl*>(name));
}
void QTextBrowser_ConnectSourceChanged(void* ptr)
{
QObject::connect(static_cast<QTextBrowser*>(ptr), static_cast<void (QTextBrowser::*)(const QUrl &)>(&QTextBrowser::sourceChanged), static_cast<MyQTextBrowser*>(ptr), static_cast<void (MyQTextBrowser::*)(const QUrl &)>(&MyQTextBrowser::Signal_SourceChanged));
}
void QTextBrowser_DisconnectSourceChanged(void* ptr)
{
QObject::disconnect(static_cast<QTextBrowser*>(ptr), static_cast<void (QTextBrowser::*)(const QUrl &)>(&QTextBrowser::sourceChanged), static_cast<MyQTextBrowser*>(ptr), static_cast<void (MyQTextBrowser::*)(const QUrl &)>(&MyQTextBrowser::Signal_SourceChanged));
}
void QTextBrowser_SourceChanged(void* ptr, void* src)
{
static_cast<QTextBrowser*>(ptr)->sourceChanged(*static_cast<QUrl*>(src));
}
struct QtWidgets_PackedString QTextBrowser_HistoryTitle(void* ptr, int i)
{
return ({ QByteArray tc73fc4 = static_cast<QTextBrowser*>(ptr)->historyTitle(i).toUtf8(); QtWidgets_PackedString { const_cast<char*>(tc73fc4.prepend("WHITESPACE").constData()+10), tc73fc4.size()-10 }; });
}
struct QtWidgets_PackedString QTextBrowser_SearchPaths(void* ptr)
{
return ({ QByteArray t6868fa = static_cast<QTextBrowser*>(ptr)->searchPaths().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t6868fa.prepend("WHITESPACE").constData()+10), t6868fa.size()-10 }; });
}
void* QTextBrowser_HistoryUrl(void* ptr, int i)
{
return new QUrl(static_cast<QTextBrowser*>(ptr)->historyUrl(i));
}
void* QTextBrowser_Source(void* ptr)
{
return new QUrl(static_cast<QTextBrowser*>(ptr)->source());
}
char QTextBrowser_IsBackwardAvailable(void* ptr)
{
return static_cast<QTextBrowser*>(ptr)->isBackwardAvailable();
}
char QTextBrowser_IsForwardAvailable(void* ptr)
{
return static_cast<QTextBrowser*>(ptr)->isForwardAvailable();
}
char QTextBrowser_OpenExternalLinks(void* ptr)
{
return static_cast<QTextBrowser*>(ptr)->openExternalLinks();
}
char QTextBrowser_OpenLinks(void* ptr)
{
return static_cast<QTextBrowser*>(ptr)->openLinks();
}
int QTextBrowser_BackwardHistoryCount(void* ptr)
{
return static_cast<QTextBrowser*>(ptr)->backwardHistoryCount();
}
int QTextBrowser_ForwardHistoryCount(void* ptr)
{
return static_cast<QTextBrowser*>(ptr)->forwardHistoryCount();
}
char QTextBrowser_IsReadOnly(void* ptr)
{
return static_cast<QTextBrowser*>(ptr)->isReadOnly();
}
void QTextBrowser_SetReadOnly(void* ptr, char readOnly)
{
static_cast<QTextBrowser*>(ptr)->setReadOnly(readOnly != 0);
}
char QTextBrowser_IsUndoRedoEnabled(void* ptr)
{
return static_cast<QTextBrowser*>(ptr)->isUndoRedoEnabled();
}
void QTextBrowser_SetUndoRedoEnabled(void* ptr, char undoRedoEnabled)
{
static_cast<QTextBrowser*>(ptr)->setUndoRedoEnabled(undoRedoEnabled != 0);
}
class MyQTextEdit: public QTextEdit
{
public:
MyQTextEdit(QWidget *parent) : QTextEdit(parent) {};
MyQTextEdit(const QString &text, QWidget *parent) : QTextEdit(text, parent) {};
QVariant loadResource(int ty, const QUrl & name) { return *static_cast<QVariant*>(callbackQTextEdit_LoadResource(this, ty, const_cast<QUrl*>(&name))); };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
void append(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQTextEdit_Append(this, textPacked); };
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void clear() { callbackQTextEdit_Clear(this); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void copy() { callbackQTextEdit_Copy(this); };
void Signal_CopyAvailable(bool yes) { callbackQTextEdit_CopyAvailable(this, yes); };
void Signal_CurrentCharFormatChanged(const QTextCharFormat & fo) { callbackQTextEdit_CurrentCharFormatChanged(this, const_cast<QTextCharFormat*>(&fo)); };
void Signal_CursorPositionChanged() { callbackQTextEdit_CursorPositionChanged(this); };
void cut() { callbackQTextEdit_Cut(this); };
void dragEnterEvent(QDragEnterEvent * e) { callbackQWidget_DragEnterEvent(this, e); };
void dragLeaveEvent(QDragLeaveEvent * e) { callbackQWidget_DragLeaveEvent(this, e); };
void dragMoveEvent(QDragMoveEvent * e) { callbackQWidget_DragMoveEvent(this, e); };
void dropEvent(QDropEvent * e) { callbackQWidget_DropEvent(this, e); };
void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); };
void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); };
void inputMethodEvent(QInputMethodEvent * e) { callbackQWidget_InputMethodEvent(this, e); };
void insertFromMimeData(const QMimeData * source) { callbackQTextEdit_InsertFromMimeData(this, const_cast<QMimeData*>(source)); };
void insertHtml(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQTextEdit_InsertHtml(this, textPacked); };
void insertPlainText(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQTextEdit_InsertPlainText(this, textPacked); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); };
void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void paste() { callbackQTextEdit_Paste(this); };
void redo() { callbackQTextEdit_Redo(this); };
void Signal_RedoAvailable(bool available) { callbackQTextEdit_RedoAvailable(this, available); };
void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void scrollToAnchor(const QString & name) { QByteArray t6ae999 = name.toUtf8(); QtWidgets_PackedString namePacked = { const_cast<char*>(t6ae999.prepend("WHITESPACE").constData()+10), t6ae999.size()-10 };callbackQTextEdit_ScrollToAnchor(this, namePacked); };
void selectAll() { callbackQTextEdit_SelectAll(this); };
void Signal_SelectionChanged() { callbackQTextEdit_SelectionChanged(this); };
void setAlignment(Qt::Alignment a) { callbackQTextEdit_SetAlignment(this, a); };
void setCurrentFont(const QFont & fo) { callbackQTextEdit_SetCurrentFont(this, const_cast<QFont*>(&fo)); };
void setFontFamily(const QString & fontFamily) { QByteArray t5db177 = fontFamily.toUtf8(); QtWidgets_PackedString fontFamilyPacked = { const_cast<char*>(t5db177.prepend("WHITESPACE").constData()+10), t5db177.size()-10 };callbackQTextEdit_SetFontFamily(this, fontFamilyPacked); };
void setFontItalic(bool italic) { callbackQTextEdit_SetFontItalic(this, italic); };
void setFontPointSize(qreal s) { callbackQTextEdit_SetFontPointSize(this, s); };
void setFontUnderline(bool underline) { callbackQTextEdit_SetFontUnderline(this, underline); };
void setFontWeight(int weight) { callbackQTextEdit_SetFontWeight(this, weight); };
void setHtml(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQTextEdit_SetHtml(this, textPacked); };
void setPlainText(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQTextEdit_SetPlainText(this, textPacked); };
void setText(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQTextEdit_SetText(this, textPacked); };
void setTextBackgroundColor(const QColor & c) { callbackQTextEdit_SetTextBackgroundColor(this, const_cast<QColor*>(&c)); };
void setTextColor(const QColor & c) { callbackQTextEdit_SetTextColor(this, const_cast<QColor*>(&c)); };
void showEvent(QShowEvent * vqs) { callbackQWidget_ShowEvent(this, vqs); };
void Signal_TextChanged() { callbackQTextEdit_TextChanged(this); };
void undo() { callbackQTextEdit_Undo(this); };
void Signal_UndoAvailable(bool available) { callbackQTextEdit_UndoAvailable(this, available); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
void zoomIn(int ran) { callbackQTextEdit_ZoomIn(this, ran); };
void zoomOut(int ran) { callbackQTextEdit_ZoomOut(this, ran); };
~MyQTextEdit() { callbackQTextEdit_DestroyQTextEdit(this); };
QMimeData * createMimeDataFromSelection() const { return static_cast<QMimeData*>(callbackQTextEdit_CreateMimeDataFromSelection(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery property) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), property)); };
bool canInsertFromMimeData(const QMimeData * source) const { return callbackQTextEdit_CanInsertFromMimeData(const_cast<void*>(static_cast<const void*>(this)), const_cast<QMimeData*>(source)) != 0; };
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QTextEdit_CreateStandardContextMenu(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->createStandardContextMenu();
}
void* QTextEdit_CreateStandardContextMenu2(void* ptr, void* position)
{
return static_cast<QTextEdit*>(ptr)->createStandardContextMenu(*static_cast<QPoint*>(position));
}
void* QTextEdit_NewQTextEdit(void* parent)
{
return new MyQTextEdit(static_cast<QWidget*>(parent));
}
void* QTextEdit_NewQTextEdit2(char* text, void* parent)
{
return new MyQTextEdit(QString(text), static_cast<QWidget*>(parent));
}
void* QTextEdit_LoadResource(void* ptr, int ty, void* name)
{
return new QVariant(static_cast<QTextEdit*>(ptr)->loadResource(ty, *static_cast<QUrl*>(name)));
}
void* QTextEdit_LoadResourceDefault(void* ptr, int ty, void* name)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QTextBrowser*>(ptr)->QTextBrowser::loadResource(ty, *static_cast<QUrl*>(name)));
} else {
return new QVariant(static_cast<QTextEdit*>(ptr)->QTextEdit::loadResource(ty, *static_cast<QUrl*>(name)));
}
}
char QTextEdit_Find2(void* ptr, void* exp, long long options)
{
return static_cast<QTextEdit*>(ptr)->find(*static_cast<QRegExp*>(exp), static_cast<QTextDocument::FindFlag>(options));
}
char QTextEdit_Find(void* ptr, char* exp, long long options)
{
return static_cast<QTextEdit*>(ptr)->find(QString(exp), static_cast<QTextDocument::FindFlag>(options));
}
void QTextEdit_Append(void* ptr, char* text)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "append", Q_ARG(QString, QString(text)));
}
void QTextEdit_AppendDefault(void* ptr, char* text)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::append(QString(text));
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::append(QString(text));
}
}
void QTextEdit_Clear(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "clear");
}
void QTextEdit_ClearDefault(void* ptr)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::clear();
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::clear();
}
}
void QTextEdit_Copy(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "copy");
}
void QTextEdit_CopyDefault(void* ptr)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::copy();
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::copy();
}
}
void QTextEdit_ConnectCopyAvailable(void* ptr)
{
QObject::connect(static_cast<QTextEdit*>(ptr), static_cast<void (QTextEdit::*)(bool)>(&QTextEdit::copyAvailable), static_cast<MyQTextEdit*>(ptr), static_cast<void (MyQTextEdit::*)(bool)>(&MyQTextEdit::Signal_CopyAvailable));
}
void QTextEdit_DisconnectCopyAvailable(void* ptr)
{
QObject::disconnect(static_cast<QTextEdit*>(ptr), static_cast<void (QTextEdit::*)(bool)>(&QTextEdit::copyAvailable), static_cast<MyQTextEdit*>(ptr), static_cast<void (MyQTextEdit::*)(bool)>(&MyQTextEdit::Signal_CopyAvailable));
}
void QTextEdit_CopyAvailable(void* ptr, char yes)
{
static_cast<QTextEdit*>(ptr)->copyAvailable(yes != 0);
}
void QTextEdit_ConnectCurrentCharFormatChanged(void* ptr)
{
QObject::connect(static_cast<QTextEdit*>(ptr), static_cast<void (QTextEdit::*)(const QTextCharFormat &)>(&QTextEdit::currentCharFormatChanged), static_cast<MyQTextEdit*>(ptr), static_cast<void (MyQTextEdit::*)(const QTextCharFormat &)>(&MyQTextEdit::Signal_CurrentCharFormatChanged));
}
void QTextEdit_DisconnectCurrentCharFormatChanged(void* ptr)
{
QObject::disconnect(static_cast<QTextEdit*>(ptr), static_cast<void (QTextEdit::*)(const QTextCharFormat &)>(&QTextEdit::currentCharFormatChanged), static_cast<MyQTextEdit*>(ptr), static_cast<void (MyQTextEdit::*)(const QTextCharFormat &)>(&MyQTextEdit::Signal_CurrentCharFormatChanged));
}
void QTextEdit_CurrentCharFormatChanged(void* ptr, void* fo)
{
static_cast<QTextEdit*>(ptr)->currentCharFormatChanged(*static_cast<QTextCharFormat*>(fo));
}
void QTextEdit_ConnectCursorPositionChanged(void* ptr)
{
QObject::connect(static_cast<QTextEdit*>(ptr), static_cast<void (QTextEdit::*)()>(&QTextEdit::cursorPositionChanged), static_cast<MyQTextEdit*>(ptr), static_cast<void (MyQTextEdit::*)()>(&MyQTextEdit::Signal_CursorPositionChanged));
}
void QTextEdit_DisconnectCursorPositionChanged(void* ptr)
{
QObject::disconnect(static_cast<QTextEdit*>(ptr), static_cast<void (QTextEdit::*)()>(&QTextEdit::cursorPositionChanged), static_cast<MyQTextEdit*>(ptr), static_cast<void (MyQTextEdit::*)()>(&MyQTextEdit::Signal_CursorPositionChanged));
}
void QTextEdit_CursorPositionChanged(void* ptr)
{
static_cast<QTextEdit*>(ptr)->cursorPositionChanged();
}
void QTextEdit_Cut(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "cut");
}
void QTextEdit_CutDefault(void* ptr)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::cut();
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::cut();
}
}
void QTextEdit_EnsureCursorVisible(void* ptr)
{
static_cast<QTextEdit*>(ptr)->ensureCursorVisible();
}
void QTextEdit_InsertFromMimeData(void* ptr, void* source)
{
static_cast<QTextEdit*>(ptr)->insertFromMimeData(static_cast<QMimeData*>(source));
}
void QTextEdit_InsertFromMimeDataDefault(void* ptr, void* source)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::insertFromMimeData(static_cast<QMimeData*>(source));
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::insertFromMimeData(static_cast<QMimeData*>(source));
}
}
void QTextEdit_InsertHtml(void* ptr, char* text)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "insertHtml", Q_ARG(QString, QString(text)));
}
void QTextEdit_InsertHtmlDefault(void* ptr, char* text)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::insertHtml(QString(text));
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::insertHtml(QString(text));
}
}
void QTextEdit_InsertPlainText(void* ptr, char* text)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "insertPlainText", Q_ARG(QString, QString(text)));
}
void QTextEdit_InsertPlainTextDefault(void* ptr, char* text)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::insertPlainText(QString(text));
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::insertPlainText(QString(text));
}
}
void QTextEdit_MergeCurrentCharFormat(void* ptr, void* modifier)
{
static_cast<QTextEdit*>(ptr)->mergeCurrentCharFormat(*static_cast<QTextCharFormat*>(modifier));
}
void QTextEdit_MoveCursor(void* ptr, long long operation, long long mode)
{
static_cast<QTextEdit*>(ptr)->moveCursor(static_cast<QTextCursor::MoveOperation>(operation), static_cast<QTextCursor::MoveMode>(mode));
}
void QTextEdit_Paste(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "paste");
}
void QTextEdit_PasteDefault(void* ptr)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::paste();
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::paste();
}
}
void QTextEdit_Redo(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "redo");
}
void QTextEdit_RedoDefault(void* ptr)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::redo();
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::redo();
}
}
void QTextEdit_ConnectRedoAvailable(void* ptr)
{
QObject::connect(static_cast<QTextEdit*>(ptr), static_cast<void (QTextEdit::*)(bool)>(&QTextEdit::redoAvailable), static_cast<MyQTextEdit*>(ptr), static_cast<void (MyQTextEdit::*)(bool)>(&MyQTextEdit::Signal_RedoAvailable));
}
void QTextEdit_DisconnectRedoAvailable(void* ptr)
{
QObject::disconnect(static_cast<QTextEdit*>(ptr), static_cast<void (QTextEdit::*)(bool)>(&QTextEdit::redoAvailable), static_cast<MyQTextEdit*>(ptr), static_cast<void (MyQTextEdit::*)(bool)>(&MyQTextEdit::Signal_RedoAvailable));
}
void QTextEdit_RedoAvailable(void* ptr, char available)
{
static_cast<QTextEdit*>(ptr)->redoAvailable(available != 0);
}
void QTextEdit_ScrollToAnchor(void* ptr, char* name)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "scrollToAnchor", Q_ARG(QString, QString(name)));
}
void QTextEdit_ScrollToAnchorDefault(void* ptr, char* name)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::scrollToAnchor(QString(name));
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::scrollToAnchor(QString(name));
}
}
void QTextEdit_SelectAll(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "selectAll");
}
void QTextEdit_SelectAllDefault(void* ptr)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::selectAll();
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::selectAll();
}
}
void QTextEdit_ConnectSelectionChanged(void* ptr)
{
QObject::connect(static_cast<QTextEdit*>(ptr), static_cast<void (QTextEdit::*)()>(&QTextEdit::selectionChanged), static_cast<MyQTextEdit*>(ptr), static_cast<void (MyQTextEdit::*)()>(&MyQTextEdit::Signal_SelectionChanged));
}
void QTextEdit_DisconnectSelectionChanged(void* ptr)
{
QObject::disconnect(static_cast<QTextEdit*>(ptr), static_cast<void (QTextEdit::*)()>(&QTextEdit::selectionChanged), static_cast<MyQTextEdit*>(ptr), static_cast<void (MyQTextEdit::*)()>(&MyQTextEdit::Signal_SelectionChanged));
}
void QTextEdit_SelectionChanged(void* ptr)
{
static_cast<QTextEdit*>(ptr)->selectionChanged();
}
void QTextEdit_SetAcceptRichText(void* ptr, char accept)
{
static_cast<QTextEdit*>(ptr)->setAcceptRichText(accept != 0);
}
void QTextEdit_SetAlignment(void* ptr, long long a)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "setAlignment", Q_ARG(Qt::Alignment, static_cast<Qt::Alignment>(static_cast<Qt::AlignmentFlag>(a))));
}
void QTextEdit_SetAlignmentDefault(void* ptr, long long a)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setAlignment(static_cast<Qt::AlignmentFlag>(a));
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::setAlignment(static_cast<Qt::AlignmentFlag>(a));
}
}
void QTextEdit_SetAutoFormatting(void* ptr, long long features)
{
static_cast<QTextEdit*>(ptr)->setAutoFormatting(static_cast<QTextEdit::AutoFormattingFlag>(features));
}
void QTextEdit_SetCurrentCharFormat(void* ptr, void* format)
{
static_cast<QTextEdit*>(ptr)->setCurrentCharFormat(*static_cast<QTextCharFormat*>(format));
}
void QTextEdit_SetCurrentFont(void* ptr, void* fo)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "setCurrentFont", Q_ARG(QFont, *static_cast<QFont*>(fo)));
}
void QTextEdit_SetCurrentFontDefault(void* ptr, void* fo)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setCurrentFont(*static_cast<QFont*>(fo));
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::setCurrentFont(*static_cast<QFont*>(fo));
}
}
void QTextEdit_SetCursorWidth(void* ptr, int width)
{
static_cast<QTextEdit*>(ptr)->setCursorWidth(width);
}
void QTextEdit_SetDocument(void* ptr, void* document)
{
static_cast<QTextEdit*>(ptr)->setDocument(static_cast<QTextDocument*>(document));
}
void QTextEdit_SetDocumentTitle(void* ptr, char* title)
{
static_cast<QTextEdit*>(ptr)->setDocumentTitle(QString(title));
}
void QTextEdit_SetFontFamily(void* ptr, char* fontFamily)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "setFontFamily", Q_ARG(QString, QString(fontFamily)));
}
void QTextEdit_SetFontFamilyDefault(void* ptr, char* fontFamily)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setFontFamily(QString(fontFamily));
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::setFontFamily(QString(fontFamily));
}
}
void QTextEdit_SetFontItalic(void* ptr, char italic)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "setFontItalic", Q_ARG(bool, italic != 0));
}
void QTextEdit_SetFontItalicDefault(void* ptr, char italic)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setFontItalic(italic != 0);
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::setFontItalic(italic != 0);
}
}
void QTextEdit_SetFontPointSize(void* ptr, double s)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "setFontPointSize", Q_ARG(qreal, s));
}
void QTextEdit_SetFontPointSizeDefault(void* ptr, double s)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setFontPointSize(s);
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::setFontPointSize(s);
}
}
void QTextEdit_SetFontUnderline(void* ptr, char underline)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "setFontUnderline", Q_ARG(bool, underline != 0));
}
void QTextEdit_SetFontUnderlineDefault(void* ptr, char underline)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setFontUnderline(underline != 0);
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::setFontUnderline(underline != 0);
}
}
void QTextEdit_SetFontWeight(void* ptr, int weight)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "setFontWeight", Q_ARG(int, weight));
}
void QTextEdit_SetFontWeightDefault(void* ptr, int weight)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setFontWeight(weight);
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::setFontWeight(weight);
}
}
void QTextEdit_SetHtml(void* ptr, char* text)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "setHtml", Q_ARG(QString, QString(text)));
}
void QTextEdit_SetHtmlDefault(void* ptr, char* text)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setHtml(QString(text));
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::setHtml(QString(text));
}
}
void QTextEdit_SetLineWrapColumnOrWidth(void* ptr, int w)
{
static_cast<QTextEdit*>(ptr)->setLineWrapColumnOrWidth(w);
}
void QTextEdit_SetLineWrapMode(void* ptr, long long mode)
{
static_cast<QTextEdit*>(ptr)->setLineWrapMode(static_cast<QTextEdit::LineWrapMode>(mode));
}
void QTextEdit_SetOverwriteMode(void* ptr, char overwrite)
{
static_cast<QTextEdit*>(ptr)->setOverwriteMode(overwrite != 0);
}
void QTextEdit_SetPlaceholderText(void* ptr, char* placeholderText)
{
static_cast<QTextEdit*>(ptr)->setPlaceholderText(QString(placeholderText));
}
void QTextEdit_SetTabChangesFocus(void* ptr, char b)
{
static_cast<QTextEdit*>(ptr)->setTabChangesFocus(b != 0);
}
void QTextEdit_SetTabStopWidth(void* ptr, int width)
{
static_cast<QTextEdit*>(ptr)->setTabStopWidth(width);
}
void QTextEdit_SetPlainText(void* ptr, char* text)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "setPlainText", Q_ARG(QString, QString(text)));
}
void QTextEdit_SetPlainTextDefault(void* ptr, char* text)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setPlainText(QString(text));
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::setPlainText(QString(text));
}
}
void QTextEdit_SetReadOnly(void* ptr, char ro)
{
static_cast<QTextEdit*>(ptr)->setReadOnly(ro != 0);
}
void QTextEdit_SetText(void* ptr, char* text)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "setText", Q_ARG(QString, QString(text)));
}
void QTextEdit_SetTextDefault(void* ptr, char* text)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setText(QString(text));
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::setText(QString(text));
}
}
void QTextEdit_SetTextBackgroundColor(void* ptr, void* c)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "setTextBackgroundColor", Q_ARG(QColor, *static_cast<QColor*>(c)));
}
void QTextEdit_SetTextBackgroundColorDefault(void* ptr, void* c)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setTextBackgroundColor(*static_cast<QColor*>(c));
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::setTextBackgroundColor(*static_cast<QColor*>(c));
}
}
void QTextEdit_SetTextColor(void* ptr, void* c)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "setTextColor", Q_ARG(QColor, *static_cast<QColor*>(c)));
}
void QTextEdit_SetTextColorDefault(void* ptr, void* c)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setTextColor(*static_cast<QColor*>(c));
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::setTextColor(*static_cast<QColor*>(c));
}
}
void QTextEdit_SetTextCursor(void* ptr, void* cursor)
{
static_cast<QTextEdit*>(ptr)->setTextCursor(*static_cast<QTextCursor*>(cursor));
}
void QTextEdit_SetTextInteractionFlags(void* ptr, long long flags)
{
static_cast<QTextEdit*>(ptr)->setTextInteractionFlags(static_cast<Qt::TextInteractionFlag>(flags));
}
void QTextEdit_SetUndoRedoEnabled(void* ptr, char enable)
{
static_cast<QTextEdit*>(ptr)->setUndoRedoEnabled(enable != 0);
}
void QTextEdit_SetWordWrapMode(void* ptr, long long policy)
{
static_cast<QTextEdit*>(ptr)->setWordWrapMode(static_cast<QTextOption::WrapMode>(policy));
}
void QTextEdit_ConnectTextChanged(void* ptr)
{
QObject::connect(static_cast<QTextEdit*>(ptr), static_cast<void (QTextEdit::*)()>(&QTextEdit::textChanged), static_cast<MyQTextEdit*>(ptr), static_cast<void (MyQTextEdit::*)()>(&MyQTextEdit::Signal_TextChanged));
}
void QTextEdit_DisconnectTextChanged(void* ptr)
{
QObject::disconnect(static_cast<QTextEdit*>(ptr), static_cast<void (QTextEdit::*)()>(&QTextEdit::textChanged), static_cast<MyQTextEdit*>(ptr), static_cast<void (MyQTextEdit::*)()>(&MyQTextEdit::Signal_TextChanged));
}
void QTextEdit_TextChanged(void* ptr)
{
static_cast<QTextEdit*>(ptr)->textChanged();
}
void QTextEdit_Undo(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "undo");
}
void QTextEdit_UndoDefault(void* ptr)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::undo();
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::undo();
}
}
void QTextEdit_ConnectUndoAvailable(void* ptr)
{
QObject::connect(static_cast<QTextEdit*>(ptr), static_cast<void (QTextEdit::*)(bool)>(&QTextEdit::undoAvailable), static_cast<MyQTextEdit*>(ptr), static_cast<void (MyQTextEdit::*)(bool)>(&MyQTextEdit::Signal_UndoAvailable));
}
void QTextEdit_DisconnectUndoAvailable(void* ptr)
{
QObject::disconnect(static_cast<QTextEdit*>(ptr), static_cast<void (QTextEdit::*)(bool)>(&QTextEdit::undoAvailable), static_cast<MyQTextEdit*>(ptr), static_cast<void (MyQTextEdit::*)(bool)>(&MyQTextEdit::Signal_UndoAvailable));
}
void QTextEdit_UndoAvailable(void* ptr, char available)
{
static_cast<QTextEdit*>(ptr)->undoAvailable(available != 0);
}
void QTextEdit_ZoomIn(void* ptr, int ran)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "zoomIn", Q_ARG(int, ran));
}
void QTextEdit_ZoomInDefault(void* ptr, int ran)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::zoomIn(ran);
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::zoomIn(ran);
}
}
void QTextEdit_ZoomOut(void* ptr, int ran)
{
QMetaObject::invokeMethod(static_cast<QTextEdit*>(ptr), "zoomOut", Q_ARG(int, ran));
}
void QTextEdit_ZoomOutDefault(void* ptr, int ran)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::zoomOut(ran);
} else {
static_cast<QTextEdit*>(ptr)->QTextEdit::zoomOut(ran);
}
}
void QTextEdit_DestroyQTextEdit(void* ptr)
{
static_cast<QTextEdit*>(ptr)->~QTextEdit();
}
void QTextEdit_DestroyQTextEditDefault(void* ptr)
{
}
long long QTextEdit_AutoFormatting(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->autoFormatting();
}
long long QTextEdit_LineWrapMode(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->lineWrapMode();
}
void* QTextEdit_TextBackgroundColor(void* ptr)
{
return new QColor(static_cast<QTextEdit*>(ptr)->textBackgroundColor());
}
void* QTextEdit_TextColor(void* ptr)
{
return new QColor(static_cast<QTextEdit*>(ptr)->textColor());
}
void* QTextEdit_CurrentFont(void* ptr)
{
return new QFont(static_cast<QTextEdit*>(ptr)->currentFont());
}
void* QTextEdit_CreateMimeDataFromSelection(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->createMimeDataFromSelection();
}
void* QTextEdit_CreateMimeDataFromSelectionDefault(void* ptr)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::createMimeDataFromSelection();
} else {
return static_cast<QTextEdit*>(ptr)->QTextEdit::createMimeDataFromSelection();
}
}
void* QTextEdit_CursorRect2(void* ptr)
{
return ({ QRect tmpValue = static_cast<QTextEdit*>(ptr)->cursorRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QTextEdit_CursorRect(void* ptr, void* cursor)
{
return ({ QRect tmpValue = static_cast<QTextEdit*>(ptr)->cursorRect(*static_cast<QTextCursor*>(cursor)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QTextEdit_AnchorAt(void* ptr, void* pos)
{
return ({ QByteArray t883a22 = static_cast<QTextEdit*>(ptr)->anchorAt(*static_cast<QPoint*>(pos)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t883a22.prepend("WHITESPACE").constData()+10), t883a22.size()-10 }; });
}
struct QtWidgets_PackedString QTextEdit_DocumentTitle(void* ptr)
{
return ({ QByteArray td339b8 = static_cast<QTextEdit*>(ptr)->documentTitle().toUtf8(); QtWidgets_PackedString { const_cast<char*>(td339b8.prepend("WHITESPACE").constData()+10), td339b8.size()-10 }; });
}
struct QtWidgets_PackedString QTextEdit_FontFamily(void* ptr)
{
return ({ QByteArray tf50401 = static_cast<QTextEdit*>(ptr)->fontFamily().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tf50401.prepend("WHITESPACE").constData()+10), tf50401.size()-10 }; });
}
struct QtWidgets_PackedString QTextEdit_PlaceholderText(void* ptr)
{
return ({ QByteArray t79a2c0 = static_cast<QTextEdit*>(ptr)->placeholderText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t79a2c0.prepend("WHITESPACE").constData()+10), t79a2c0.size()-10 }; });
}
struct QtWidgets_PackedString QTextEdit_ToHtml(void* ptr)
{
return ({ QByteArray t9adf2b = static_cast<QTextEdit*>(ptr)->toHtml().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t9adf2b.prepend("WHITESPACE").constData()+10), t9adf2b.size()-10 }; });
}
struct QtWidgets_PackedString QTextEdit_ToPlainText(void* ptr)
{
return ({ QByteArray te62381 = static_cast<QTextEdit*>(ptr)->toPlainText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(te62381.prepend("WHITESPACE").constData()+10), te62381.size()-10 }; });
}
void* QTextEdit_CurrentCharFormat(void* ptr)
{
return new QTextCharFormat(static_cast<QTextEdit*>(ptr)->currentCharFormat());
}
void* QTextEdit_CursorForPosition(void* ptr, void* pos)
{
return new QTextCursor(static_cast<QTextEdit*>(ptr)->cursorForPosition(*static_cast<QPoint*>(pos)));
}
void* QTextEdit_TextCursor(void* ptr)
{
return new QTextCursor(static_cast<QTextEdit*>(ptr)->textCursor());
}
void* QTextEdit_Document(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->document();
}
long long QTextEdit_WordWrapMode(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->wordWrapMode();
}
long long QTextEdit_Alignment(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->alignment();
}
long long QTextEdit_TextInteractionFlags(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->textInteractionFlags();
}
char QTextEdit_AcceptRichText(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->acceptRichText();
}
char QTextEdit_CanInsertFromMimeData(void* ptr, void* source)
{
return static_cast<QTextEdit*>(ptr)->canInsertFromMimeData(static_cast<QMimeData*>(source));
}
char QTextEdit_CanInsertFromMimeDataDefault(void* ptr, void* source)
{
if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::canInsertFromMimeData(static_cast<QMimeData*>(source));
} else {
return static_cast<QTextEdit*>(ptr)->QTextEdit::canInsertFromMimeData(static_cast<QMimeData*>(source));
}
}
char QTextEdit_CanPaste(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->canPaste();
}
char QTextEdit_FontItalic(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->fontItalic();
}
char QTextEdit_FontUnderline(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->fontUnderline();
}
char QTextEdit_IsReadOnly(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->isReadOnly();
}
char QTextEdit_IsUndoRedoEnabled(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->isUndoRedoEnabled();
}
char QTextEdit_OverwriteMode(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->overwriteMode();
}
char QTextEdit_TabChangesFocus(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->tabChangesFocus();
}
int QTextEdit_CursorWidth(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->cursorWidth();
}
int QTextEdit_FontWeight(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->fontWeight();
}
int QTextEdit_LineWrapColumnOrWidth(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->lineWrapColumnOrWidth();
}
int QTextEdit_TabStopWidth(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->tabStopWidth();
}
double QTextEdit_FontPointSize(void* ptr)
{
return static_cast<QTextEdit*>(ptr)->fontPointSize();
}
void QTextEdit_Print(void* ptr, void* printer)
{
#ifndef Q_OS_IOS
static_cast<QTextEdit*>(ptr)->print(static_cast<QPagedPaintDevice*>(printer));
#endif
}
void* QTileRules_NewQTileRules(long long horizontalRule, long long verticalRule)
{
return new QTileRules(static_cast<Qt::TileRule>(horizontalRule), static_cast<Qt::TileRule>(verticalRule));
}
void* QTileRules_NewQTileRules2(long long rule)
{
return new QTileRules(static_cast<Qt::TileRule>(rule));
}
long long QTileRules_Horizontal(void* ptr)
{
return static_cast<QTileRules*>(ptr)->horizontal;
}
void QTileRules_SetHorizontal(void* ptr, long long vqt)
{
static_cast<QTileRules*>(ptr)->horizontal = static_cast<Qt::TileRule>(vqt);
}
long long QTileRules_Vertical(void* ptr)
{
return static_cast<QTileRules*>(ptr)->vertical;
}
void QTileRules_SetVertical(void* ptr, long long vqt)
{
static_cast<QTileRules*>(ptr)->vertical = static_cast<Qt::TileRule>(vqt);
}
class MyQTimeEdit: public QTimeEdit
{
public:
MyQTimeEdit(QWidget *parent) : QTimeEdit(parent) {};
MyQTimeEdit(const QTime &time, QWidget *parent) : QTimeEdit(time, parent) {};
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
void clear() { callbackQDateTimeEdit_Clear(this); };
void Signal_DateChanged(const QDate & date) { callbackQDateTimeEdit_DateChanged(this, const_cast<QDate*>(&date)); };
void Signal_DateTimeChanged(const QDateTime & datetime) { callbackQDateTimeEdit_DateTimeChanged(this, const_cast<QDateTime*>(&datetime)); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void setDate(const QDate & date) { callbackQDateTimeEdit_SetDate(this, const_cast<QDate*>(&date)); };
void setDateTime(const QDateTime & dateTime) { callbackQDateTimeEdit_SetDateTime(this, const_cast<QDateTime*>(&dateTime)); };
void setTime(const QTime & time) { callbackQDateTimeEdit_SetTime(this, const_cast<QTime*>(&time)); };
void stepBy(int steps) { callbackQAbstractSpinBox_StepBy(this, steps); };
void Signal_TimeChanged(const QTime & time) { callbackQDateTimeEdit_TimeChanged(this, const_cast<QTime*>(&time)); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
QDateTime dateTimeFromText(const QString & text) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };return *static_cast<QDateTime*>(callbackQDateTimeEdit_DateTimeFromText(const_cast<void*>(static_cast<const void*>(this)), textPacked)); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QString textFromDateTime(const QDateTime & dateTime) const { return QString(callbackQDateTimeEdit_TextFromDateTime(const_cast<void*>(static_cast<const void*>(this)), const_cast<QDateTime*>(&dateTime))); };
QValidator::State validate(QString & text, int & pos) const { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast<char*>(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };return static_cast<QValidator::State>(callbackQAbstractSpinBox_Validate(const_cast<void*>(static_cast<const void*>(this)), textPacked, pos)); };
StepEnabled stepEnabled() const { return static_cast<QAbstractSpinBox::StepEnabledFlag>(callbackQAbstractSpinBox_StepEnabled(const_cast<void*>(static_cast<const void*>(this)))); };
void fixup(QString & input) const { QByteArray t140f86 = input.toUtf8(); QtWidgets_PackedString inputPacked = { const_cast<char*>(t140f86.prepend("WHITESPACE").constData()+10), t140f86.size()-10 };callbackQAbstractSpinBox_Fixup(const_cast<void*>(static_cast<const void*>(this)), inputPacked); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_EditingFinished() { callbackQAbstractSpinBox_EditingFinished(this); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void selectAll() { callbackQAbstractSpinBox_SelectAll(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void stepDown() { callbackQAbstractSpinBox_StepDown(this); };
void stepUp() { callbackQAbstractSpinBox_StepUp(this); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QTimeEdit_NewQTimeEdit(void* parent)
{
return new MyQTimeEdit(static_cast<QWidget*>(parent));
}
void* QTimeEdit_NewQTimeEdit2(void* time, void* parent)
{
return new MyQTimeEdit(*static_cast<QTime*>(time), static_cast<QWidget*>(parent));
}
void QTimeEdit_DestroyQTimeEdit(void* ptr)
{
static_cast<QTimeEdit*>(ptr)->~QTimeEdit();
}
class MyQToolBar: public QToolBar
{
public:
MyQToolBar(QWidget *parent) : QToolBar(parent) {};
MyQToolBar(const QString &title, QWidget *parent) : QToolBar(title, parent) {};
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void Signal_ActionTriggered(QAction * action) { callbackQToolBar_ActionTriggered(this, action); };
void Signal_AllowedAreasChanged(Qt::ToolBarAreas allowedAreas) { callbackQToolBar_AllowedAreasChanged(this, allowedAreas); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void Signal_IconSizeChanged(const QSize & iconSize) { callbackQToolBar_IconSizeChanged(this, const_cast<QSize*>(&iconSize)); };
void Signal_MovableChanged(bool movable) { callbackQToolBar_MovableChanged(this, movable); };
void Signal_OrientationChanged(Qt::Orientation orientation) { callbackQToolBar_OrientationChanged(this, orientation); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void setIconSize(const QSize & iconSize) { callbackQToolBar_SetIconSize(this, const_cast<QSize*>(&iconSize)); };
void setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle) { callbackQToolBar_SetToolButtonStyle(this, toolButtonStyle); };
void Signal_ToolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle) { callbackQToolBar_ToolButtonStyleChanged(this, toolButtonStyle); };
void Signal_TopLevelChanged(bool topLevel) { callbackQToolBar_TopLevelChanged(this, topLevel); };
void Signal_VisibilityChanged(bool visible) { callbackQToolBar_VisibilityChanged(this, visible); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QToolBar_AddAction2(void* ptr, void* icon, char* text)
{
return static_cast<QToolBar*>(ptr)->addAction(*static_cast<QIcon*>(icon), QString(text));
}
void* QToolBar_AddAction4(void* ptr, void* icon, char* text, void* receiver, char* member)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(receiver))) {
return static_cast<QToolBar*>(ptr)->addAction(*static_cast<QIcon*>(icon), QString(text), static_cast<QGraphicsObject*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(receiver))) {
return static_cast<QToolBar*>(ptr)->addAction(*static_cast<QIcon*>(icon), QString(text), static_cast<QGraphicsWidget*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(receiver))) {
return static_cast<QToolBar*>(ptr)->addAction(*static_cast<QIcon*>(icon), QString(text), static_cast<QLayout*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(receiver))) {
return static_cast<QToolBar*>(ptr)->addAction(*static_cast<QIcon*>(icon), QString(text), static_cast<QWidget*>(receiver), const_cast<const char*>(member));
} else {
return static_cast<QToolBar*>(ptr)->addAction(*static_cast<QIcon*>(icon), QString(text), static_cast<QObject*>(receiver), const_cast<const char*>(member));
}
}
void* QToolBar_AddAction(void* ptr, char* text)
{
return static_cast<QToolBar*>(ptr)->addAction(QString(text));
}
void* QToolBar_AddAction3(void* ptr, char* text, void* receiver, char* member)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(receiver))) {
return static_cast<QToolBar*>(ptr)->addAction(QString(text), static_cast<QGraphicsObject*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(receiver))) {
return static_cast<QToolBar*>(ptr)->addAction(QString(text), static_cast<QGraphicsWidget*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(receiver))) {
return static_cast<QToolBar*>(ptr)->addAction(QString(text), static_cast<QLayout*>(receiver), const_cast<const char*>(member));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(receiver))) {
return static_cast<QToolBar*>(ptr)->addAction(QString(text), static_cast<QWidget*>(receiver), const_cast<const char*>(member));
} else {
return static_cast<QToolBar*>(ptr)->addAction(QString(text), static_cast<QObject*>(receiver), const_cast<const char*>(member));
}
}
void* QToolBar_AddSeparator(void* ptr)
{
return static_cast<QToolBar*>(ptr)->addSeparator();
}
void* QToolBar_AddWidget(void* ptr, void* widget)
{
return static_cast<QToolBar*>(ptr)->addWidget(static_cast<QWidget*>(widget));
}
void* QToolBar_InsertSeparator(void* ptr, void* before)
{
return static_cast<QToolBar*>(ptr)->insertSeparator(static_cast<QAction*>(before));
}
void* QToolBar_InsertWidget(void* ptr, void* before, void* widget)
{
return static_cast<QToolBar*>(ptr)->insertWidget(static_cast<QAction*>(before), static_cast<QWidget*>(widget));
}
void* QToolBar_NewQToolBar2(void* parent)
{
return new MyQToolBar(static_cast<QWidget*>(parent));
}
void* QToolBar_NewQToolBar(char* title, void* parent)
{
return new MyQToolBar(QString(title), static_cast<QWidget*>(parent));
}
void QToolBar_ConnectActionTriggered(void* ptr)
{
QObject::connect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(QAction *)>(&QToolBar::actionTriggered), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(QAction *)>(&MyQToolBar::Signal_ActionTriggered));
}
void QToolBar_DisconnectActionTriggered(void* ptr)
{
QObject::disconnect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(QAction *)>(&QToolBar::actionTriggered), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(QAction *)>(&MyQToolBar::Signal_ActionTriggered));
}
void QToolBar_ActionTriggered(void* ptr, void* action)
{
static_cast<QToolBar*>(ptr)->actionTriggered(static_cast<QAction*>(action));
}
void QToolBar_ConnectAllowedAreasChanged(void* ptr)
{
QObject::connect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(Qt::ToolBarAreas)>(&QToolBar::allowedAreasChanged), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(Qt::ToolBarAreas)>(&MyQToolBar::Signal_AllowedAreasChanged));
}
void QToolBar_DisconnectAllowedAreasChanged(void* ptr)
{
QObject::disconnect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(Qt::ToolBarAreas)>(&QToolBar::allowedAreasChanged), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(Qt::ToolBarAreas)>(&MyQToolBar::Signal_AllowedAreasChanged));
}
void QToolBar_AllowedAreasChanged(void* ptr, long long allowedAreas)
{
static_cast<QToolBar*>(ptr)->allowedAreasChanged(static_cast<Qt::ToolBarArea>(allowedAreas));
}
void QToolBar_Clear(void* ptr)
{
static_cast<QToolBar*>(ptr)->clear();
}
void QToolBar_ConnectIconSizeChanged(void* ptr)
{
QObject::connect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(const QSize &)>(&QToolBar::iconSizeChanged), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(const QSize &)>(&MyQToolBar::Signal_IconSizeChanged));
}
void QToolBar_DisconnectIconSizeChanged(void* ptr)
{
QObject::disconnect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(const QSize &)>(&QToolBar::iconSizeChanged), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(const QSize &)>(&MyQToolBar::Signal_IconSizeChanged));
}
void QToolBar_IconSizeChanged(void* ptr, void* iconSize)
{
static_cast<QToolBar*>(ptr)->iconSizeChanged(*static_cast<QSize*>(iconSize));
}
void QToolBar_ConnectMovableChanged(void* ptr)
{
QObject::connect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(bool)>(&QToolBar::movableChanged), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(bool)>(&MyQToolBar::Signal_MovableChanged));
}
void QToolBar_DisconnectMovableChanged(void* ptr)
{
QObject::disconnect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(bool)>(&QToolBar::movableChanged), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(bool)>(&MyQToolBar::Signal_MovableChanged));
}
void QToolBar_MovableChanged(void* ptr, char movable)
{
static_cast<QToolBar*>(ptr)->movableChanged(movable != 0);
}
void QToolBar_ConnectOrientationChanged(void* ptr)
{
QObject::connect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(Qt::Orientation)>(&QToolBar::orientationChanged), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(Qt::Orientation)>(&MyQToolBar::Signal_OrientationChanged));
}
void QToolBar_DisconnectOrientationChanged(void* ptr)
{
QObject::disconnect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(Qt::Orientation)>(&QToolBar::orientationChanged), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(Qt::Orientation)>(&MyQToolBar::Signal_OrientationChanged));
}
void QToolBar_OrientationChanged(void* ptr, long long orientation)
{
static_cast<QToolBar*>(ptr)->orientationChanged(static_cast<Qt::Orientation>(orientation));
}
void QToolBar_SetAllowedAreas(void* ptr, long long areas)
{
static_cast<QToolBar*>(ptr)->setAllowedAreas(static_cast<Qt::ToolBarArea>(areas));
}
void QToolBar_SetFloatable(void* ptr, char floatable)
{
static_cast<QToolBar*>(ptr)->setFloatable(floatable != 0);
}
void QToolBar_SetIconSize(void* ptr, void* iconSize)
{
QMetaObject::invokeMethod(static_cast<QToolBar*>(ptr), "setIconSize", Q_ARG(QSize, *static_cast<QSize*>(iconSize)));
}
void QToolBar_SetIconSizeDefault(void* ptr, void* iconSize)
{
static_cast<QToolBar*>(ptr)->QToolBar::setIconSize(*static_cast<QSize*>(iconSize));
}
void QToolBar_SetMovable(void* ptr, char movable)
{
static_cast<QToolBar*>(ptr)->setMovable(movable != 0);
}
void QToolBar_SetOrientation(void* ptr, long long orientation)
{
static_cast<QToolBar*>(ptr)->setOrientation(static_cast<Qt::Orientation>(orientation));
}
void QToolBar_SetToolButtonStyle(void* ptr, long long toolButtonStyle)
{
QMetaObject::invokeMethod(static_cast<QToolBar*>(ptr), "setToolButtonStyle", Q_ARG(Qt::ToolButtonStyle, static_cast<Qt::ToolButtonStyle>(toolButtonStyle)));
}
void QToolBar_SetToolButtonStyleDefault(void* ptr, long long toolButtonStyle)
{
static_cast<QToolBar*>(ptr)->QToolBar::setToolButtonStyle(static_cast<Qt::ToolButtonStyle>(toolButtonStyle));
}
void QToolBar_ConnectToolButtonStyleChanged(void* ptr)
{
QObject::connect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(Qt::ToolButtonStyle)>(&QToolBar::toolButtonStyleChanged), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(Qt::ToolButtonStyle)>(&MyQToolBar::Signal_ToolButtonStyleChanged));
}
void QToolBar_DisconnectToolButtonStyleChanged(void* ptr)
{
QObject::disconnect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(Qt::ToolButtonStyle)>(&QToolBar::toolButtonStyleChanged), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(Qt::ToolButtonStyle)>(&MyQToolBar::Signal_ToolButtonStyleChanged));
}
void QToolBar_ToolButtonStyleChanged(void* ptr, long long toolButtonStyle)
{
static_cast<QToolBar*>(ptr)->toolButtonStyleChanged(static_cast<Qt::ToolButtonStyle>(toolButtonStyle));
}
void QToolBar_ConnectTopLevelChanged(void* ptr)
{
QObject::connect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(bool)>(&QToolBar::topLevelChanged), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(bool)>(&MyQToolBar::Signal_TopLevelChanged));
}
void QToolBar_DisconnectTopLevelChanged(void* ptr)
{
QObject::disconnect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(bool)>(&QToolBar::topLevelChanged), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(bool)>(&MyQToolBar::Signal_TopLevelChanged));
}
void QToolBar_TopLevelChanged(void* ptr, char topLevel)
{
static_cast<QToolBar*>(ptr)->topLevelChanged(topLevel != 0);
}
void QToolBar_ConnectVisibilityChanged(void* ptr)
{
QObject::connect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(bool)>(&QToolBar::visibilityChanged), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(bool)>(&MyQToolBar::Signal_VisibilityChanged));
}
void QToolBar_DisconnectVisibilityChanged(void* ptr)
{
QObject::disconnect(static_cast<QToolBar*>(ptr), static_cast<void (QToolBar::*)(bool)>(&QToolBar::visibilityChanged), static_cast<MyQToolBar*>(ptr), static_cast<void (MyQToolBar::*)(bool)>(&MyQToolBar::Signal_VisibilityChanged));
}
void QToolBar_VisibilityChanged(void* ptr, char visible)
{
static_cast<QToolBar*>(ptr)->visibilityChanged(visible != 0);
}
void QToolBar_DestroyQToolBar(void* ptr)
{
static_cast<QToolBar*>(ptr)->~QToolBar();
}
void* QToolBar_ActionAt(void* ptr, void* p)
{
return static_cast<QToolBar*>(ptr)->actionAt(*static_cast<QPoint*>(p));
}
void* QToolBar_ActionAt2(void* ptr, int x, int y)
{
return static_cast<QToolBar*>(ptr)->actionAt(x, y);
}
void* QToolBar_ToggleViewAction(void* ptr)
{
return static_cast<QToolBar*>(ptr)->toggleViewAction();
}
void* QToolBar_IconSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QToolBar*>(ptr)->iconSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QToolBar_WidgetForAction(void* ptr, void* action)
{
return static_cast<QToolBar*>(ptr)->widgetForAction(static_cast<QAction*>(action));
}
long long QToolBar_Orientation(void* ptr)
{
return static_cast<QToolBar*>(ptr)->orientation();
}
long long QToolBar_AllowedAreas(void* ptr)
{
return static_cast<QToolBar*>(ptr)->allowedAreas();
}
long long QToolBar_ToolButtonStyle(void* ptr)
{
return static_cast<QToolBar*>(ptr)->toolButtonStyle();
}
char QToolBar_IsAreaAllowed(void* ptr, long long area)
{
return static_cast<QToolBar*>(ptr)->isAreaAllowed(static_cast<Qt::ToolBarArea>(area));
}
char QToolBar_IsFloatable(void* ptr)
{
return static_cast<QToolBar*>(ptr)->isFloatable();
}
char QToolBar_IsFloating(void* ptr)
{
return static_cast<QToolBar*>(ptr)->isFloating();
}
char QToolBar_IsMovable(void* ptr)
{
return static_cast<QToolBar*>(ptr)->isMovable();
}
class MyQToolBox: public QToolBox
{
public:
MyQToolBox(QWidget *parent, Qt::WindowFlags f) : QToolBox(parent, f) {};
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
void Signal_CurrentChanged(int index) { callbackQToolBox_CurrentChanged(this, index); };
void itemInserted(int index) { callbackQToolBox_ItemInserted(this, index); };
void itemRemoved(int index) { callbackQToolBox_ItemRemoved(this, index); };
void setCurrentIndex(int index) { callbackQToolBox_SetCurrentIndex(this, index); };
void setCurrentWidget(QWidget * widget) { callbackQToolBox_SetCurrentWidget(this, widget); };
void showEvent(QShowEvent * e) { callbackQWidget_ShowEvent(this, e); };
void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QToolBox_NewQToolBox(void* parent, long long fo)
{
return new MyQToolBox(static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(fo));
}
int QToolBox_AddItem2(void* ptr, void* w, char* text)
{
return static_cast<QToolBox*>(ptr)->addItem(static_cast<QWidget*>(w), QString(text));
}
int QToolBox_AddItem(void* ptr, void* widget, void* iconSet, char* text)
{
return static_cast<QToolBox*>(ptr)->addItem(static_cast<QWidget*>(widget), *static_cast<QIcon*>(iconSet), QString(text));
}
int QToolBox_InsertItem(void* ptr, int index, void* widget, void* icon, char* text)
{
return static_cast<QToolBox*>(ptr)->insertItem(index, static_cast<QWidget*>(widget), *static_cast<QIcon*>(icon), QString(text));
}
int QToolBox_InsertItem2(void* ptr, int index, void* widget, char* text)
{
return static_cast<QToolBox*>(ptr)->insertItem(index, static_cast<QWidget*>(widget), QString(text));
}
void QToolBox_ConnectCurrentChanged(void* ptr)
{
QObject::connect(static_cast<QToolBox*>(ptr), static_cast<void (QToolBox::*)(int)>(&QToolBox::currentChanged), static_cast<MyQToolBox*>(ptr), static_cast<void (MyQToolBox::*)(int)>(&MyQToolBox::Signal_CurrentChanged));
}
void QToolBox_DisconnectCurrentChanged(void* ptr)
{
QObject::disconnect(static_cast<QToolBox*>(ptr), static_cast<void (QToolBox::*)(int)>(&QToolBox::currentChanged), static_cast<MyQToolBox*>(ptr), static_cast<void (MyQToolBox::*)(int)>(&MyQToolBox::Signal_CurrentChanged));
}
void QToolBox_CurrentChanged(void* ptr, int index)
{
static_cast<QToolBox*>(ptr)->currentChanged(index);
}
void QToolBox_ItemInserted(void* ptr, int index)
{
static_cast<QToolBox*>(ptr)->itemInserted(index);
}
void QToolBox_ItemInsertedDefault(void* ptr, int index)
{
static_cast<QToolBox*>(ptr)->QToolBox::itemInserted(index);
}
void QToolBox_ItemRemoved(void* ptr, int index)
{
static_cast<QToolBox*>(ptr)->itemRemoved(index);
}
void QToolBox_ItemRemovedDefault(void* ptr, int index)
{
static_cast<QToolBox*>(ptr)->QToolBox::itemRemoved(index);
}
void QToolBox_RemoveItem(void* ptr, int index)
{
static_cast<QToolBox*>(ptr)->removeItem(index);
}
void QToolBox_SetCurrentIndex(void* ptr, int index)
{
QMetaObject::invokeMethod(static_cast<QToolBox*>(ptr), "setCurrentIndex", Q_ARG(int, index));
}
void QToolBox_SetCurrentIndexDefault(void* ptr, int index)
{
static_cast<QToolBox*>(ptr)->QToolBox::setCurrentIndex(index);
}
void QToolBox_SetCurrentWidget(void* ptr, void* widget)
{
QMetaObject::invokeMethod(static_cast<QToolBox*>(ptr), "setCurrentWidget", Q_ARG(QWidget*, static_cast<QWidget*>(widget)));
}
void QToolBox_SetCurrentWidgetDefault(void* ptr, void* widget)
{
static_cast<QToolBox*>(ptr)->QToolBox::setCurrentWidget(static_cast<QWidget*>(widget));
}
void QToolBox_SetItemEnabled(void* ptr, int index, char enabled)
{
static_cast<QToolBox*>(ptr)->setItemEnabled(index, enabled != 0);
}
void QToolBox_SetItemIcon(void* ptr, int index, void* icon)
{
static_cast<QToolBox*>(ptr)->setItemIcon(index, *static_cast<QIcon*>(icon));
}
void QToolBox_SetItemText(void* ptr, int index, char* text)
{
static_cast<QToolBox*>(ptr)->setItemText(index, QString(text));
}
void QToolBox_SetItemToolTip(void* ptr, int index, char* toolTip)
{
static_cast<QToolBox*>(ptr)->setItemToolTip(index, QString(toolTip));
}
void QToolBox_DestroyQToolBox(void* ptr)
{
static_cast<QToolBox*>(ptr)->~QToolBox();
}
void* QToolBox_ItemIcon(void* ptr, int index)
{
return new QIcon(static_cast<QToolBox*>(ptr)->itemIcon(index));
}
struct QtWidgets_PackedString QToolBox_ItemText(void* ptr, int index)
{
return ({ QByteArray tbfa329 = static_cast<QToolBox*>(ptr)->itemText(index).toUtf8(); QtWidgets_PackedString { const_cast<char*>(tbfa329.prepend("WHITESPACE").constData()+10), tbfa329.size()-10 }; });
}
struct QtWidgets_PackedString QToolBox_ItemToolTip(void* ptr, int index)
{
return ({ QByteArray ta445d4 = static_cast<QToolBox*>(ptr)->itemToolTip(index).toUtf8(); QtWidgets_PackedString { const_cast<char*>(ta445d4.prepend("WHITESPACE").constData()+10), ta445d4.size()-10 }; });
}
void* QToolBox_CurrentWidget(void* ptr)
{
return static_cast<QToolBox*>(ptr)->currentWidget();
}
void* QToolBox_Widget(void* ptr, int index)
{
return static_cast<QToolBox*>(ptr)->widget(index);
}
char QToolBox_IsItemEnabled(void* ptr, int index)
{
return static_cast<QToolBox*>(ptr)->isItemEnabled(index);
}
int QToolBox_Count(void* ptr)
{
return static_cast<QToolBox*>(ptr)->count();
}
int QToolBox_CurrentIndex(void* ptr)
{
return static_cast<QToolBox*>(ptr)->currentIndex();
}
int QToolBox_IndexOf(void* ptr, void* widget)
{
return static_cast<QToolBox*>(ptr)->indexOf(static_cast<QWidget*>(widget));
}
class MyQToolButton: public QToolButton
{
public:
MyQToolButton(QWidget *parent) : QToolButton(parent) {};
void paintEvent(QPaintEvent * event) { callbackQToolButton_PaintEvent(this, event); };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); };
void enterEvent(QEvent * e) { callbackQWidget_EnterEvent(this, e); };
void leaveEvent(QEvent * e) { callbackQWidget_LeaveEvent(this, e); };
void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void nextCheckState() { callbackQAbstractButton_NextCheckState(this); };
void setDefaultAction(QAction * action) { callbackQToolButton_SetDefaultAction(this, action); };
void setToolButtonStyle(Qt::ToolButtonStyle style) { callbackQToolButton_SetToolButtonStyle(this, style); };
void showMenu() { callbackQToolButton_ShowMenu(this); };
void Signal_Triggered(QAction * action) { callbackQToolButton_Triggered(this, action); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool hitButton(const QPoint & pos) const { return callbackQAbstractButton_HitButton(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&pos)) != 0; };
void animateClick(int msec) { callbackQAbstractButton_AnimateClick(this, msec); };
void checkStateSet() { callbackQAbstractButton_CheckStateSet(this); };
void click() { callbackQAbstractButton_Click(this); };
void Signal_Clicked(bool checked) { callbackQAbstractButton_Clicked(this, checked); };
void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); };
void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void Signal_Pressed() { callbackQAbstractButton_Pressed(this); };
void Signal_Released() { callbackQAbstractButton_Released(this); };
void setChecked(bool vbo) { callbackQAbstractButton_SetChecked(this, vbo); };
void setIconSize(const QSize & size) { callbackQAbstractButton_SetIconSize(this, const_cast<QSize*>(&size)); };
void toggle() { callbackQAbstractButton_Toggle(this); };
void Signal_Toggled(bool checked) { callbackQAbstractButton_Toggled(this, checked); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void QToolButton_PaintEvent(void* ptr, void* event)
{
static_cast<QToolButton*>(ptr)->paintEvent(static_cast<QPaintEvent*>(event));
}
void QToolButton_PaintEventDefault(void* ptr, void* event)
{
static_cast<QToolButton*>(ptr)->QToolButton::paintEvent(static_cast<QPaintEvent*>(event));
}
void* QToolButton_NewQToolButton(void* parent)
{
return new MyQToolButton(static_cast<QWidget*>(parent));
}
void QToolButton_SetArrowType(void* ptr, long long ty)
{
static_cast<QToolButton*>(ptr)->setArrowType(static_cast<Qt::ArrowType>(ty));
}
void QToolButton_SetAutoRaise(void* ptr, char enable)
{
static_cast<QToolButton*>(ptr)->setAutoRaise(enable != 0);
}
void QToolButton_SetDefaultAction(void* ptr, void* action)
{
QMetaObject::invokeMethod(static_cast<QToolButton*>(ptr), "setDefaultAction", Q_ARG(QAction*, static_cast<QAction*>(action)));
}
void QToolButton_SetDefaultActionDefault(void* ptr, void* action)
{
static_cast<QToolButton*>(ptr)->QToolButton::setDefaultAction(static_cast<QAction*>(action));
}
void QToolButton_SetMenu(void* ptr, void* menu)
{
static_cast<QToolButton*>(ptr)->setMenu(static_cast<QMenu*>(menu));
}
void QToolButton_SetPopupMode(void* ptr, long long mode)
{
static_cast<QToolButton*>(ptr)->setPopupMode(static_cast<QToolButton::ToolButtonPopupMode>(mode));
}
void QToolButton_SetToolButtonStyle(void* ptr, long long style)
{
QMetaObject::invokeMethod(static_cast<QToolButton*>(ptr), "setToolButtonStyle", Q_ARG(Qt::ToolButtonStyle, static_cast<Qt::ToolButtonStyle>(style)));
}
void QToolButton_SetToolButtonStyleDefault(void* ptr, long long style)
{
static_cast<QToolButton*>(ptr)->QToolButton::setToolButtonStyle(static_cast<Qt::ToolButtonStyle>(style));
}
void QToolButton_ShowMenu(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QToolButton*>(ptr), "showMenu");
}
void QToolButton_ShowMenuDefault(void* ptr)
{
static_cast<QToolButton*>(ptr)->QToolButton::showMenu();
}
void QToolButton_ConnectTriggered(void* ptr)
{
QObject::connect(static_cast<QToolButton*>(ptr), static_cast<void (QToolButton::*)(QAction *)>(&QToolButton::triggered), static_cast<MyQToolButton*>(ptr), static_cast<void (MyQToolButton::*)(QAction *)>(&MyQToolButton::Signal_Triggered));
}
void QToolButton_DisconnectTriggered(void* ptr)
{
QObject::disconnect(static_cast<QToolButton*>(ptr), static_cast<void (QToolButton::*)(QAction *)>(&QToolButton::triggered), static_cast<MyQToolButton*>(ptr), static_cast<void (MyQToolButton::*)(QAction *)>(&MyQToolButton::Signal_Triggered));
}
void QToolButton_Triggered(void* ptr, void* action)
{
static_cast<QToolButton*>(ptr)->triggered(static_cast<QAction*>(action));
}
void QToolButton_DestroyQToolButton(void* ptr)
{
static_cast<QToolButton*>(ptr)->~QToolButton();
}
void* QToolButton_DefaultAction(void* ptr)
{
return static_cast<QToolButton*>(ptr)->defaultAction();
}
void* QToolButton_Menu(void* ptr)
{
return static_cast<QToolButton*>(ptr)->menu();
}
long long QToolButton_ArrowType(void* ptr)
{
return static_cast<QToolButton*>(ptr)->arrowType();
}
long long QToolButton_ToolButtonStyle(void* ptr)
{
return static_cast<QToolButton*>(ptr)->toolButtonStyle();
}
long long QToolButton_PopupMode(void* ptr)
{
return static_cast<QToolButton*>(ptr)->popupMode();
}
char QToolButton_AutoRaise(void* ptr)
{
return static_cast<QToolButton*>(ptr)->autoRaise();
}
void QToolButton_InitStyleOption(void* ptr, void* option)
{
static_cast<QToolButton*>(ptr)->initStyleOption(static_cast<QStyleOptionToolButton*>(option));
}
void* QToolTip_QToolTip_Font()
{
return new QFont(QToolTip::font());
}
void* QToolTip_QToolTip_Palette()
{
return new QPalette(QToolTip::palette());
}
struct QtWidgets_PackedString QToolTip_QToolTip_Text()
{
return ({ QByteArray tdd5458 = QToolTip::text().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tdd5458.prepend("WHITESPACE").constData()+10), tdd5458.size()-10 }; });
}
char QToolTip_QToolTip_IsVisible()
{
return QToolTip::isVisible();
}
void QToolTip_QToolTip_HideText()
{
QToolTip::hideText();
}
void QToolTip_QToolTip_SetFont(void* font)
{
QToolTip::setFont(*static_cast<QFont*>(font));
}
void QToolTip_QToolTip_SetPalette(void* palette)
{
QToolTip::setPalette(*static_cast<QPalette*>(palette));
}
void QToolTip_QToolTip_ShowText2(void* pos, char* text, void* w)
{
QToolTip::showText(*static_cast<QPoint*>(pos), QString(text), static_cast<QWidget*>(w));
}
void QToolTip_QToolTip_ShowText(void* pos, char* text, void* w, void* rect)
{
QToolTip::showText(*static_cast<QPoint*>(pos), QString(text), static_cast<QWidget*>(w), *static_cast<QRect*>(rect));
}
void QToolTip_QToolTip_ShowText3(void* pos, char* text, void* w, void* rect, int msecDisplayTime)
{
QToolTip::showText(*static_cast<QPoint*>(pos), QString(text), static_cast<QWidget*>(w), *static_cast<QRect*>(rect), msecDisplayTime);
}
class MyQTreeView: public QTreeView
{
public:
MyQTreeView(QWidget *parent) : QTreeView(parent) {};
QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast<QModelIndex*>(callbackQTreeView_MoveCursor(this, cursorAction, modifiers)); };
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void collapse(const QModelIndex & index) { callbackQTreeView_Collapse(this, const_cast<QModelIndex*>(&index)); };
void collapseAll() { callbackQTreeView_CollapseAll(this); };
void Signal_Collapsed(const QModelIndex & index) { callbackQTreeView_Collapsed(this, const_cast<QModelIndex*>(&index)); };
void columnCountChanged(int oldCount, int newCount) { callbackQTreeView_ColumnCountChanged(this, oldCount, newCount); };
void columnMoved() { callbackQTreeView_ColumnMoved(this); };
void columnResized(int column, int oldSize, int newSize) { callbackQTreeView_ColumnResized(this, column, oldSize, newSize); };
void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQTreeView_CurrentChanged(this, const_cast<QModelIndex*>(&current), const_cast<QModelIndex*>(&previous)); };
void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector<int> & roles) { callbackQTreeView_DataChanged(this, const_cast<QModelIndex*>(&topLeft), const_cast<QModelIndex*>(&bottomRight), ({ QVector<int>* tmpValue = const_cast<QVector<int>*>(&roles); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void expand(const QModelIndex & index) { callbackQTreeView_Expand(this, const_cast<QModelIndex*>(&index)); };
void expandAll() { callbackQTreeView_ExpandAll(this); };
void expandToDepth(int depth) { callbackQTreeView_ExpandToDepth(this, depth); };
void Signal_Expanded(const QModelIndex & index) { callbackQTreeView_Expanded(this, const_cast<QModelIndex*>(&index)); };
void hideColumn(int column) { callbackQTreeView_HideColumn(this, column); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyboardSearch(const QString & search) { QByteArray t3559d7 = search.toUtf8(); QtWidgets_PackedString searchPacked = { const_cast<char*>(t3559d7.prepend("WHITESPACE").constData()+10), t3559d7.size()-10 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void reset() { callbackQTreeView_Reset(this); };
void resizeColumnToContents(int column) { callbackQTreeView_ResizeColumnToContents(this, column); };
void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQTreeView_RowsAboutToBeRemoved(this, const_cast<QModelIndex*>(&parent), start, end); };
void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQTreeView_RowsInserted(this, const_cast<QModelIndex*>(&parent), start, end); };
void rowsRemoved(const QModelIndex & parent, int start, int end) { callbackQTreeView_RowsRemoved(this, const_cast<QModelIndex*>(&parent), start, end); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQTreeView_ScrollTo(this, const_cast<QModelIndex*>(&index), hint); };
void selectAll() { callbackQTreeView_SelectAll(this); };
void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQTreeView_SelectionChanged(this, const_cast<QItemSelection*>(&selected), const_cast<QItemSelection*>(&deselected)); };
void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); };
void setRootIndex(const QModelIndex & index) { callbackQTreeView_SetRootIndex(this, const_cast<QModelIndex*>(&index)); };
void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags command) { callbackQTreeView_SetSelection(this, const_cast<QRect*>(&rect), command); };
void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); };
void showColumn(int column) { callbackQTreeView_ShowColumn(this, column); };
void updateGeometries() { callbackQTreeView_UpdateGeometries(this); };
QModelIndex indexAt(const QPoint & point) const { return *static_cast<QModelIndex*>(callbackQTreeView_IndexAt(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&point))); };
QList<QModelIndex> selectedIndexes() const { return *static_cast<QList<QModelIndex>*>(callbackQAbstractItemView_SelectedIndexes(const_cast<void*>(static_cast<const void*>(this)))); };
QRect visualRect(const QModelIndex & index) const { return *static_cast<QRect*>(callbackQTreeView_VisualRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast<QRegion*>(callbackQTreeView_VisualRegionForSelection(const_cast<void*>(static_cast<const void*>(this)), const_cast<QItemSelection*>(&selection))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool isIndexHidden(const QModelIndex & index) const { return callbackQTreeView_IsIndexHidden(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index)) != 0; };
int horizontalOffset() const { return callbackQTreeView_HorizontalOffset(const_cast<void*>(static_cast<const void*>(this))); };
int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast<void*>(static_cast<const void*>(this)), column); };
int verticalOffset() const { return callbackQTreeView_VerticalOffset(const_cast<void*>(static_cast<const void*>(this))); };
void drawBranches(QPainter * painter, const QRect & rect, const QModelIndex & index) const { callbackQTreeView_DrawBranches(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QRect*>(&rect), const_cast<QModelIndex*>(&index)); };
void drawRow(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQTreeView_DrawRow(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index)); };
bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast<QModelIndex*>(&index), trigger, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast<QModelIndex*>(&index)); };
void clearSelection() { callbackQAbstractItemView_ClearSelection(this); };
void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast<QModelIndex*>(&index)); };
void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); };
void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); };
void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast<QModelIndex*>(&index)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast<QModelIndex*>(&index)); };
void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); };
void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast<QModelIndex*>(&index)); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast<QSize*>(&size)); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast<QModelIndex*>(&index)); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); };
void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); };
void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast<QModelIndex*>(&index)); };
void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); };
void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast<QModelIndex*>(&index)); };
void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); };
QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast<QItemSelectionModel::SelectionFlag>(callbackQAbstractItemView_SelectionCommand(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index), const_cast<QEvent*>(event))); };
QStyleOptionViewItem viewOptions() const { return *static_cast<QStyleOptionViewItem*>(callbackQAbstractItemView_ViewOptions(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast<void*>(static_cast<const void*>(this)), row); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QTreeView_MoveCursor(void* ptr, long long cursorAction, long long modifiers)
{
return new QModelIndex(static_cast<QTreeView*>(ptr)->moveCursor(static_cast<QAbstractItemView::CursorAction>(cursorAction), static_cast<Qt::KeyboardModifier>(modifiers)));
}
void* QTreeView_MoveCursorDefault(void* ptr, long long cursorAction, long long modifiers)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return new QModelIndex(static_cast<QTreeWidget*>(ptr)->QTreeWidget::moveCursor(static_cast<QAbstractItemView::CursorAction>(cursorAction), static_cast<Qt::KeyboardModifier>(modifiers)));
} else {
return new QModelIndex(static_cast<QTreeView*>(ptr)->QTreeView::moveCursor(static_cast<QAbstractItemView::CursorAction>(cursorAction), static_cast<Qt::KeyboardModifier>(modifiers)));
}
}
void* QTreeView_NewQTreeView(void* parent)
{
return new MyQTreeView(static_cast<QWidget*>(parent));
}
void QTreeView_Collapse(void* ptr, void* index)
{
QMetaObject::invokeMethod(static_cast<QTreeView*>(ptr), "collapse", Q_ARG(QModelIndex, *static_cast<QModelIndex*>(index)));
}
void QTreeView_CollapseDefault(void* ptr, void* index)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::collapse(*static_cast<QModelIndex*>(index));
} else {
static_cast<QTreeView*>(ptr)->QTreeView::collapse(*static_cast<QModelIndex*>(index));
}
}
void QTreeView_CollapseAll(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTreeView*>(ptr), "collapseAll");
}
void QTreeView_CollapseAllDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::collapseAll();
} else {
static_cast<QTreeView*>(ptr)->QTreeView::collapseAll();
}
}
void QTreeView_ConnectCollapsed(void* ptr)
{
QObject::connect(static_cast<QTreeView*>(ptr), static_cast<void (QTreeView::*)(const QModelIndex &)>(&QTreeView::collapsed), static_cast<MyQTreeView*>(ptr), static_cast<void (MyQTreeView::*)(const QModelIndex &)>(&MyQTreeView::Signal_Collapsed));
}
void QTreeView_DisconnectCollapsed(void* ptr)
{
QObject::disconnect(static_cast<QTreeView*>(ptr), static_cast<void (QTreeView::*)(const QModelIndex &)>(&QTreeView::collapsed), static_cast<MyQTreeView*>(ptr), static_cast<void (MyQTreeView::*)(const QModelIndex &)>(&MyQTreeView::Signal_Collapsed));
}
void QTreeView_Collapsed(void* ptr, void* index)
{
static_cast<QTreeView*>(ptr)->collapsed(*static_cast<QModelIndex*>(index));
}
void QTreeView_ColumnCountChanged(void* ptr, int oldCount, int newCount)
{
QMetaObject::invokeMethod(static_cast<QTreeView*>(ptr), "columnCountChanged", Q_ARG(int, oldCount), Q_ARG(int, newCount));
}
void QTreeView_ColumnCountChangedDefault(void* ptr, int oldCount, int newCount)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::columnCountChanged(oldCount, newCount);
} else {
static_cast<QTreeView*>(ptr)->QTreeView::columnCountChanged(oldCount, newCount);
}
}
void QTreeView_ColumnMoved(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTreeView*>(ptr), "columnMoved");
}
void QTreeView_ColumnMovedDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::columnMoved();
} else {
static_cast<QTreeView*>(ptr)->QTreeView::columnMoved();
}
}
void QTreeView_ColumnResized(void* ptr, int column, int oldSize, int newSize)
{
QMetaObject::invokeMethod(static_cast<QTreeView*>(ptr), "columnResized", Q_ARG(int, column), Q_ARG(int, oldSize), Q_ARG(int, newSize));
}
void QTreeView_ColumnResizedDefault(void* ptr, int column, int oldSize, int newSize)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::columnResized(column, oldSize, newSize);
} else {
static_cast<QTreeView*>(ptr)->QTreeView::columnResized(column, oldSize, newSize);
}
}
void QTreeView_CurrentChanged(void* ptr, void* current, void* previous)
{
static_cast<QTreeView*>(ptr)->currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
}
void QTreeView_CurrentChangedDefault(void* ptr, void* current, void* previous)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
} else {
static_cast<QTreeView*>(ptr)->QTreeView::currentChanged(*static_cast<QModelIndex*>(current), *static_cast<QModelIndex*>(previous));
}
}
void QTreeView_DataChanged(void* ptr, void* topLeft, void* bottomRight, void* roles)
{
static_cast<QTreeView*>(ptr)->dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
}
void QTreeView_DataChangedDefault(void* ptr, void* topLeft, void* bottomRight, void* roles)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
} else {
static_cast<QTreeView*>(ptr)->QTreeView::dataChanged(*static_cast<QModelIndex*>(topLeft), *static_cast<QModelIndex*>(bottomRight), *static_cast<QVector<int>*>(roles));
}
}
void QTreeView_Expand(void* ptr, void* index)
{
QMetaObject::invokeMethod(static_cast<QTreeView*>(ptr), "expand", Q_ARG(QModelIndex, *static_cast<QModelIndex*>(index)));
}
void QTreeView_ExpandDefault(void* ptr, void* index)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::expand(*static_cast<QModelIndex*>(index));
} else {
static_cast<QTreeView*>(ptr)->QTreeView::expand(*static_cast<QModelIndex*>(index));
}
}
void QTreeView_ExpandAll(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTreeView*>(ptr), "expandAll");
}
void QTreeView_ExpandAllDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::expandAll();
} else {
static_cast<QTreeView*>(ptr)->QTreeView::expandAll();
}
}
void QTreeView_ExpandToDepth(void* ptr, int depth)
{
QMetaObject::invokeMethod(static_cast<QTreeView*>(ptr), "expandToDepth", Q_ARG(int, depth));
}
void QTreeView_ExpandToDepthDefault(void* ptr, int depth)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::expandToDepth(depth);
} else {
static_cast<QTreeView*>(ptr)->QTreeView::expandToDepth(depth);
}
}
void QTreeView_ConnectExpanded(void* ptr)
{
QObject::connect(static_cast<QTreeView*>(ptr), static_cast<void (QTreeView::*)(const QModelIndex &)>(&QTreeView::expanded), static_cast<MyQTreeView*>(ptr), static_cast<void (MyQTreeView::*)(const QModelIndex &)>(&MyQTreeView::Signal_Expanded));
}
void QTreeView_DisconnectExpanded(void* ptr)
{
QObject::disconnect(static_cast<QTreeView*>(ptr), static_cast<void (QTreeView::*)(const QModelIndex &)>(&QTreeView::expanded), static_cast<MyQTreeView*>(ptr), static_cast<void (MyQTreeView::*)(const QModelIndex &)>(&MyQTreeView::Signal_Expanded));
}
void QTreeView_Expanded(void* ptr, void* index)
{
static_cast<QTreeView*>(ptr)->expanded(*static_cast<QModelIndex*>(index));
}
void QTreeView_HideColumn(void* ptr, int column)
{
QMetaObject::invokeMethod(static_cast<QTreeView*>(ptr), "hideColumn", Q_ARG(int, column));
}
void QTreeView_HideColumnDefault(void* ptr, int column)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::hideColumn(column);
} else {
static_cast<QTreeView*>(ptr)->QTreeView::hideColumn(column);
}
}
void QTreeView_Reset(void* ptr)
{
static_cast<QTreeView*>(ptr)->reset();
}
void QTreeView_ResetDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::reset();
} else {
static_cast<QTreeView*>(ptr)->QTreeView::reset();
}
}
void QTreeView_ResetIndentation(void* ptr)
{
static_cast<QTreeView*>(ptr)->resetIndentation();
}
void QTreeView_ResizeColumnToContents(void* ptr, int column)
{
QMetaObject::invokeMethod(static_cast<QTreeView*>(ptr), "resizeColumnToContents", Q_ARG(int, column));
}
void QTreeView_ResizeColumnToContentsDefault(void* ptr, int column)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::resizeColumnToContents(column);
} else {
static_cast<QTreeView*>(ptr)->QTreeView::resizeColumnToContents(column);
}
}
void QTreeView_RowsAboutToBeRemoved(void* ptr, void* parent, int start, int end)
{
static_cast<QTreeView*>(ptr)->rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
}
void QTreeView_RowsAboutToBeRemovedDefault(void* ptr, void* parent, int start, int end)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
} else {
static_cast<QTreeView*>(ptr)->QTreeView::rowsAboutToBeRemoved(*static_cast<QModelIndex*>(parent), start, end);
}
}
void QTreeView_RowsInserted(void* ptr, void* parent, int start, int end)
{
static_cast<QTreeView*>(ptr)->rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
}
void QTreeView_RowsInsertedDefault(void* ptr, void* parent, int start, int end)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
} else {
static_cast<QTreeView*>(ptr)->QTreeView::rowsInserted(*static_cast<QModelIndex*>(parent), start, end);
}
}
void QTreeView_RowsRemoved(void* ptr, void* parent, int start, int end)
{
QMetaObject::invokeMethod(static_cast<QTreeView*>(ptr), "rowsRemoved", Q_ARG(QModelIndex, *static_cast<QModelIndex*>(parent)), Q_ARG(int, start), Q_ARG(int, end));
}
void QTreeView_RowsRemovedDefault(void* ptr, void* parent, int start, int end)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::rowsRemoved(*static_cast<QModelIndex*>(parent), start, end);
} else {
static_cast<QTreeView*>(ptr)->QTreeView::rowsRemoved(*static_cast<QModelIndex*>(parent), start, end);
}
}
void QTreeView_ScrollTo(void* ptr, void* index, long long hint)
{
static_cast<QTreeView*>(ptr)->scrollTo(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::ScrollHint>(hint));
}
void QTreeView_ScrollToDefault(void* ptr, void* index, long long hint)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::scrollTo(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::ScrollHint>(hint));
} else {
static_cast<QTreeView*>(ptr)->QTreeView::scrollTo(*static_cast<QModelIndex*>(index), static_cast<QAbstractItemView::ScrollHint>(hint));
}
}
void QTreeView_SelectAll(void* ptr)
{
static_cast<QTreeView*>(ptr)->selectAll();
}
void QTreeView_SelectAllDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::selectAll();
} else {
static_cast<QTreeView*>(ptr)->QTreeView::selectAll();
}
}
void QTreeView_SelectionChanged(void* ptr, void* selected, void* deselected)
{
static_cast<QTreeView*>(ptr)->selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
}
void QTreeView_SelectionChangedDefault(void* ptr, void* selected, void* deselected)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
} else {
static_cast<QTreeView*>(ptr)->QTreeView::selectionChanged(*static_cast<QItemSelection*>(selected), *static_cast<QItemSelection*>(deselected));
}
}
void QTreeView_SetAllColumnsShowFocus(void* ptr, char enable)
{
static_cast<QTreeView*>(ptr)->setAllColumnsShowFocus(enable != 0);
}
void QTreeView_SetAnimated(void* ptr, char enable)
{
static_cast<QTreeView*>(ptr)->setAnimated(enable != 0);
}
void QTreeView_SetAutoExpandDelay(void* ptr, int delay)
{
static_cast<QTreeView*>(ptr)->setAutoExpandDelay(delay);
}
void QTreeView_SetColumnHidden(void* ptr, int column, char hide)
{
static_cast<QTreeView*>(ptr)->setColumnHidden(column, hide != 0);
}
void QTreeView_SetColumnWidth(void* ptr, int column, int width)
{
static_cast<QTreeView*>(ptr)->setColumnWidth(column, width);
}
void QTreeView_SetExpanded(void* ptr, void* index, char expanded)
{
static_cast<QTreeView*>(ptr)->setExpanded(*static_cast<QModelIndex*>(index), expanded != 0);
}
void QTreeView_SetExpandsOnDoubleClick(void* ptr, char enable)
{
static_cast<QTreeView*>(ptr)->setExpandsOnDoubleClick(enable != 0);
}
void QTreeView_SetFirstColumnSpanned(void* ptr, int row, void* parent, char span)
{
static_cast<QTreeView*>(ptr)->setFirstColumnSpanned(row, *static_cast<QModelIndex*>(parent), span != 0);
}
void QTreeView_SetHeader(void* ptr, void* header)
{
static_cast<QTreeView*>(ptr)->setHeader(static_cast<QHeaderView*>(header));
}
void QTreeView_SetHeaderHidden(void* ptr, char hide)
{
static_cast<QTreeView*>(ptr)->setHeaderHidden(hide != 0);
}
void QTreeView_SetIndentation(void* ptr, int i)
{
static_cast<QTreeView*>(ptr)->setIndentation(i);
}
void QTreeView_SetItemsExpandable(void* ptr, char enable)
{
static_cast<QTreeView*>(ptr)->setItemsExpandable(enable != 0);
}
void QTreeView_SetRootIndex(void* ptr, void* index)
{
static_cast<QTreeView*>(ptr)->setRootIndex(*static_cast<QModelIndex*>(index));
}
void QTreeView_SetRootIndexDefault(void* ptr, void* index)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::setRootIndex(*static_cast<QModelIndex*>(index));
} else {
static_cast<QTreeView*>(ptr)->QTreeView::setRootIndex(*static_cast<QModelIndex*>(index));
}
}
void QTreeView_SetRootIsDecorated(void* ptr, char show)
{
static_cast<QTreeView*>(ptr)->setRootIsDecorated(show != 0);
}
void QTreeView_SetRowHidden(void* ptr, int row, void* parent, char hide)
{
static_cast<QTreeView*>(ptr)->setRowHidden(row, *static_cast<QModelIndex*>(parent), hide != 0);
}
void QTreeView_SetSelection(void* ptr, void* rect, long long command)
{
static_cast<QTreeView*>(ptr)->setSelection(*static_cast<QRect*>(rect), static_cast<QItemSelectionModel::SelectionFlag>(command));
}
void QTreeView_SetSelectionDefault(void* ptr, void* rect, long long command)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::setSelection(*static_cast<QRect*>(rect), static_cast<QItemSelectionModel::SelectionFlag>(command));
} else {
static_cast<QTreeView*>(ptr)->QTreeView::setSelection(*static_cast<QRect*>(rect), static_cast<QItemSelectionModel::SelectionFlag>(command));
}
}
void QTreeView_SetSortingEnabled(void* ptr, char enable)
{
static_cast<QTreeView*>(ptr)->setSortingEnabled(enable != 0);
}
void QTreeView_SetTreePosition(void* ptr, int index)
{
static_cast<QTreeView*>(ptr)->setTreePosition(index);
}
void QTreeView_SetUniformRowHeights(void* ptr, char uniform)
{
static_cast<QTreeView*>(ptr)->setUniformRowHeights(uniform != 0);
}
void QTreeView_SetWordWrap(void* ptr, char on)
{
static_cast<QTreeView*>(ptr)->setWordWrap(on != 0);
}
void QTreeView_ShowColumn(void* ptr, int column)
{
QMetaObject::invokeMethod(static_cast<QTreeView*>(ptr), "showColumn", Q_ARG(int, column));
}
void QTreeView_ShowColumnDefault(void* ptr, int column)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::showColumn(column);
} else {
static_cast<QTreeView*>(ptr)->QTreeView::showColumn(column);
}
}
void QTreeView_SortByColumn(void* ptr, int column, long long order)
{
static_cast<QTreeView*>(ptr)->sortByColumn(column, static_cast<Qt::SortOrder>(order));
}
void QTreeView_UpdateGeometries(void* ptr)
{
static_cast<QTreeView*>(ptr)->updateGeometries();
}
void QTreeView_UpdateGeometriesDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::updateGeometries();
} else {
static_cast<QTreeView*>(ptr)->QTreeView::updateGeometries();
}
}
void QTreeView_DestroyQTreeView(void* ptr)
{
static_cast<QTreeView*>(ptr)->~QTreeView();
}
void* QTreeView_Header(void* ptr)
{
return static_cast<QTreeView*>(ptr)->header();
}
void* QTreeView_IndexAbove(void* ptr, void* index)
{
return new QModelIndex(static_cast<QTreeView*>(ptr)->indexAbove(*static_cast<QModelIndex*>(index)));
}
void* QTreeView_IndexAt(void* ptr, void* point)
{
return new QModelIndex(static_cast<QTreeView*>(ptr)->indexAt(*static_cast<QPoint*>(point)));
}
void* QTreeView_IndexAtDefault(void* ptr, void* point)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return new QModelIndex(static_cast<QTreeWidget*>(ptr)->QTreeWidget::indexAt(*static_cast<QPoint*>(point)));
} else {
return new QModelIndex(static_cast<QTreeView*>(ptr)->QTreeView::indexAt(*static_cast<QPoint*>(point)));
}
}
void* QTreeView_IndexBelow(void* ptr, void* index)
{
return new QModelIndex(static_cast<QTreeView*>(ptr)->indexBelow(*static_cast<QModelIndex*>(index)));
}
void* QTreeView_VisualRect(void* ptr, void* index)
{
return ({ QRect tmpValue = static_cast<QTreeView*>(ptr)->visualRect(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QTreeView_VisualRectDefault(void* ptr, void* index)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return ({ QRect tmpValue = static_cast<QTreeWidget*>(ptr)->QTreeWidget::visualRect(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
} else {
return ({ QRect tmpValue = static_cast<QTreeView*>(ptr)->QTreeView::visualRect(*static_cast<QModelIndex*>(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
}
void* QTreeView_VisualRegionForSelection(void* ptr, void* selection)
{
return new QRegion(static_cast<QTreeView*>(ptr)->visualRegionForSelection(*static_cast<QItemSelection*>(selection)));
}
void* QTreeView_VisualRegionForSelectionDefault(void* ptr, void* selection)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return new QRegion(static_cast<QTreeWidget*>(ptr)->QTreeWidget::visualRegionForSelection(*static_cast<QItemSelection*>(selection)));
} else {
return new QRegion(static_cast<QTreeView*>(ptr)->QTreeView::visualRegionForSelection(*static_cast<QItemSelection*>(selection)));
}
}
char QTreeView_AllColumnsShowFocus(void* ptr)
{
return static_cast<QTreeView*>(ptr)->allColumnsShowFocus();
}
char QTreeView_ExpandsOnDoubleClick(void* ptr)
{
return static_cast<QTreeView*>(ptr)->expandsOnDoubleClick();
}
char QTreeView_IsAnimated(void* ptr)
{
return static_cast<QTreeView*>(ptr)->isAnimated();
}
char QTreeView_IsColumnHidden(void* ptr, int column)
{
return static_cast<QTreeView*>(ptr)->isColumnHidden(column);
}
char QTreeView_IsExpanded(void* ptr, void* index)
{
return static_cast<QTreeView*>(ptr)->isExpanded(*static_cast<QModelIndex*>(index));
}
char QTreeView_IsFirstColumnSpanned(void* ptr, int row, void* parent)
{
return static_cast<QTreeView*>(ptr)->isFirstColumnSpanned(row, *static_cast<QModelIndex*>(parent));
}
char QTreeView_IsHeaderHidden(void* ptr)
{
return static_cast<QTreeView*>(ptr)->isHeaderHidden();
}
char QTreeView_IsIndexHidden(void* ptr, void* index)
{
return static_cast<QTreeView*>(ptr)->isIndexHidden(*static_cast<QModelIndex*>(index));
}
char QTreeView_IsIndexHiddenDefault(void* ptr, void* index)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::isIndexHidden(*static_cast<QModelIndex*>(index));
} else {
return static_cast<QTreeView*>(ptr)->QTreeView::isIndexHidden(*static_cast<QModelIndex*>(index));
}
}
char QTreeView_IsRowHidden(void* ptr, int row, void* parent)
{
return static_cast<QTreeView*>(ptr)->isRowHidden(row, *static_cast<QModelIndex*>(parent));
}
char QTreeView_IsSortingEnabled(void* ptr)
{
return static_cast<QTreeView*>(ptr)->isSortingEnabled();
}
char QTreeView_ItemsExpandable(void* ptr)
{
return static_cast<QTreeView*>(ptr)->itemsExpandable();
}
char QTreeView_RootIsDecorated(void* ptr)
{
return static_cast<QTreeView*>(ptr)->rootIsDecorated();
}
char QTreeView_UniformRowHeights(void* ptr)
{
return static_cast<QTreeView*>(ptr)->uniformRowHeights();
}
char QTreeView_WordWrap(void* ptr)
{
return static_cast<QTreeView*>(ptr)->wordWrap();
}
int QTreeView_AutoExpandDelay(void* ptr)
{
return static_cast<QTreeView*>(ptr)->autoExpandDelay();
}
int QTreeView_ColumnAt(void* ptr, int x)
{
return static_cast<QTreeView*>(ptr)->columnAt(x);
}
int QTreeView_ColumnViewportPosition(void* ptr, int column)
{
return static_cast<QTreeView*>(ptr)->columnViewportPosition(column);
}
int QTreeView_ColumnWidth(void* ptr, int column)
{
return static_cast<QTreeView*>(ptr)->columnWidth(column);
}
int QTreeView_HorizontalOffset(void* ptr)
{
return static_cast<QTreeView*>(ptr)->horizontalOffset();
}
int QTreeView_HorizontalOffsetDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::horizontalOffset();
} else {
return static_cast<QTreeView*>(ptr)->QTreeView::horizontalOffset();
}
}
int QTreeView_Indentation(void* ptr)
{
return static_cast<QTreeView*>(ptr)->indentation();
}
int QTreeView_IndexRowSizeHint(void* ptr, void* index)
{
return static_cast<QTreeView*>(ptr)->indexRowSizeHint(*static_cast<QModelIndex*>(index));
}
int QTreeView_RowHeight(void* ptr, void* index)
{
return static_cast<QTreeView*>(ptr)->rowHeight(*static_cast<QModelIndex*>(index));
}
int QTreeView_TreePosition(void* ptr)
{
return static_cast<QTreeView*>(ptr)->treePosition();
}
int QTreeView_VerticalOffset(void* ptr)
{
return static_cast<QTreeView*>(ptr)->verticalOffset();
}
int QTreeView_VerticalOffsetDefault(void* ptr)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::verticalOffset();
} else {
return static_cast<QTreeView*>(ptr)->QTreeView::verticalOffset();
}
}
void QTreeView_DrawBranches(void* ptr, void* painter, void* rect, void* index)
{
static_cast<QTreeView*>(ptr)->drawBranches(static_cast<QPainter*>(painter), *static_cast<QRect*>(rect), *static_cast<QModelIndex*>(index));
}
void QTreeView_DrawBranchesDefault(void* ptr, void* painter, void* rect, void* index)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::drawBranches(static_cast<QPainter*>(painter), *static_cast<QRect*>(rect), *static_cast<QModelIndex*>(index));
} else {
static_cast<QTreeView*>(ptr)->QTreeView::drawBranches(static_cast<QPainter*>(painter), *static_cast<QRect*>(rect), *static_cast<QModelIndex*>(index));
}
}
void QTreeView_DrawRow(void* ptr, void* painter, void* option, void* index)
{
static_cast<QTreeView*>(ptr)->drawRow(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
void QTreeView_DrawRowDefault(void* ptr, void* painter, void* option, void* index)
{
if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::drawRow(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
} else {
static_cast<QTreeView*>(ptr)->QTreeView::drawRow(static_cast<QPainter*>(painter), *static_cast<QStyleOptionViewItem*>(option), *static_cast<QModelIndex*>(index));
}
}
void QTreeView_DrawTree(void* ptr, void* painter, void* region)
{
static_cast<QTreeView*>(ptr)->drawTree(static_cast<QPainter*>(painter), *static_cast<QRegion*>(region));
}
class MyQTreeWidget: public QTreeWidget
{
public:
MyQTreeWidget(QWidget *parent) : QTreeWidget(parent) {};
bool dropMimeData(QTreeWidgetItem * parent, int index, const QMimeData * data, Qt::DropAction action) { return callbackQTreeWidget_DropMimeData(this, parent, index, const_cast<QMimeData*>(data), action) != 0; };
void clear() { callbackQTreeWidget_Clear(this); };
void collapseItem(const QTreeWidgetItem * item) { callbackQTreeWidget_CollapseItem(this, const_cast<QTreeWidgetItem*>(item)); };
void Signal_CurrentItemChanged(QTreeWidgetItem * current, QTreeWidgetItem * previous) { callbackQTreeWidget_CurrentItemChanged(this, current, previous); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void expandItem(const QTreeWidgetItem * item) { callbackQTreeWidget_ExpandItem(this, const_cast<QTreeWidgetItem*>(item)); };
void Signal_ItemActivated(QTreeWidgetItem * item, int column) { callbackQTreeWidget_ItemActivated(this, item, column); };
void Signal_ItemChanged(QTreeWidgetItem * item, int column) { callbackQTreeWidget_ItemChanged(this, item, column); };
void Signal_ItemClicked(QTreeWidgetItem * item, int column) { callbackQTreeWidget_ItemClicked(this, item, column); };
void Signal_ItemCollapsed(QTreeWidgetItem * item) { callbackQTreeWidget_ItemCollapsed(this, item); };
void Signal_ItemDoubleClicked(QTreeWidgetItem * item, int column) { callbackQTreeWidget_ItemDoubleClicked(this, item, column); };
void Signal_ItemEntered(QTreeWidgetItem * item, int column) { callbackQTreeWidget_ItemEntered(this, item, column); };
void Signal_ItemExpanded(QTreeWidgetItem * item) { callbackQTreeWidget_ItemExpanded(this, item); };
void Signal_ItemPressed(QTreeWidgetItem * item, int column) { callbackQTreeWidget_ItemPressed(this, item, column); };
void Signal_ItemSelectionChanged() { callbackQTreeWidget_ItemSelectionChanged(this); };
void scrollToItem(const QTreeWidgetItem * item, QAbstractItemView::ScrollHint hint) { callbackQTreeWidget_ScrollToItem(this, const_cast<QTreeWidgetItem*>(item), hint); };
void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); };
QMimeData * mimeData(const QList<QTreeWidgetItem *> items) const { return static_cast<QMimeData*>(callbackQTreeWidget_MimeData(const_cast<void*>(static_cast<const void*>(this)), ({ QList<QTreeWidgetItem *>* tmpValue = new QList<QTreeWidgetItem *>(items); QtWidgets_PackedList { tmpValue, tmpValue->size() }; }))); };
QStringList mimeTypes() const { return QString(callbackQTreeWidget_MimeTypes(const_cast<void*>(static_cast<const void*>(this)))).split("|", QString::SkipEmptyParts); };
Qt::DropActions supportedDropActions() const { return static_cast<Qt::DropAction>(callbackQTreeWidget_SupportedDropActions(const_cast<void*>(static_cast<const void*>(this)))); };
QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast<QModelIndex*>(callbackQTreeView_MoveCursor(this, cursorAction, modifiers)); };
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void collapse(const QModelIndex & index) { callbackQTreeView_Collapse(this, const_cast<QModelIndex*>(&index)); };
void collapseAll() { callbackQTreeView_CollapseAll(this); };
void Signal_Collapsed(const QModelIndex & index) { callbackQTreeView_Collapsed(this, const_cast<QModelIndex*>(&index)); };
void columnCountChanged(int oldCount, int newCount) { callbackQTreeView_ColumnCountChanged(this, oldCount, newCount); };
void columnMoved() { callbackQTreeView_ColumnMoved(this); };
void columnResized(int column, int oldSize, int newSize) { callbackQTreeView_ColumnResized(this, column, oldSize, newSize); };
void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQTreeView_CurrentChanged(this, const_cast<QModelIndex*>(&current), const_cast<QModelIndex*>(&previous)); };
void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector<int> & roles) { callbackQTreeView_DataChanged(this, const_cast<QModelIndex*>(&topLeft), const_cast<QModelIndex*>(&bottomRight), ({ QVector<int>* tmpValue = const_cast<QVector<int>*>(&roles); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void expand(const QModelIndex & index) { callbackQTreeView_Expand(this, const_cast<QModelIndex*>(&index)); };
void expandAll() { callbackQTreeView_ExpandAll(this); };
void expandToDepth(int depth) { callbackQTreeView_ExpandToDepth(this, depth); };
void Signal_Expanded(const QModelIndex & index) { callbackQTreeView_Expanded(this, const_cast<QModelIndex*>(&index)); };
void hideColumn(int column) { callbackQTreeView_HideColumn(this, column); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyboardSearch(const QString & search) { QByteArray t3559d7 = search.toUtf8(); QtWidgets_PackedString searchPacked = { const_cast<char*>(t3559d7.prepend("WHITESPACE").constData()+10), t3559d7.size()-10 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void reset() { callbackQTreeView_Reset(this); };
void resizeColumnToContents(int column) { callbackQTreeView_ResizeColumnToContents(this, column); };
void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQTreeView_RowsAboutToBeRemoved(this, const_cast<QModelIndex*>(&parent), start, end); };
void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQTreeView_RowsInserted(this, const_cast<QModelIndex*>(&parent), start, end); };
void rowsRemoved(const QModelIndex & parent, int start, int end) { callbackQTreeView_RowsRemoved(this, const_cast<QModelIndex*>(&parent), start, end); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQTreeView_ScrollTo(this, const_cast<QModelIndex*>(&index), hint); };
void selectAll() { callbackQTreeView_SelectAll(this); };
void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQTreeView_SelectionChanged(this, const_cast<QItemSelection*>(&selected), const_cast<QItemSelection*>(&deselected)); };
void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); };
void setRootIndex(const QModelIndex & index) { callbackQTreeView_SetRootIndex(this, const_cast<QModelIndex*>(&index)); };
void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags command) { callbackQTreeView_SetSelection(this, const_cast<QRect*>(&rect), command); };
void showColumn(int column) { callbackQTreeView_ShowColumn(this, column); };
void updateGeometries() { callbackQTreeView_UpdateGeometries(this); };
QModelIndex indexAt(const QPoint & point) const { return *static_cast<QModelIndex*>(callbackQTreeView_IndexAt(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&point))); };
QList<QModelIndex> selectedIndexes() const { return *static_cast<QList<QModelIndex>*>(callbackQAbstractItemView_SelectedIndexes(const_cast<void*>(static_cast<const void*>(this)))); };
QRect visualRect(const QModelIndex & index) const { return *static_cast<QRect*>(callbackQTreeView_VisualRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast<QRegion*>(callbackQTreeView_VisualRegionForSelection(const_cast<void*>(static_cast<const void*>(this)), const_cast<QItemSelection*>(&selection))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool isIndexHidden(const QModelIndex & index) const { return callbackQTreeView_IsIndexHidden(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index)) != 0; };
int horizontalOffset() const { return callbackQTreeView_HorizontalOffset(const_cast<void*>(static_cast<const void*>(this))); };
int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast<void*>(static_cast<const void*>(this)), column); };
int verticalOffset() const { return callbackQTreeView_VerticalOffset(const_cast<void*>(static_cast<const void*>(this))); };
void drawBranches(QPainter * painter, const QRect & rect, const QModelIndex & index) const { callbackQTreeView_DrawBranches(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QRect*>(&rect), const_cast<QModelIndex*>(&index)); };
void drawRow(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQTreeView_DrawRow(const_cast<void*>(static_cast<const void*>(this)), painter, const_cast<QStyleOptionViewItem*>(&option), const_cast<QModelIndex*>(&index)); };
bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast<QModelIndex*>(&index), trigger, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast<QModelIndex*>(&index)); };
void clearSelection() { callbackQAbstractItemView_ClearSelection(this); };
void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast<QModelIndex*>(&index)); };
void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); };
void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); };
void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast<QModelIndex*>(&index)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast<QModelIndex*>(&index)); };
void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); };
void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast<QModelIndex*>(&index)); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast<QSize*>(&size)); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast<QModelIndex*>(&index)); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); };
void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); };
void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast<QModelIndex*>(&index)); };
void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); };
void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast<QModelIndex*>(&index)); };
void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); };
QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast<QItemSelectionModel::SelectionFlag>(callbackQAbstractItemView_SelectionCommand(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index), const_cast<QEvent*>(event))); };
QStyleOptionViewItem viewOptions() const { return *static_cast<QStyleOptionViewItem*>(callbackQAbstractItemView_ViewOptions(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast<void*>(static_cast<const void*>(this)), row); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QTreeWidget_NewQTreeWidget(void* parent)
{
return new MyQTreeWidget(static_cast<QWidget*>(parent));
}
void* QTreeWidget_TakeTopLevelItem(void* ptr, int index)
{
return static_cast<QTreeWidget*>(ptr)->takeTopLevelItem(index);
}
char QTreeWidget_DropMimeData(void* ptr, void* parent, int index, void* data, long long action)
{
return static_cast<QTreeWidget*>(ptr)->dropMimeData(static_cast<QTreeWidgetItem*>(parent), index, static_cast<QMimeData*>(data), static_cast<Qt::DropAction>(action));
}
char QTreeWidget_DropMimeDataDefault(void* ptr, void* parent, int index, void* data, long long action)
{
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::dropMimeData(static_cast<QTreeWidgetItem*>(parent), index, static_cast<QMimeData*>(data), static_cast<Qt::DropAction>(action));
}
void QTreeWidget_AddTopLevelItem(void* ptr, void* item)
{
static_cast<QTreeWidget*>(ptr)->addTopLevelItem(static_cast<QTreeWidgetItem*>(item));
}
void QTreeWidget_AddTopLevelItems(void* ptr, void* items)
{
static_cast<QTreeWidget*>(ptr)->addTopLevelItems(*static_cast<QList<QTreeWidgetItem *>*>(items));
}
void QTreeWidget_Clear(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QTreeWidget*>(ptr), "clear");
}
void QTreeWidget_ClearDefault(void* ptr)
{
static_cast<QTreeWidget*>(ptr)->QTreeWidget::clear();
}
void QTreeWidget_ClosePersistentEditor(void* ptr, void* item, int column)
{
static_cast<QTreeWidget*>(ptr)->closePersistentEditor(static_cast<QTreeWidgetItem*>(item), column);
}
void QTreeWidget_CollapseItem(void* ptr, void* item)
{
QMetaObject::invokeMethod(static_cast<QTreeWidget*>(ptr), "collapseItem", Q_ARG(QTreeWidgetItem*, static_cast<QTreeWidgetItem*>(item)));
}
void QTreeWidget_CollapseItemDefault(void* ptr, void* item)
{
static_cast<QTreeWidget*>(ptr)->QTreeWidget::collapseItem(static_cast<QTreeWidgetItem*>(item));
}
void QTreeWidget_ConnectCurrentItemChanged(void* ptr)
{
QObject::connect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *, QTreeWidgetItem *)>(&QTreeWidget::currentItemChanged), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *, QTreeWidgetItem *)>(&MyQTreeWidget::Signal_CurrentItemChanged));
}
void QTreeWidget_DisconnectCurrentItemChanged(void* ptr)
{
QObject::disconnect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *, QTreeWidgetItem *)>(&QTreeWidget::currentItemChanged), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *, QTreeWidgetItem *)>(&MyQTreeWidget::Signal_CurrentItemChanged));
}
void QTreeWidget_CurrentItemChanged(void* ptr, void* current, void* previous)
{
static_cast<QTreeWidget*>(ptr)->currentItemChanged(static_cast<QTreeWidgetItem*>(current), static_cast<QTreeWidgetItem*>(previous));
}
void QTreeWidget_EditItem(void* ptr, void* item, int column)
{
static_cast<QTreeWidget*>(ptr)->editItem(static_cast<QTreeWidgetItem*>(item), column);
}
void QTreeWidget_ExpandItem(void* ptr, void* item)
{
QMetaObject::invokeMethod(static_cast<QTreeWidget*>(ptr), "expandItem", Q_ARG(QTreeWidgetItem*, static_cast<QTreeWidgetItem*>(item)));
}
void QTreeWidget_ExpandItemDefault(void* ptr, void* item)
{
static_cast<QTreeWidget*>(ptr)->QTreeWidget::expandItem(static_cast<QTreeWidgetItem*>(item));
}
void QTreeWidget_InsertTopLevelItem(void* ptr, int index, void* item)
{
static_cast<QTreeWidget*>(ptr)->insertTopLevelItem(index, static_cast<QTreeWidgetItem*>(item));
}
void QTreeWidget_InsertTopLevelItems(void* ptr, int index, void* items)
{
static_cast<QTreeWidget*>(ptr)->insertTopLevelItems(index, *static_cast<QList<QTreeWidgetItem *>*>(items));
}
void QTreeWidget_ConnectItemActivated(void* ptr)
{
QObject::connect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *, int)>(&QTreeWidget::itemActivated), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *, int)>(&MyQTreeWidget::Signal_ItemActivated));
}
void QTreeWidget_DisconnectItemActivated(void* ptr)
{
QObject::disconnect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *, int)>(&QTreeWidget::itemActivated), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *, int)>(&MyQTreeWidget::Signal_ItemActivated));
}
void QTreeWidget_ItemActivated(void* ptr, void* item, int column)
{
static_cast<QTreeWidget*>(ptr)->itemActivated(static_cast<QTreeWidgetItem*>(item), column);
}
void QTreeWidget_ConnectItemChanged(void* ptr)
{
QObject::connect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *, int)>(&QTreeWidget::itemChanged), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *, int)>(&MyQTreeWidget::Signal_ItemChanged));
}
void QTreeWidget_DisconnectItemChanged(void* ptr)
{
QObject::disconnect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *, int)>(&QTreeWidget::itemChanged), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *, int)>(&MyQTreeWidget::Signal_ItemChanged));
}
void QTreeWidget_ItemChanged(void* ptr, void* item, int column)
{
static_cast<QTreeWidget*>(ptr)->itemChanged(static_cast<QTreeWidgetItem*>(item), column);
}
void QTreeWidget_ConnectItemClicked(void* ptr)
{
QObject::connect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *, int)>(&QTreeWidget::itemClicked), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *, int)>(&MyQTreeWidget::Signal_ItemClicked));
}
void QTreeWidget_DisconnectItemClicked(void* ptr)
{
QObject::disconnect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *, int)>(&QTreeWidget::itemClicked), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *, int)>(&MyQTreeWidget::Signal_ItemClicked));
}
void QTreeWidget_ItemClicked(void* ptr, void* item, int column)
{
static_cast<QTreeWidget*>(ptr)->itemClicked(static_cast<QTreeWidgetItem*>(item), column);
}
void QTreeWidget_ConnectItemCollapsed(void* ptr)
{
QObject::connect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *)>(&QTreeWidget::itemCollapsed), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *)>(&MyQTreeWidget::Signal_ItemCollapsed));
}
void QTreeWidget_DisconnectItemCollapsed(void* ptr)
{
QObject::disconnect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *)>(&QTreeWidget::itemCollapsed), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *)>(&MyQTreeWidget::Signal_ItemCollapsed));
}
void QTreeWidget_ItemCollapsed(void* ptr, void* item)
{
static_cast<QTreeWidget*>(ptr)->itemCollapsed(static_cast<QTreeWidgetItem*>(item));
}
void QTreeWidget_ConnectItemDoubleClicked(void* ptr)
{
QObject::connect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *, int)>(&QTreeWidget::itemDoubleClicked), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *, int)>(&MyQTreeWidget::Signal_ItemDoubleClicked));
}
void QTreeWidget_DisconnectItemDoubleClicked(void* ptr)
{
QObject::disconnect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *, int)>(&QTreeWidget::itemDoubleClicked), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *, int)>(&MyQTreeWidget::Signal_ItemDoubleClicked));
}
void QTreeWidget_ItemDoubleClicked(void* ptr, void* item, int column)
{
static_cast<QTreeWidget*>(ptr)->itemDoubleClicked(static_cast<QTreeWidgetItem*>(item), column);
}
void QTreeWidget_ConnectItemEntered(void* ptr)
{
QObject::connect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *, int)>(&QTreeWidget::itemEntered), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *, int)>(&MyQTreeWidget::Signal_ItemEntered));
}
void QTreeWidget_DisconnectItemEntered(void* ptr)
{
QObject::disconnect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *, int)>(&QTreeWidget::itemEntered), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *, int)>(&MyQTreeWidget::Signal_ItemEntered));
}
void QTreeWidget_ItemEntered(void* ptr, void* item, int column)
{
static_cast<QTreeWidget*>(ptr)->itemEntered(static_cast<QTreeWidgetItem*>(item), column);
}
void QTreeWidget_ConnectItemExpanded(void* ptr)
{
QObject::connect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *)>(&QTreeWidget::itemExpanded), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *)>(&MyQTreeWidget::Signal_ItemExpanded));
}
void QTreeWidget_DisconnectItemExpanded(void* ptr)
{
QObject::disconnect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *)>(&QTreeWidget::itemExpanded), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *)>(&MyQTreeWidget::Signal_ItemExpanded));
}
void QTreeWidget_ItemExpanded(void* ptr, void* item)
{
static_cast<QTreeWidget*>(ptr)->itemExpanded(static_cast<QTreeWidgetItem*>(item));
}
void QTreeWidget_ConnectItemPressed(void* ptr)
{
QObject::connect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *, int)>(&QTreeWidget::itemPressed), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *, int)>(&MyQTreeWidget::Signal_ItemPressed));
}
void QTreeWidget_DisconnectItemPressed(void* ptr)
{
QObject::disconnect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)(QTreeWidgetItem *, int)>(&QTreeWidget::itemPressed), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)(QTreeWidgetItem *, int)>(&MyQTreeWidget::Signal_ItemPressed));
}
void QTreeWidget_ItemPressed(void* ptr, void* item, int column)
{
static_cast<QTreeWidget*>(ptr)->itemPressed(static_cast<QTreeWidgetItem*>(item), column);
}
void QTreeWidget_ConnectItemSelectionChanged(void* ptr)
{
QObject::connect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)()>(&QTreeWidget::itemSelectionChanged), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)()>(&MyQTreeWidget::Signal_ItemSelectionChanged));
}
void QTreeWidget_DisconnectItemSelectionChanged(void* ptr)
{
QObject::disconnect(static_cast<QTreeWidget*>(ptr), static_cast<void (QTreeWidget::*)()>(&QTreeWidget::itemSelectionChanged), static_cast<MyQTreeWidget*>(ptr), static_cast<void (MyQTreeWidget::*)()>(&MyQTreeWidget::Signal_ItemSelectionChanged));
}
void QTreeWidget_ItemSelectionChanged(void* ptr)
{
static_cast<QTreeWidget*>(ptr)->itemSelectionChanged();
}
void QTreeWidget_OpenPersistentEditor(void* ptr, void* item, int column)
{
static_cast<QTreeWidget*>(ptr)->openPersistentEditor(static_cast<QTreeWidgetItem*>(item), column);
}
void QTreeWidget_RemoveItemWidget(void* ptr, void* item, int column)
{
static_cast<QTreeWidget*>(ptr)->removeItemWidget(static_cast<QTreeWidgetItem*>(item), column);
}
void QTreeWidget_ScrollToItem(void* ptr, void* item, long long hint)
{
QMetaObject::invokeMethod(static_cast<QTreeWidget*>(ptr), "scrollToItem", Q_ARG(QTreeWidgetItem*, static_cast<QTreeWidgetItem*>(item)), Q_ARG(QAbstractItemView::ScrollHint, static_cast<QAbstractItemView::ScrollHint>(hint)));
}
void QTreeWidget_ScrollToItemDefault(void* ptr, void* item, long long hint)
{
static_cast<QTreeWidget*>(ptr)->QTreeWidget::scrollToItem(static_cast<QTreeWidgetItem*>(item), static_cast<QAbstractItemView::ScrollHint>(hint));
}
void QTreeWidget_SetColumnCount(void* ptr, int columns)
{
static_cast<QTreeWidget*>(ptr)->setColumnCount(columns);
}
void QTreeWidget_SetCurrentItem(void* ptr, void* item)
{
static_cast<QTreeWidget*>(ptr)->setCurrentItem(static_cast<QTreeWidgetItem*>(item));
}
void QTreeWidget_SetCurrentItem2(void* ptr, void* item, int column)
{
static_cast<QTreeWidget*>(ptr)->setCurrentItem(static_cast<QTreeWidgetItem*>(item), column);
}
void QTreeWidget_SetCurrentItem3(void* ptr, void* item, int column, long long command)
{
static_cast<QTreeWidget*>(ptr)->setCurrentItem(static_cast<QTreeWidgetItem*>(item), column, static_cast<QItemSelectionModel::SelectionFlag>(command));
}
void QTreeWidget_SetFirstItemColumnSpanned(void* ptr, void* item, char span)
{
static_cast<QTreeWidget*>(ptr)->setFirstItemColumnSpanned(static_cast<QTreeWidgetItem*>(item), span != 0);
}
void QTreeWidget_SetHeaderItem(void* ptr, void* item)
{
static_cast<QTreeWidget*>(ptr)->setHeaderItem(static_cast<QTreeWidgetItem*>(item));
}
void QTreeWidget_SetHeaderLabel(void* ptr, char* label)
{
static_cast<QTreeWidget*>(ptr)->setHeaderLabel(QString(label));
}
void QTreeWidget_SetHeaderLabels(void* ptr, char* labels)
{
static_cast<QTreeWidget*>(ptr)->setHeaderLabels(QString(labels).split("|", QString::SkipEmptyParts));
}
void QTreeWidget_SetItemWidget(void* ptr, void* item, int column, void* widget)
{
static_cast<QTreeWidget*>(ptr)->setItemWidget(static_cast<QTreeWidgetItem*>(item), column, static_cast<QWidget*>(widget));
}
void QTreeWidget_SortItems(void* ptr, int column, long long order)
{
static_cast<QTreeWidget*>(ptr)->sortItems(column, static_cast<Qt::SortOrder>(order));
}
void QTreeWidget_DestroyQTreeWidget(void* ptr)
{
static_cast<QTreeWidget*>(ptr)->~QTreeWidget();
}
struct QtWidgets_PackedList QTreeWidget_FindItems(void* ptr, char* text, long long flags, int column)
{
return ({ QList<QTreeWidgetItem *>* tmpValue = new QList<QTreeWidgetItem *>(static_cast<QTreeWidget*>(ptr)->findItems(QString(text), static_cast<Qt::MatchFlag>(flags), column)); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QTreeWidget_SelectedItems(void* ptr)
{
return ({ QList<QTreeWidgetItem *>* tmpValue = new QList<QTreeWidgetItem *>(static_cast<QTreeWidget*>(ptr)->selectedItems()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QTreeWidget_MimeData(void* ptr, void* items)
{
return static_cast<QTreeWidget*>(ptr)->mimeData(*static_cast<QList<QTreeWidgetItem *>*>(items));
}
void* QTreeWidget_MimeDataDefault(void* ptr, void* items)
{
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::mimeData(*static_cast<QList<QTreeWidgetItem *>*>(items));
}
void* QTreeWidget_IndexFromItem(void* ptr, void* item, int column)
{
return new QModelIndex(static_cast<QTreeWidget*>(ptr)->indexFromItem(static_cast<QTreeWidgetItem*>(item), column));
}
void* QTreeWidget_VisualItemRect(void* ptr, void* item)
{
return ({ QRect tmpValue = static_cast<QTreeWidget*>(ptr)->visualItemRect(static_cast<QTreeWidgetItem*>(item)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QTreeWidget_MimeTypes(void* ptr)
{
return ({ QByteArray t212f68 = static_cast<QTreeWidget*>(ptr)->mimeTypes().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(t212f68.prepend("WHITESPACE").constData()+10), t212f68.size()-10 }; });
}
struct QtWidgets_PackedString QTreeWidget_MimeTypesDefault(void* ptr)
{
return ({ QByteArray te2438e = static_cast<QTreeWidget*>(ptr)->QTreeWidget::mimeTypes().join("|").toUtf8(); QtWidgets_PackedString { const_cast<char*>(te2438e.prepend("WHITESPACE").constData()+10), te2438e.size()-10 }; });
}
void* QTreeWidget_CurrentItem(void* ptr)
{
return static_cast<QTreeWidget*>(ptr)->currentItem();
}
void* QTreeWidget_HeaderItem(void* ptr)
{
return static_cast<QTreeWidget*>(ptr)->headerItem();
}
void* QTreeWidget_InvisibleRootItem(void* ptr)
{
return static_cast<QTreeWidget*>(ptr)->invisibleRootItem();
}
void* QTreeWidget_ItemAbove(void* ptr, void* item)
{
return static_cast<QTreeWidget*>(ptr)->itemAbove(static_cast<QTreeWidgetItem*>(item));
}
void* QTreeWidget_ItemAt(void* ptr, void* p)
{
return static_cast<QTreeWidget*>(ptr)->itemAt(*static_cast<QPoint*>(p));
}
void* QTreeWidget_ItemAt2(void* ptr, int x, int y)
{
return static_cast<QTreeWidget*>(ptr)->itemAt(x, y);
}
void* QTreeWidget_ItemBelow(void* ptr, void* item)
{
return static_cast<QTreeWidget*>(ptr)->itemBelow(static_cast<QTreeWidgetItem*>(item));
}
void* QTreeWidget_ItemFromIndex(void* ptr, void* index)
{
return static_cast<QTreeWidget*>(ptr)->itemFromIndex(*static_cast<QModelIndex*>(index));
}
void* QTreeWidget_TopLevelItem(void* ptr, int index)
{
return static_cast<QTreeWidget*>(ptr)->topLevelItem(index);
}
void* QTreeWidget_ItemWidget(void* ptr, void* item, int column)
{
return static_cast<QTreeWidget*>(ptr)->itemWidget(static_cast<QTreeWidgetItem*>(item), column);
}
long long QTreeWidget_SupportedDropActions(void* ptr)
{
return static_cast<QTreeWidget*>(ptr)->supportedDropActions();
}
long long QTreeWidget_SupportedDropActionsDefault(void* ptr)
{
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::supportedDropActions();
}
char QTreeWidget_IsFirstItemColumnSpanned(void* ptr, void* item)
{
return static_cast<QTreeWidget*>(ptr)->isFirstItemColumnSpanned(static_cast<QTreeWidgetItem*>(item));
}
int QTreeWidget_ColumnCount(void* ptr)
{
return static_cast<QTreeWidget*>(ptr)->columnCount();
}
int QTreeWidget_CurrentColumn(void* ptr)
{
return static_cast<QTreeWidget*>(ptr)->currentColumn();
}
int QTreeWidget_IndexOfTopLevelItem(void* ptr, void* item)
{
return static_cast<QTreeWidget*>(ptr)->indexOfTopLevelItem(static_cast<QTreeWidgetItem*>(item));
}
int QTreeWidget_SortColumn(void* ptr)
{
return static_cast<QTreeWidget*>(ptr)->sortColumn();
}
int QTreeWidget_TopLevelItemCount(void* ptr)
{
return static_cast<QTreeWidget*>(ptr)->topLevelItemCount();
}
void* QTreeWidget___addTopLevelItems_items_atList(void* ptr, int i)
{
return const_cast<QTreeWidgetItem*>(static_cast<QList<QTreeWidgetItem *>*>(ptr)->at(i));
}
void QTreeWidget___addTopLevelItems_items_setList(void* ptr, void* i)
{
static_cast<QList<QTreeWidgetItem *>*>(ptr)->append(static_cast<QTreeWidgetItem*>(i));
}
void* QTreeWidget___addTopLevelItems_items_newList(void* ptr)
{
return new QList<QTreeWidgetItem *>;
}
void* QTreeWidget___insertTopLevelItems_items_atList(void* ptr, int i)
{
return const_cast<QTreeWidgetItem*>(static_cast<QList<QTreeWidgetItem *>*>(ptr)->at(i));
}
void QTreeWidget___insertTopLevelItems_items_setList(void* ptr, void* i)
{
static_cast<QList<QTreeWidgetItem *>*>(ptr)->append(static_cast<QTreeWidgetItem*>(i));
}
void* QTreeWidget___insertTopLevelItems_items_newList(void* ptr)
{
return new QList<QTreeWidgetItem *>;
}
void* QTreeWidget___findItems_atList(void* ptr, int i)
{
return const_cast<QTreeWidgetItem*>(static_cast<QList<QTreeWidgetItem *>*>(ptr)->at(i));
}
void QTreeWidget___findItems_setList(void* ptr, void* i)
{
static_cast<QList<QTreeWidgetItem *>*>(ptr)->append(static_cast<QTreeWidgetItem*>(i));
}
void* QTreeWidget___findItems_newList(void* ptr)
{
return new QList<QTreeWidgetItem *>;
}
void* QTreeWidget___items_atList(void* ptr, int i)
{
return const_cast<QTreeWidgetItem*>(static_cast<QList<QTreeWidgetItem *>*>(ptr)->at(i));
}
void QTreeWidget___items_setList(void* ptr, void* i)
{
static_cast<QList<QTreeWidgetItem *>*>(ptr)->append(static_cast<QTreeWidgetItem*>(i));
}
void* QTreeWidget___items_newList(void* ptr)
{
return new QList<QTreeWidgetItem *>;
}
void* QTreeWidget___selectedItems_atList(void* ptr, int i)
{
return const_cast<QTreeWidgetItem*>(static_cast<QList<QTreeWidgetItem *>*>(ptr)->at(i));
}
void QTreeWidget___selectedItems_setList(void* ptr, void* i)
{
static_cast<QList<QTreeWidgetItem *>*>(ptr)->append(static_cast<QTreeWidgetItem*>(i));
}
void* QTreeWidget___selectedItems_newList(void* ptr)
{
return new QList<QTreeWidgetItem *>;
}
void* QTreeWidget___mimeData_items_atList(void* ptr, int i)
{
return const_cast<QTreeWidgetItem*>(static_cast<QList<QTreeWidgetItem *>*>(ptr)->at(i));
}
void QTreeWidget___mimeData_items_setList(void* ptr, void* i)
{
static_cast<QList<QTreeWidgetItem *>*>(ptr)->append(static_cast<QTreeWidgetItem*>(i));
}
void* QTreeWidget___mimeData_items_newList(void* ptr)
{
return new QList<QTreeWidgetItem *>;
}
class MyQTreeWidgetItem: public QTreeWidgetItem
{
public:
MyQTreeWidgetItem(QTreeWidget *parent, QTreeWidgetItem *preceding, int type) : QTreeWidgetItem(parent, preceding, type) {};
MyQTreeWidgetItem(QTreeWidget *parent, const QStringList &strings, int type) : QTreeWidgetItem(parent, strings, type) {};
MyQTreeWidgetItem(QTreeWidget *parent, int type) : QTreeWidgetItem(parent, type) {};
MyQTreeWidgetItem(QTreeWidgetItem *parent, QTreeWidgetItem *preceding, int type) : QTreeWidgetItem(parent, preceding, type) {};
MyQTreeWidgetItem(QTreeWidgetItem *parent, const QStringList &strings, int type) : QTreeWidgetItem(parent, strings, type) {};
MyQTreeWidgetItem(QTreeWidgetItem *parent, int type) : QTreeWidgetItem(parent, type) {};
MyQTreeWidgetItem(const QStringList &strings, int type) : QTreeWidgetItem(strings, type) {};
MyQTreeWidgetItem(const QTreeWidgetItem &other) : QTreeWidgetItem(other) {};
MyQTreeWidgetItem(int type) : QTreeWidgetItem(type) {};
void read(QDataStream & in) { callbackQTreeWidgetItem_Read(this, static_cast<QDataStream*>(&in)); };
void setData(int column, int role, const QVariant & value) { callbackQTreeWidgetItem_SetData(this, column, role, const_cast<QVariant*>(&value)); };
~MyQTreeWidgetItem() { callbackQTreeWidgetItem_DestroyQTreeWidgetItem(this); };
QTreeWidgetItem * clone() const { return static_cast<QTreeWidgetItem*>(callbackQTreeWidgetItem_Clone(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant data(int column, int role) const { return *static_cast<QVariant*>(callbackQTreeWidgetItem_Data(const_cast<void*>(static_cast<const void*>(this)), column, role)); };
void write(QDataStream & out) const { callbackQTreeWidgetItem_Write(const_cast<void*>(static_cast<const void*>(this)), static_cast<QDataStream*>(&out)); };
};
struct QtWidgets_PackedList QTreeWidgetItem_TakeChildren(void* ptr)
{
return ({ QList<QTreeWidgetItem *>* tmpValue = new QList<QTreeWidgetItem *>(static_cast<QTreeWidgetItem*>(ptr)->takeChildren()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QTreeWidgetItem_NewQTreeWidgetItem5(void* parent, void* preceding, int ty)
{
return new MyQTreeWidgetItem(static_cast<QTreeWidget*>(parent), static_cast<QTreeWidgetItem*>(preceding), ty);
}
void* QTreeWidgetItem_NewQTreeWidgetItem4(void* parent, char* strin, int ty)
{
return new MyQTreeWidgetItem(static_cast<QTreeWidget*>(parent), QString(strin).split("|", QString::SkipEmptyParts), ty);
}
void* QTreeWidgetItem_NewQTreeWidgetItem3(void* parent, int ty)
{
return new MyQTreeWidgetItem(static_cast<QTreeWidget*>(parent), ty);
}
void* QTreeWidgetItem_NewQTreeWidgetItem8(void* parent, void* preceding, int ty)
{
return new MyQTreeWidgetItem(static_cast<QTreeWidgetItem*>(parent), static_cast<QTreeWidgetItem*>(preceding), ty);
}
void* QTreeWidgetItem_TakeChild(void* ptr, int index)
{
return static_cast<QTreeWidgetItem*>(ptr)->takeChild(index);
}
void* QTreeWidgetItem_NewQTreeWidgetItem7(void* parent, char* strin, int ty)
{
return new MyQTreeWidgetItem(static_cast<QTreeWidgetItem*>(parent), QString(strin).split("|", QString::SkipEmptyParts), ty);
}
void* QTreeWidgetItem_NewQTreeWidgetItem6(void* parent, int ty)
{
return new MyQTreeWidgetItem(static_cast<QTreeWidgetItem*>(parent), ty);
}
void* QTreeWidgetItem_NewQTreeWidgetItem2(char* strin, int ty)
{
return new MyQTreeWidgetItem(QString(strin).split("|", QString::SkipEmptyParts), ty);
}
void* QTreeWidgetItem_NewQTreeWidgetItem9(void* other)
{
return new MyQTreeWidgetItem(*static_cast<QTreeWidgetItem*>(other));
}
void* QTreeWidgetItem_NewQTreeWidgetItem(int ty)
{
return new MyQTreeWidgetItem(ty);
}
void QTreeWidgetItem_AddChild(void* ptr, void* child)
{
static_cast<QTreeWidgetItem*>(ptr)->addChild(static_cast<QTreeWidgetItem*>(child));
}
void QTreeWidgetItem_AddChildren(void* ptr, void* children)
{
static_cast<QTreeWidgetItem*>(ptr)->addChildren(*static_cast<QList<QTreeWidgetItem *>*>(children));
}
void QTreeWidgetItem_EmitDataChanged(void* ptr)
{
static_cast<QTreeWidgetItem*>(ptr)->emitDataChanged();
}
void QTreeWidgetItem_InsertChild(void* ptr, int index, void* child)
{
static_cast<QTreeWidgetItem*>(ptr)->insertChild(index, static_cast<QTreeWidgetItem*>(child));
}
void QTreeWidgetItem_InsertChildren(void* ptr, int index, void* children)
{
static_cast<QTreeWidgetItem*>(ptr)->insertChildren(index, *static_cast<QList<QTreeWidgetItem *>*>(children));
}
void QTreeWidgetItem_Read(void* ptr, void* in)
{
static_cast<QTreeWidgetItem*>(ptr)->read(*static_cast<QDataStream*>(in));
}
void QTreeWidgetItem_ReadDefault(void* ptr, void* in)
{
static_cast<QTreeWidgetItem*>(ptr)->QTreeWidgetItem::read(*static_cast<QDataStream*>(in));
}
void QTreeWidgetItem_RemoveChild(void* ptr, void* child)
{
static_cast<QTreeWidgetItem*>(ptr)->removeChild(static_cast<QTreeWidgetItem*>(child));
}
void QTreeWidgetItem_SetBackground(void* ptr, int column, void* brush)
{
static_cast<QTreeWidgetItem*>(ptr)->setBackground(column, *static_cast<QBrush*>(brush));
}
void QTreeWidgetItem_SetCheckState(void* ptr, int column, long long state)
{
static_cast<QTreeWidgetItem*>(ptr)->setCheckState(column, static_cast<Qt::CheckState>(state));
}
void QTreeWidgetItem_SetChildIndicatorPolicy(void* ptr, long long policy)
{
static_cast<QTreeWidgetItem*>(ptr)->setChildIndicatorPolicy(static_cast<QTreeWidgetItem::ChildIndicatorPolicy>(policy));
}
void QTreeWidgetItem_SetData(void* ptr, int column, int role, void* value)
{
static_cast<QTreeWidgetItem*>(ptr)->setData(column, role, *static_cast<QVariant*>(value));
}
void QTreeWidgetItem_SetDataDefault(void* ptr, int column, int role, void* value)
{
static_cast<QTreeWidgetItem*>(ptr)->QTreeWidgetItem::setData(column, role, *static_cast<QVariant*>(value));
}
void QTreeWidgetItem_SetDisabled(void* ptr, char disabled)
{
static_cast<QTreeWidgetItem*>(ptr)->setDisabled(disabled != 0);
}
void QTreeWidgetItem_SetExpanded(void* ptr, char expand)
{
static_cast<QTreeWidgetItem*>(ptr)->setExpanded(expand != 0);
}
void QTreeWidgetItem_SetFirstColumnSpanned(void* ptr, char span)
{
static_cast<QTreeWidgetItem*>(ptr)->setFirstColumnSpanned(span != 0);
}
void QTreeWidgetItem_SetFlags(void* ptr, long long flags)
{
static_cast<QTreeWidgetItem*>(ptr)->setFlags(static_cast<Qt::ItemFlag>(flags));
}
void QTreeWidgetItem_SetFont(void* ptr, int column, void* font)
{
static_cast<QTreeWidgetItem*>(ptr)->setFont(column, *static_cast<QFont*>(font));
}
void QTreeWidgetItem_SetForeground(void* ptr, int column, void* brush)
{
static_cast<QTreeWidgetItem*>(ptr)->setForeground(column, *static_cast<QBrush*>(brush));
}
void QTreeWidgetItem_SetHidden(void* ptr, char hide)
{
static_cast<QTreeWidgetItem*>(ptr)->setHidden(hide != 0);
}
void QTreeWidgetItem_SetIcon(void* ptr, int column, void* icon)
{
static_cast<QTreeWidgetItem*>(ptr)->setIcon(column, *static_cast<QIcon*>(icon));
}
void QTreeWidgetItem_SetSelected(void* ptr, char sele)
{
static_cast<QTreeWidgetItem*>(ptr)->setSelected(sele != 0);
}
void QTreeWidgetItem_SetSizeHint(void* ptr, int column, void* size)
{
static_cast<QTreeWidgetItem*>(ptr)->setSizeHint(column, *static_cast<QSize*>(size));
}
void QTreeWidgetItem_SetStatusTip(void* ptr, int column, char* statusTip)
{
static_cast<QTreeWidgetItem*>(ptr)->setStatusTip(column, QString(statusTip));
}
void QTreeWidgetItem_SetText(void* ptr, int column, char* text)
{
static_cast<QTreeWidgetItem*>(ptr)->setText(column, QString(text));
}
void QTreeWidgetItem_SetTextAlignment(void* ptr, int column, int alignment)
{
static_cast<QTreeWidgetItem*>(ptr)->setTextAlignment(column, alignment);
}
void QTreeWidgetItem_SetToolTip(void* ptr, int column, char* toolTip)
{
static_cast<QTreeWidgetItem*>(ptr)->setToolTip(column, QString(toolTip));
}
void QTreeWidgetItem_SetWhatsThis(void* ptr, int column, char* whatsThis)
{
static_cast<QTreeWidgetItem*>(ptr)->setWhatsThis(column, QString(whatsThis));
}
void QTreeWidgetItem_SortChildren(void* ptr, int column, long long order)
{
static_cast<QTreeWidgetItem*>(ptr)->sortChildren(column, static_cast<Qt::SortOrder>(order));
}
void QTreeWidgetItem_DestroyQTreeWidgetItem(void* ptr)
{
static_cast<QTreeWidgetItem*>(ptr)->~QTreeWidgetItem();
}
void QTreeWidgetItem_DestroyQTreeWidgetItemDefault(void* ptr)
{
}
void* QTreeWidgetItem_Background(void* ptr, int column)
{
return new QBrush(static_cast<QTreeWidgetItem*>(ptr)->background(column));
}
void* QTreeWidgetItem_Foreground(void* ptr, int column)
{
return new QBrush(static_cast<QTreeWidgetItem*>(ptr)->foreground(column));
}
void* QTreeWidgetItem_Font(void* ptr, int column)
{
return new QFont(static_cast<QTreeWidgetItem*>(ptr)->font(column));
}
void* QTreeWidgetItem_Icon(void* ptr, int column)
{
return new QIcon(static_cast<QTreeWidgetItem*>(ptr)->icon(column));
}
void* QTreeWidgetItem_SizeHint(void* ptr, int column)
{
return ({ QSize tmpValue = static_cast<QTreeWidgetItem*>(ptr)->sizeHint(column); new QSize(tmpValue.width(), tmpValue.height()); });
}
struct QtWidgets_PackedString QTreeWidgetItem_StatusTip(void* ptr, int column)
{
return ({ QByteArray t848a1d = static_cast<QTreeWidgetItem*>(ptr)->statusTip(column).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t848a1d.prepend("WHITESPACE").constData()+10), t848a1d.size()-10 }; });
}
struct QtWidgets_PackedString QTreeWidgetItem_Text(void* ptr, int column)
{
return ({ QByteArray t0b76f8 = static_cast<QTreeWidgetItem*>(ptr)->text(column).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t0b76f8.prepend("WHITESPACE").constData()+10), t0b76f8.size()-10 }; });
}
struct QtWidgets_PackedString QTreeWidgetItem_ToolTip(void* ptr, int column)
{
return ({ QByteArray tdec4c7 = static_cast<QTreeWidgetItem*>(ptr)->toolTip(column).toUtf8(); QtWidgets_PackedString { const_cast<char*>(tdec4c7.prepend("WHITESPACE").constData()+10), tdec4c7.size()-10 }; });
}
struct QtWidgets_PackedString QTreeWidgetItem_WhatsThis(void* ptr, int column)
{
return ({ QByteArray te93ad0 = static_cast<QTreeWidgetItem*>(ptr)->whatsThis(column).toUtf8(); QtWidgets_PackedString { const_cast<char*>(te93ad0.prepend("WHITESPACE").constData()+10), te93ad0.size()-10 }; });
}
void* QTreeWidgetItem_TreeWidget(void* ptr)
{
return static_cast<QTreeWidgetItem*>(ptr)->treeWidget();
}
void* QTreeWidgetItem_Child(void* ptr, int index)
{
return static_cast<QTreeWidgetItem*>(ptr)->child(index);
}
void* QTreeWidgetItem_Clone(void* ptr)
{
return static_cast<QTreeWidgetItem*>(ptr)->clone();
}
void* QTreeWidgetItem_CloneDefault(void* ptr)
{
return static_cast<QTreeWidgetItem*>(ptr)->QTreeWidgetItem::clone();
}
void* QTreeWidgetItem_Parent(void* ptr)
{
return static_cast<QTreeWidgetItem*>(ptr)->parent();
}
long long QTreeWidgetItem_ChildIndicatorPolicy(void* ptr)
{
return static_cast<QTreeWidgetItem*>(ptr)->childIndicatorPolicy();
}
void* QTreeWidgetItem_Data(void* ptr, int column, int role)
{
return new QVariant(static_cast<QTreeWidgetItem*>(ptr)->data(column, role));
}
void* QTreeWidgetItem_DataDefault(void* ptr, int column, int role)
{
return new QVariant(static_cast<QTreeWidgetItem*>(ptr)->QTreeWidgetItem::data(column, role));
}
long long QTreeWidgetItem_CheckState(void* ptr, int column)
{
return static_cast<QTreeWidgetItem*>(ptr)->checkState(column);
}
long long QTreeWidgetItem_Flags(void* ptr)
{
return static_cast<QTreeWidgetItem*>(ptr)->flags();
}
char QTreeWidgetItem_IsDisabled(void* ptr)
{
return static_cast<QTreeWidgetItem*>(ptr)->isDisabled();
}
char QTreeWidgetItem_IsExpanded(void* ptr)
{
return static_cast<QTreeWidgetItem*>(ptr)->isExpanded();
}
char QTreeWidgetItem_IsFirstColumnSpanned(void* ptr)
{
return static_cast<QTreeWidgetItem*>(ptr)->isFirstColumnSpanned();
}
char QTreeWidgetItem_IsHidden(void* ptr)
{
return static_cast<QTreeWidgetItem*>(ptr)->isHidden();
}
char QTreeWidgetItem_IsSelected(void* ptr)
{
return static_cast<QTreeWidgetItem*>(ptr)->isSelected();
}
int QTreeWidgetItem_ChildCount(void* ptr)
{
return static_cast<QTreeWidgetItem*>(ptr)->childCount();
}
int QTreeWidgetItem_ColumnCount(void* ptr)
{
return static_cast<QTreeWidgetItem*>(ptr)->columnCount();
}
int QTreeWidgetItem_IndexOfChild(void* ptr, void* child)
{
return static_cast<QTreeWidgetItem*>(ptr)->indexOfChild(static_cast<QTreeWidgetItem*>(child));
}
int QTreeWidgetItem_TextAlignment(void* ptr, int column)
{
return static_cast<QTreeWidgetItem*>(ptr)->textAlignment(column);
}
int QTreeWidgetItem_Type(void* ptr)
{
return static_cast<QTreeWidgetItem*>(ptr)->type();
}
void QTreeWidgetItem_Write(void* ptr, void* out)
{
static_cast<QTreeWidgetItem*>(ptr)->write(*static_cast<QDataStream*>(out));
}
void QTreeWidgetItem_WriteDefault(void* ptr, void* out)
{
static_cast<QTreeWidgetItem*>(ptr)->QTreeWidgetItem::write(*static_cast<QDataStream*>(out));
}
void* QTreeWidgetItem___takeChildren_atList(void* ptr, int i)
{
return const_cast<QTreeWidgetItem*>(static_cast<QList<QTreeWidgetItem *>*>(ptr)->at(i));
}
void QTreeWidgetItem___takeChildren_setList(void* ptr, void* i)
{
static_cast<QList<QTreeWidgetItem *>*>(ptr)->append(static_cast<QTreeWidgetItem*>(i));
}
void* QTreeWidgetItem___takeChildren_newList(void* ptr)
{
return new QList<QTreeWidgetItem *>;
}
void* QTreeWidgetItem___addChildren_children_atList(void* ptr, int i)
{
return const_cast<QTreeWidgetItem*>(static_cast<QList<QTreeWidgetItem *>*>(ptr)->at(i));
}
void QTreeWidgetItem___addChildren_children_setList(void* ptr, void* i)
{
static_cast<QList<QTreeWidgetItem *>*>(ptr)->append(static_cast<QTreeWidgetItem*>(i));
}
void* QTreeWidgetItem___addChildren_children_newList(void* ptr)
{
return new QList<QTreeWidgetItem *>;
}
void* QTreeWidgetItem___insertChildren_children_atList(void* ptr, int i)
{
return const_cast<QTreeWidgetItem*>(static_cast<QList<QTreeWidgetItem *>*>(ptr)->at(i));
}
void QTreeWidgetItem___insertChildren_children_setList(void* ptr, void* i)
{
static_cast<QList<QTreeWidgetItem *>*>(ptr)->append(static_cast<QTreeWidgetItem*>(i));
}
void* QTreeWidgetItem___insertChildren_children_newList(void* ptr)
{
return new QList<QTreeWidgetItem *>;
}
class MyQUndoCommand: public QUndoCommand
{
public:
MyQUndoCommand(QUndoCommand *parent) : QUndoCommand(parent) {};
MyQUndoCommand(const QString &text, QUndoCommand *parent) : QUndoCommand(text, parent) {};
bool mergeWith(const QUndoCommand * command) { return callbackQUndoCommand_MergeWith(this, const_cast<QUndoCommand*>(command)) != 0; };
void redo() { callbackQUndoCommand_Redo(this); };
void undo() { callbackQUndoCommand_Undo(this); };
~MyQUndoCommand() { callbackQUndoCommand_DestroyQUndoCommand(this); };
int id() const { return callbackQUndoCommand_Id(const_cast<void*>(static_cast<const void*>(this))); };
};
void* QUndoCommand_NewQUndoCommand(void* parent)
{
return new MyQUndoCommand(static_cast<QUndoCommand*>(parent));
}
void* QUndoCommand_NewQUndoCommand2(char* text, void* parent)
{
return new MyQUndoCommand(QString(text), static_cast<QUndoCommand*>(parent));
}
char QUndoCommand_MergeWith(void* ptr, void* command)
{
return static_cast<QUndoCommand*>(ptr)->mergeWith(static_cast<QUndoCommand*>(command));
}
char QUndoCommand_MergeWithDefault(void* ptr, void* command)
{
return static_cast<QUndoCommand*>(ptr)->QUndoCommand::mergeWith(static_cast<QUndoCommand*>(command));
}
void QUndoCommand_Redo(void* ptr)
{
static_cast<QUndoCommand*>(ptr)->redo();
}
void QUndoCommand_RedoDefault(void* ptr)
{
static_cast<QUndoCommand*>(ptr)->QUndoCommand::redo();
}
void QUndoCommand_SetText(void* ptr, char* text)
{
static_cast<QUndoCommand*>(ptr)->setText(QString(text));
}
void QUndoCommand_Undo(void* ptr)
{
static_cast<QUndoCommand*>(ptr)->undo();
}
void QUndoCommand_UndoDefault(void* ptr)
{
static_cast<QUndoCommand*>(ptr)->QUndoCommand::undo();
}
void QUndoCommand_DestroyQUndoCommand(void* ptr)
{
static_cast<QUndoCommand*>(ptr)->~QUndoCommand();
}
void QUndoCommand_DestroyQUndoCommandDefault(void* ptr)
{
}
struct QtWidgets_PackedString QUndoCommand_ActionText(void* ptr)
{
return ({ QByteArray t4cb828 = static_cast<QUndoCommand*>(ptr)->actionText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t4cb828.prepend("WHITESPACE").constData()+10), t4cb828.size()-10 }; });
}
struct QtWidgets_PackedString QUndoCommand_Text(void* ptr)
{
return ({ QByteArray t68d93e = static_cast<QUndoCommand*>(ptr)->text().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t68d93e.prepend("WHITESPACE").constData()+10), t68d93e.size()-10 }; });
}
void* QUndoCommand_Child(void* ptr, int index)
{
return const_cast<QUndoCommand*>(static_cast<QUndoCommand*>(ptr)->child(index));
}
int QUndoCommand_ChildCount(void* ptr)
{
return static_cast<QUndoCommand*>(ptr)->childCount();
}
int QUndoCommand_Id(void* ptr)
{
return static_cast<QUndoCommand*>(ptr)->id();
}
int QUndoCommand_IdDefault(void* ptr)
{
return static_cast<QUndoCommand*>(ptr)->QUndoCommand::id();
}
class MyQUndoGroup: public QUndoGroup
{
public:
MyQUndoGroup(QObject *parent) : QUndoGroup(parent) {};
void Signal_ActiveStackChanged(QUndoStack * stack) { callbackQUndoGroup_ActiveStackChanged(this, stack); };
void Signal_CanRedoChanged(bool canRedo) { callbackQUndoGroup_CanRedoChanged(this, canRedo); };
void Signal_CanUndoChanged(bool canUndo) { callbackQUndoGroup_CanUndoChanged(this, canUndo); };
void Signal_CleanChanged(bool clean) { callbackQUndoGroup_CleanChanged(this, clean); };
void Signal_IndexChanged(int idx) { callbackQUndoGroup_IndexChanged(this, idx); };
void redo() { callbackQUndoGroup_Redo(this); };
void Signal_RedoTextChanged(const QString & redoText) { QByteArray te82275 = redoText.toUtf8(); QtWidgets_PackedString redoTextPacked = { const_cast<char*>(te82275.prepend("WHITESPACE").constData()+10), te82275.size()-10 };callbackQUndoGroup_RedoTextChanged(this, redoTextPacked); };
void setActiveStack(QUndoStack * stack) { callbackQUndoGroup_SetActiveStack(this, stack); };
void undo() { callbackQUndoGroup_Undo(this); };
void Signal_UndoTextChanged(const QString & undoText) { QByteArray t66d0aa = undoText.toUtf8(); QtWidgets_PackedString undoTextPacked = { const_cast<char*>(t66d0aa.prepend("WHITESPACE").constData()+10), t66d0aa.size()-10 };callbackQUndoGroup_UndoTextChanged(this, undoTextPacked); };
bool event(QEvent * e) { return callbackQUndoGroup_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQUndoGroup_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQUndoGroup_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQUndoGroup_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQUndoGroup_CustomEvent(this, event); };
void deleteLater() { callbackQUndoGroup_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQUndoGroup_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQUndoGroup_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQUndoGroup_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQUndoGroup_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQUndoGroup_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QUndoGroup_NewQUndoGroup(void* parent)
{
return new MyQUndoGroup(static_cast<QObject*>(parent));
}
void QUndoGroup_ConnectActiveStackChanged(void* ptr)
{
QObject::connect(static_cast<QUndoGroup*>(ptr), static_cast<void (QUndoGroup::*)(QUndoStack *)>(&QUndoGroup::activeStackChanged), static_cast<MyQUndoGroup*>(ptr), static_cast<void (MyQUndoGroup::*)(QUndoStack *)>(&MyQUndoGroup::Signal_ActiveStackChanged));
}
void QUndoGroup_DisconnectActiveStackChanged(void* ptr)
{
QObject::disconnect(static_cast<QUndoGroup*>(ptr), static_cast<void (QUndoGroup::*)(QUndoStack *)>(&QUndoGroup::activeStackChanged), static_cast<MyQUndoGroup*>(ptr), static_cast<void (MyQUndoGroup::*)(QUndoStack *)>(&MyQUndoGroup::Signal_ActiveStackChanged));
}
void QUndoGroup_ActiveStackChanged(void* ptr, void* stack)
{
static_cast<QUndoGroup*>(ptr)->activeStackChanged(static_cast<QUndoStack*>(stack));
}
void QUndoGroup_AddStack(void* ptr, void* stack)
{
static_cast<QUndoGroup*>(ptr)->addStack(static_cast<QUndoStack*>(stack));
}
void QUndoGroup_ConnectCanRedoChanged(void* ptr)
{
QObject::connect(static_cast<QUndoGroup*>(ptr), static_cast<void (QUndoGroup::*)(bool)>(&QUndoGroup::canRedoChanged), static_cast<MyQUndoGroup*>(ptr), static_cast<void (MyQUndoGroup::*)(bool)>(&MyQUndoGroup::Signal_CanRedoChanged));
}
void QUndoGroup_DisconnectCanRedoChanged(void* ptr)
{
QObject::disconnect(static_cast<QUndoGroup*>(ptr), static_cast<void (QUndoGroup::*)(bool)>(&QUndoGroup::canRedoChanged), static_cast<MyQUndoGroup*>(ptr), static_cast<void (MyQUndoGroup::*)(bool)>(&MyQUndoGroup::Signal_CanRedoChanged));
}
void QUndoGroup_CanRedoChanged(void* ptr, char canRedo)
{
static_cast<QUndoGroup*>(ptr)->canRedoChanged(canRedo != 0);
}
void QUndoGroup_ConnectCanUndoChanged(void* ptr)
{
QObject::connect(static_cast<QUndoGroup*>(ptr), static_cast<void (QUndoGroup::*)(bool)>(&QUndoGroup::canUndoChanged), static_cast<MyQUndoGroup*>(ptr), static_cast<void (MyQUndoGroup::*)(bool)>(&MyQUndoGroup::Signal_CanUndoChanged));
}
void QUndoGroup_DisconnectCanUndoChanged(void* ptr)
{
QObject::disconnect(static_cast<QUndoGroup*>(ptr), static_cast<void (QUndoGroup::*)(bool)>(&QUndoGroup::canUndoChanged), static_cast<MyQUndoGroup*>(ptr), static_cast<void (MyQUndoGroup::*)(bool)>(&MyQUndoGroup::Signal_CanUndoChanged));
}
void QUndoGroup_CanUndoChanged(void* ptr, char canUndo)
{
static_cast<QUndoGroup*>(ptr)->canUndoChanged(canUndo != 0);
}
void QUndoGroup_ConnectCleanChanged(void* ptr)
{
QObject::connect(static_cast<QUndoGroup*>(ptr), static_cast<void (QUndoGroup::*)(bool)>(&QUndoGroup::cleanChanged), static_cast<MyQUndoGroup*>(ptr), static_cast<void (MyQUndoGroup::*)(bool)>(&MyQUndoGroup::Signal_CleanChanged));
}
void QUndoGroup_DisconnectCleanChanged(void* ptr)
{
QObject::disconnect(static_cast<QUndoGroup*>(ptr), static_cast<void (QUndoGroup::*)(bool)>(&QUndoGroup::cleanChanged), static_cast<MyQUndoGroup*>(ptr), static_cast<void (MyQUndoGroup::*)(bool)>(&MyQUndoGroup::Signal_CleanChanged));
}
void QUndoGroup_CleanChanged(void* ptr, char clean)
{
static_cast<QUndoGroup*>(ptr)->cleanChanged(clean != 0);
}
void QUndoGroup_ConnectIndexChanged(void* ptr)
{
QObject::connect(static_cast<QUndoGroup*>(ptr), static_cast<void (QUndoGroup::*)(int)>(&QUndoGroup::indexChanged), static_cast<MyQUndoGroup*>(ptr), static_cast<void (MyQUndoGroup::*)(int)>(&MyQUndoGroup::Signal_IndexChanged));
}
void QUndoGroup_DisconnectIndexChanged(void* ptr)
{
QObject::disconnect(static_cast<QUndoGroup*>(ptr), static_cast<void (QUndoGroup::*)(int)>(&QUndoGroup::indexChanged), static_cast<MyQUndoGroup*>(ptr), static_cast<void (MyQUndoGroup::*)(int)>(&MyQUndoGroup::Signal_IndexChanged));
}
void QUndoGroup_IndexChanged(void* ptr, int idx)
{
static_cast<QUndoGroup*>(ptr)->indexChanged(idx);
}
void QUndoGroup_Redo(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QUndoGroup*>(ptr), "redo");
}
void QUndoGroup_RedoDefault(void* ptr)
{
static_cast<QUndoGroup*>(ptr)->QUndoGroup::redo();
}
void QUndoGroup_ConnectRedoTextChanged(void* ptr)
{
QObject::connect(static_cast<QUndoGroup*>(ptr), static_cast<void (QUndoGroup::*)(const QString &)>(&QUndoGroup::redoTextChanged), static_cast<MyQUndoGroup*>(ptr), static_cast<void (MyQUndoGroup::*)(const QString &)>(&MyQUndoGroup::Signal_RedoTextChanged));
}
void QUndoGroup_DisconnectRedoTextChanged(void* ptr)
{
QObject::disconnect(static_cast<QUndoGroup*>(ptr), static_cast<void (QUndoGroup::*)(const QString &)>(&QUndoGroup::redoTextChanged), static_cast<MyQUndoGroup*>(ptr), static_cast<void (MyQUndoGroup::*)(const QString &)>(&MyQUndoGroup::Signal_RedoTextChanged));
}
void QUndoGroup_RedoTextChanged(void* ptr, char* redoText)
{
static_cast<QUndoGroup*>(ptr)->redoTextChanged(QString(redoText));
}
void QUndoGroup_RemoveStack(void* ptr, void* stack)
{
static_cast<QUndoGroup*>(ptr)->removeStack(static_cast<QUndoStack*>(stack));
}
void QUndoGroup_SetActiveStack(void* ptr, void* stack)
{
QMetaObject::invokeMethod(static_cast<QUndoGroup*>(ptr), "setActiveStack", Q_ARG(QUndoStack*, static_cast<QUndoStack*>(stack)));
}
void QUndoGroup_SetActiveStackDefault(void* ptr, void* stack)
{
static_cast<QUndoGroup*>(ptr)->QUndoGroup::setActiveStack(static_cast<QUndoStack*>(stack));
}
void QUndoGroup_Undo(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QUndoGroup*>(ptr), "undo");
}
void QUndoGroup_UndoDefault(void* ptr)
{
static_cast<QUndoGroup*>(ptr)->QUndoGroup::undo();
}
void QUndoGroup_ConnectUndoTextChanged(void* ptr)
{
QObject::connect(static_cast<QUndoGroup*>(ptr), static_cast<void (QUndoGroup::*)(const QString &)>(&QUndoGroup::undoTextChanged), static_cast<MyQUndoGroup*>(ptr), static_cast<void (MyQUndoGroup::*)(const QString &)>(&MyQUndoGroup::Signal_UndoTextChanged));
}
void QUndoGroup_DisconnectUndoTextChanged(void* ptr)
{
QObject::disconnect(static_cast<QUndoGroup*>(ptr), static_cast<void (QUndoGroup::*)(const QString &)>(&QUndoGroup::undoTextChanged), static_cast<MyQUndoGroup*>(ptr), static_cast<void (MyQUndoGroup::*)(const QString &)>(&MyQUndoGroup::Signal_UndoTextChanged));
}
void QUndoGroup_UndoTextChanged(void* ptr, char* undoText)
{
static_cast<QUndoGroup*>(ptr)->undoTextChanged(QString(undoText));
}
void QUndoGroup_DestroyQUndoGroup(void* ptr)
{
static_cast<QUndoGroup*>(ptr)->~QUndoGroup();
}
void* QUndoGroup_CreateRedoAction(void* ptr, void* parent, char* prefix)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoGroup*>(ptr)->createRedoAction(static_cast<QGraphicsObject*>(parent), QString(prefix));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoGroup*>(ptr)->createRedoAction(static_cast<QGraphicsWidget*>(parent), QString(prefix));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoGroup*>(ptr)->createRedoAction(static_cast<QLayout*>(parent), QString(prefix));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoGroup*>(ptr)->createRedoAction(static_cast<QWidget*>(parent), QString(prefix));
} else {
return static_cast<QUndoGroup*>(ptr)->createRedoAction(static_cast<QObject*>(parent), QString(prefix));
}
}
void* QUndoGroup_CreateUndoAction(void* ptr, void* parent, char* prefix)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoGroup*>(ptr)->createUndoAction(static_cast<QGraphicsObject*>(parent), QString(prefix));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoGroup*>(ptr)->createUndoAction(static_cast<QGraphicsWidget*>(parent), QString(prefix));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoGroup*>(ptr)->createUndoAction(static_cast<QLayout*>(parent), QString(prefix));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoGroup*>(ptr)->createUndoAction(static_cast<QWidget*>(parent), QString(prefix));
} else {
return static_cast<QUndoGroup*>(ptr)->createUndoAction(static_cast<QObject*>(parent), QString(prefix));
}
}
struct QtWidgets_PackedList QUndoGroup_Stacks(void* ptr)
{
return ({ QList<QUndoStack *>* tmpValue = new QList<QUndoStack *>(static_cast<QUndoGroup*>(ptr)->stacks()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedString QUndoGroup_RedoText(void* ptr)
{
return ({ QByteArray tafd4da = static_cast<QUndoGroup*>(ptr)->redoText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tafd4da.prepend("WHITESPACE").constData()+10), tafd4da.size()-10 }; });
}
struct QtWidgets_PackedString QUndoGroup_UndoText(void* ptr)
{
return ({ QByteArray t39b3cc = static_cast<QUndoGroup*>(ptr)->undoText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t39b3cc.prepend("WHITESPACE").constData()+10), t39b3cc.size()-10 }; });
}
void* QUndoGroup_ActiveStack(void* ptr)
{
return static_cast<QUndoGroup*>(ptr)->activeStack();
}
char QUndoGroup_CanRedo(void* ptr)
{
return static_cast<QUndoGroup*>(ptr)->canRedo();
}
char QUndoGroup_CanUndo(void* ptr)
{
return static_cast<QUndoGroup*>(ptr)->canUndo();
}
char QUndoGroup_IsClean(void* ptr)
{
return static_cast<QUndoGroup*>(ptr)->isClean();
}
void* QUndoGroup___stacks_atList(void* ptr, int i)
{
return const_cast<QUndoStack*>(static_cast<QList<QUndoStack *>*>(ptr)->at(i));
}
void QUndoGroup___stacks_setList(void* ptr, void* i)
{
static_cast<QList<QUndoStack *>*>(ptr)->append(static_cast<QUndoStack*>(i));
}
void* QUndoGroup___stacks_newList(void* ptr)
{
return new QList<QUndoStack *>;
}
void* QUndoGroup___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QUndoGroup___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QUndoGroup___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QUndoGroup___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QUndoGroup___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QUndoGroup___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QUndoGroup___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QUndoGroup___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QUndoGroup___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QUndoGroup___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QUndoGroup___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QUndoGroup___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QUndoGroup___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QUndoGroup___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QUndoGroup___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QUndoGroup_EventDefault(void* ptr, void* e)
{
return static_cast<QUndoGroup*>(ptr)->QUndoGroup::event(static_cast<QEvent*>(e));
}
char QUndoGroup_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QUndoGroup*>(ptr)->QUndoGroup::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QUndoGroup*>(ptr)->QUndoGroup::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QUndoGroup*>(ptr)->QUndoGroup::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QUndoGroup*>(ptr)->QUndoGroup::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QUndoGroup*>(ptr)->QUndoGroup::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QUndoGroup_ChildEventDefault(void* ptr, void* event)
{
static_cast<QUndoGroup*>(ptr)->QUndoGroup::childEvent(static_cast<QChildEvent*>(event));
}
void QUndoGroup_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QUndoGroup*>(ptr)->QUndoGroup::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QUndoGroup_CustomEventDefault(void* ptr, void* event)
{
static_cast<QUndoGroup*>(ptr)->QUndoGroup::customEvent(static_cast<QEvent*>(event));
}
void QUndoGroup_DeleteLaterDefault(void* ptr)
{
static_cast<QUndoGroup*>(ptr)->QUndoGroup::deleteLater();
}
void QUndoGroup_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QUndoGroup*>(ptr)->QUndoGroup::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QUndoGroup_TimerEventDefault(void* ptr, void* event)
{
static_cast<QUndoGroup*>(ptr)->QUndoGroup::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QUndoGroup_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QUndoGroup*>(ptr)->QUndoGroup::metaObject());
}
class MyQUndoStack: public QUndoStack
{
public:
MyQUndoStack(QObject *parent) : QUndoStack(parent) {};
void Signal_CanRedoChanged(bool canRedo) { callbackQUndoStack_CanRedoChanged(this, canRedo); };
void Signal_CanUndoChanged(bool canUndo) { callbackQUndoStack_CanUndoChanged(this, canUndo); };
void Signal_CleanChanged(bool clean) { callbackQUndoStack_CleanChanged(this, clean); };
void Signal_IndexChanged(int idx) { callbackQUndoStack_IndexChanged(this, idx); };
void redo() { callbackQUndoStack_Redo(this); };
void Signal_RedoTextChanged(const QString & redoText) { QByteArray te82275 = redoText.toUtf8(); QtWidgets_PackedString redoTextPacked = { const_cast<char*>(te82275.prepend("WHITESPACE").constData()+10), te82275.size()-10 };callbackQUndoStack_RedoTextChanged(this, redoTextPacked); };
void resetClean() { callbackQUndoStack_ResetClean(this); };
void setActive(bool active) { callbackQUndoStack_SetActive(this, active); };
void setClean() { callbackQUndoStack_SetClean(this); };
void setIndex(int idx) { callbackQUndoStack_SetIndex(this, idx); };
void undo() { callbackQUndoStack_Undo(this); };
void Signal_UndoTextChanged(const QString & undoText) { QByteArray t66d0aa = undoText.toUtf8(); QtWidgets_PackedString undoTextPacked = { const_cast<char*>(t66d0aa.prepend("WHITESPACE").constData()+10), t66d0aa.size()-10 };callbackQUndoStack_UndoTextChanged(this, undoTextPacked); };
bool event(QEvent * e) { return callbackQUndoStack_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQUndoStack_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQUndoStack_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQUndoStack_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQUndoStack_CustomEvent(this, event); };
void deleteLater() { callbackQUndoStack_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQUndoStack_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQUndoStack_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQUndoStack_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQUndoStack_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQUndoStack_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QUndoStack_NewQUndoStack(void* parent)
{
return new MyQUndoStack(static_cast<QObject*>(parent));
}
void QUndoStack_BeginMacro(void* ptr, char* text)
{
static_cast<QUndoStack*>(ptr)->beginMacro(QString(text));
}
void QUndoStack_ConnectCanRedoChanged(void* ptr)
{
QObject::connect(static_cast<QUndoStack*>(ptr), static_cast<void (QUndoStack::*)(bool)>(&QUndoStack::canRedoChanged), static_cast<MyQUndoStack*>(ptr), static_cast<void (MyQUndoStack::*)(bool)>(&MyQUndoStack::Signal_CanRedoChanged));
}
void QUndoStack_DisconnectCanRedoChanged(void* ptr)
{
QObject::disconnect(static_cast<QUndoStack*>(ptr), static_cast<void (QUndoStack::*)(bool)>(&QUndoStack::canRedoChanged), static_cast<MyQUndoStack*>(ptr), static_cast<void (MyQUndoStack::*)(bool)>(&MyQUndoStack::Signal_CanRedoChanged));
}
void QUndoStack_CanRedoChanged(void* ptr, char canRedo)
{
static_cast<QUndoStack*>(ptr)->canRedoChanged(canRedo != 0);
}
void QUndoStack_ConnectCanUndoChanged(void* ptr)
{
QObject::connect(static_cast<QUndoStack*>(ptr), static_cast<void (QUndoStack::*)(bool)>(&QUndoStack::canUndoChanged), static_cast<MyQUndoStack*>(ptr), static_cast<void (MyQUndoStack::*)(bool)>(&MyQUndoStack::Signal_CanUndoChanged));
}
void QUndoStack_DisconnectCanUndoChanged(void* ptr)
{
QObject::disconnect(static_cast<QUndoStack*>(ptr), static_cast<void (QUndoStack::*)(bool)>(&QUndoStack::canUndoChanged), static_cast<MyQUndoStack*>(ptr), static_cast<void (MyQUndoStack::*)(bool)>(&MyQUndoStack::Signal_CanUndoChanged));
}
void QUndoStack_CanUndoChanged(void* ptr, char canUndo)
{
static_cast<QUndoStack*>(ptr)->canUndoChanged(canUndo != 0);
}
void QUndoStack_ConnectCleanChanged(void* ptr)
{
QObject::connect(static_cast<QUndoStack*>(ptr), static_cast<void (QUndoStack::*)(bool)>(&QUndoStack::cleanChanged), static_cast<MyQUndoStack*>(ptr), static_cast<void (MyQUndoStack::*)(bool)>(&MyQUndoStack::Signal_CleanChanged));
}
void QUndoStack_DisconnectCleanChanged(void* ptr)
{
QObject::disconnect(static_cast<QUndoStack*>(ptr), static_cast<void (QUndoStack::*)(bool)>(&QUndoStack::cleanChanged), static_cast<MyQUndoStack*>(ptr), static_cast<void (MyQUndoStack::*)(bool)>(&MyQUndoStack::Signal_CleanChanged));
}
void QUndoStack_CleanChanged(void* ptr, char clean)
{
static_cast<QUndoStack*>(ptr)->cleanChanged(clean != 0);
}
void QUndoStack_Clear(void* ptr)
{
static_cast<QUndoStack*>(ptr)->clear();
}
void QUndoStack_EndMacro(void* ptr)
{
static_cast<QUndoStack*>(ptr)->endMacro();
}
void QUndoStack_ConnectIndexChanged(void* ptr)
{
QObject::connect(static_cast<QUndoStack*>(ptr), static_cast<void (QUndoStack::*)(int)>(&QUndoStack::indexChanged), static_cast<MyQUndoStack*>(ptr), static_cast<void (MyQUndoStack::*)(int)>(&MyQUndoStack::Signal_IndexChanged));
}
void QUndoStack_DisconnectIndexChanged(void* ptr)
{
QObject::disconnect(static_cast<QUndoStack*>(ptr), static_cast<void (QUndoStack::*)(int)>(&QUndoStack::indexChanged), static_cast<MyQUndoStack*>(ptr), static_cast<void (MyQUndoStack::*)(int)>(&MyQUndoStack::Signal_IndexChanged));
}
void QUndoStack_IndexChanged(void* ptr, int idx)
{
static_cast<QUndoStack*>(ptr)->indexChanged(idx);
}
void QUndoStack_Push(void* ptr, void* cmd)
{
static_cast<QUndoStack*>(ptr)->push(static_cast<QUndoCommand*>(cmd));
}
void QUndoStack_Redo(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QUndoStack*>(ptr), "redo");
}
void QUndoStack_RedoDefault(void* ptr)
{
static_cast<QUndoStack*>(ptr)->QUndoStack::redo();
}
void QUndoStack_ConnectRedoTextChanged(void* ptr)
{
QObject::connect(static_cast<QUndoStack*>(ptr), static_cast<void (QUndoStack::*)(const QString &)>(&QUndoStack::redoTextChanged), static_cast<MyQUndoStack*>(ptr), static_cast<void (MyQUndoStack::*)(const QString &)>(&MyQUndoStack::Signal_RedoTextChanged));
}
void QUndoStack_DisconnectRedoTextChanged(void* ptr)
{
QObject::disconnect(static_cast<QUndoStack*>(ptr), static_cast<void (QUndoStack::*)(const QString &)>(&QUndoStack::redoTextChanged), static_cast<MyQUndoStack*>(ptr), static_cast<void (MyQUndoStack::*)(const QString &)>(&MyQUndoStack::Signal_RedoTextChanged));
}
void QUndoStack_RedoTextChanged(void* ptr, char* redoText)
{
static_cast<QUndoStack*>(ptr)->redoTextChanged(QString(redoText));
}
void QUndoStack_ResetClean(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QUndoStack*>(ptr), "resetClean");
}
void QUndoStack_ResetCleanDefault(void* ptr)
{
static_cast<QUndoStack*>(ptr)->QUndoStack::resetClean();
}
void QUndoStack_SetActive(void* ptr, char active)
{
QMetaObject::invokeMethod(static_cast<QUndoStack*>(ptr), "setActive", Q_ARG(bool, active != 0));
}
void QUndoStack_SetActiveDefault(void* ptr, char active)
{
static_cast<QUndoStack*>(ptr)->QUndoStack::setActive(active != 0);
}
void QUndoStack_SetClean(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QUndoStack*>(ptr), "setClean");
}
void QUndoStack_SetCleanDefault(void* ptr)
{
static_cast<QUndoStack*>(ptr)->QUndoStack::setClean();
}
void QUndoStack_SetIndex(void* ptr, int idx)
{
QMetaObject::invokeMethod(static_cast<QUndoStack*>(ptr), "setIndex", Q_ARG(int, idx));
}
void QUndoStack_SetIndexDefault(void* ptr, int idx)
{
static_cast<QUndoStack*>(ptr)->QUndoStack::setIndex(idx);
}
void QUndoStack_SetUndoLimit(void* ptr, int limit)
{
static_cast<QUndoStack*>(ptr)->setUndoLimit(limit);
}
void QUndoStack_Undo(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QUndoStack*>(ptr), "undo");
}
void QUndoStack_UndoDefault(void* ptr)
{
static_cast<QUndoStack*>(ptr)->QUndoStack::undo();
}
void QUndoStack_ConnectUndoTextChanged(void* ptr)
{
QObject::connect(static_cast<QUndoStack*>(ptr), static_cast<void (QUndoStack::*)(const QString &)>(&QUndoStack::undoTextChanged), static_cast<MyQUndoStack*>(ptr), static_cast<void (MyQUndoStack::*)(const QString &)>(&MyQUndoStack::Signal_UndoTextChanged));
}
void QUndoStack_DisconnectUndoTextChanged(void* ptr)
{
QObject::disconnect(static_cast<QUndoStack*>(ptr), static_cast<void (QUndoStack::*)(const QString &)>(&QUndoStack::undoTextChanged), static_cast<MyQUndoStack*>(ptr), static_cast<void (MyQUndoStack::*)(const QString &)>(&MyQUndoStack::Signal_UndoTextChanged));
}
void QUndoStack_UndoTextChanged(void* ptr, char* undoText)
{
static_cast<QUndoStack*>(ptr)->undoTextChanged(QString(undoText));
}
void QUndoStack_DestroyQUndoStack(void* ptr)
{
static_cast<QUndoStack*>(ptr)->~QUndoStack();
}
void* QUndoStack_CreateRedoAction(void* ptr, void* parent, char* prefix)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoStack*>(ptr)->createRedoAction(static_cast<QGraphicsObject*>(parent), QString(prefix));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoStack*>(ptr)->createRedoAction(static_cast<QGraphicsWidget*>(parent), QString(prefix));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoStack*>(ptr)->createRedoAction(static_cast<QLayout*>(parent), QString(prefix));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoStack*>(ptr)->createRedoAction(static_cast<QWidget*>(parent), QString(prefix));
} else {
return static_cast<QUndoStack*>(ptr)->createRedoAction(static_cast<QObject*>(parent), QString(prefix));
}
}
void* QUndoStack_CreateUndoAction(void* ptr, void* parent, char* prefix)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoStack*>(ptr)->createUndoAction(static_cast<QGraphicsObject*>(parent), QString(prefix));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoStack*>(ptr)->createUndoAction(static_cast<QGraphicsWidget*>(parent), QString(prefix));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoStack*>(ptr)->createUndoAction(static_cast<QLayout*>(parent), QString(prefix));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(parent))) {
return static_cast<QUndoStack*>(ptr)->createUndoAction(static_cast<QWidget*>(parent), QString(prefix));
} else {
return static_cast<QUndoStack*>(ptr)->createUndoAction(static_cast<QObject*>(parent), QString(prefix));
}
}
struct QtWidgets_PackedString QUndoStack_RedoText(void* ptr)
{
return ({ QByteArray t792834 = static_cast<QUndoStack*>(ptr)->redoText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t792834.prepend("WHITESPACE").constData()+10), t792834.size()-10 }; });
}
struct QtWidgets_PackedString QUndoStack_Text(void* ptr, int idx)
{
return ({ QByteArray t2bc9dc = static_cast<QUndoStack*>(ptr)->text(idx).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t2bc9dc.prepend("WHITESPACE").constData()+10), t2bc9dc.size()-10 }; });
}
struct QtWidgets_PackedString QUndoStack_UndoText(void* ptr)
{
return ({ QByteArray t399a88 = static_cast<QUndoStack*>(ptr)->undoText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t399a88.prepend("WHITESPACE").constData()+10), t399a88.size()-10 }; });
}
char QUndoStack_CanRedo(void* ptr)
{
return static_cast<QUndoStack*>(ptr)->canRedo();
}
char QUndoStack_CanUndo(void* ptr)
{
return static_cast<QUndoStack*>(ptr)->canUndo();
}
char QUndoStack_IsActive(void* ptr)
{
return static_cast<QUndoStack*>(ptr)->isActive();
}
char QUndoStack_IsClean(void* ptr)
{
return static_cast<QUndoStack*>(ptr)->isClean();
}
void* QUndoStack_Command(void* ptr, int index)
{
return const_cast<QUndoCommand*>(static_cast<QUndoStack*>(ptr)->command(index));
}
int QUndoStack_CleanIndex(void* ptr)
{
return static_cast<QUndoStack*>(ptr)->cleanIndex();
}
int QUndoStack_Count(void* ptr)
{
return static_cast<QUndoStack*>(ptr)->count();
}
int QUndoStack_Index(void* ptr)
{
return static_cast<QUndoStack*>(ptr)->index();
}
int QUndoStack_UndoLimit(void* ptr)
{
return static_cast<QUndoStack*>(ptr)->undoLimit();
}
void* QUndoStack___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QUndoStack___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QUndoStack___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QUndoStack___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QUndoStack___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QUndoStack___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QUndoStack___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QUndoStack___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QUndoStack___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QUndoStack___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QUndoStack___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QUndoStack___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QUndoStack___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QUndoStack___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QUndoStack___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QUndoStack_EventDefault(void* ptr, void* e)
{
return static_cast<QUndoStack*>(ptr)->QUndoStack::event(static_cast<QEvent*>(e));
}
char QUndoStack_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QUndoStack*>(ptr)->QUndoStack::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QUndoStack*>(ptr)->QUndoStack::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QUndoStack*>(ptr)->QUndoStack::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QUndoStack*>(ptr)->QUndoStack::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QUndoStack*>(ptr)->QUndoStack::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
void QUndoStack_ChildEventDefault(void* ptr, void* event)
{
static_cast<QUndoStack*>(ptr)->QUndoStack::childEvent(static_cast<QChildEvent*>(event));
}
void QUndoStack_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QUndoStack*>(ptr)->QUndoStack::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QUndoStack_CustomEventDefault(void* ptr, void* event)
{
static_cast<QUndoStack*>(ptr)->QUndoStack::customEvent(static_cast<QEvent*>(event));
}
void QUndoStack_DeleteLaterDefault(void* ptr)
{
static_cast<QUndoStack*>(ptr)->QUndoStack::deleteLater();
}
void QUndoStack_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QUndoStack*>(ptr)->QUndoStack::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QUndoStack_TimerEventDefault(void* ptr, void* event)
{
static_cast<QUndoStack*>(ptr)->QUndoStack::timerEvent(static_cast<QTimerEvent*>(event));
}
void* QUndoStack_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QUndoStack*>(ptr)->QUndoStack::metaObject());
}
class MyQUndoView: public QUndoView
{
public:
MyQUndoView(QUndoGroup *group, QWidget *parent) : QUndoView(group, parent) {};
MyQUndoView(QUndoStack *stack, QWidget *parent) : QUndoView(stack, parent) {};
MyQUndoView(QWidget *parent) : QUndoView(parent) {};
void setGroup(QUndoGroup * group) { callbackQUndoView_SetGroup(this, group); };
void setStack(QUndoStack * stack) { callbackQUndoView_SetStack(this, stack); };
QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast<QModelIndex*>(callbackQListView_MoveCursor(this, cursorAction, modifiers)); };
void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQListView_CurrentChanged(this, const_cast<QModelIndex*>(&current), const_cast<QModelIndex*>(&previous)); };
void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector<int> & roles) { callbackQListView_DataChanged(this, const_cast<QModelIndex*>(&topLeft), const_cast<QModelIndex*>(&bottomRight), ({ QVector<int>* tmpValue = const_cast<QVector<int>*>(&roles); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })); };
void dragLeaveEvent(QDragLeaveEvent * e) { callbackQWidget_DragLeaveEvent(this, e); };
void dragMoveEvent(QDragMoveEvent * e) { callbackQWidget_DragMoveEvent(this, e); };
void dropEvent(QDropEvent * e) { callbackQWidget_DropEvent(this, e); };
void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); };
void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); };
void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); };
void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); };
void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQListView_RowsAboutToBeRemoved(this, const_cast<QModelIndex*>(&parent), start, end); };
void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQListView_RowsInserted(this, const_cast<QModelIndex*>(&parent), start, end); };
void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQListView_ScrollTo(this, const_cast<QModelIndex*>(&index), hint); };
void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQListView_SelectionChanged(this, const_cast<QItemSelection*>(&selected), const_cast<QItemSelection*>(&deselected)); };
void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags command) { callbackQListView_SetSelection(this, const_cast<QRect*>(&rect), command); };
void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); };
void updateGeometries() { callbackQListView_UpdateGeometries(this); };
void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); };
QModelIndex indexAt(const QPoint & p) const { return *static_cast<QModelIndex*>(callbackQListView_IndexAt(const_cast<void*>(static_cast<const void*>(this)), const_cast<QPoint*>(&p))); };
QList<QModelIndex> selectedIndexes() const { return *static_cast<QList<QModelIndex>*>(callbackQAbstractItemView_SelectedIndexes(const_cast<void*>(static_cast<const void*>(this)))); };
QRect visualRect(const QModelIndex & index) const { return *static_cast<QRect*>(callbackQListView_VisualRect(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index))); };
QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast<QRegion*>(callbackQListView_VisualRegionForSelection(const_cast<void*>(static_cast<const void*>(this)), const_cast<QItemSelection*>(&selection))); };
QSize viewportSizeHint() const { return *static_cast<QSize*>(callbackQAbstractScrollArea_ViewportSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QStyleOptionViewItem viewOptions() const { return *static_cast<QStyleOptionViewItem*>(callbackQAbstractItemView_ViewOptions(const_cast<void*>(static_cast<const void*>(this)))); };
bool isIndexHidden(const QModelIndex & index) const { return callbackQListView_IsIndexHidden(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index)) != 0; };
int horizontalOffset() const { return callbackQListView_HorizontalOffset(const_cast<void*>(static_cast<const void*>(this))); };
int verticalOffset() const { return callbackQListView_VerticalOffset(const_cast<void*>(static_cast<const void*>(this))); };
bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast<QModelIndex*>(&index), trigger, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; };
void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast<QModelIndex*>(&index)); };
void clearSelection() { callbackQAbstractItemView_ClearSelection(this); };
void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast<QModelIndex*>(&index)); };
void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); };
void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); };
void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast<QModelIndex*>(&index)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast<QModelIndex*>(&index)); };
void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); };
void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast<QModelIndex*>(&index)); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast<QSize*>(&size)); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyboardSearch(const QString & search) { QByteArray t3559d7 = search.toUtf8(); QtWidgets_PackedString searchPacked = { const_cast<char*>(t3559d7.prepend("WHITESPACE").constData()+10), t3559d7.size()-10 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast<QModelIndex*>(&index)); };
void reset() { callbackQAbstractItemView_Reset(this); };
void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); };
void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); };
void selectAll() { callbackQAbstractItemView_SelectAll(this); };
void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast<QModelIndex*>(&index)); };
void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); };
void setRootIndex(const QModelIndex & index) { callbackQAbstractItemView_SetRootIndex(this, const_cast<QModelIndex*>(&index)); };
void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); };
void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast<QModelIndex*>(&index)); };
void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); };
QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast<QItemSelectionModel::SelectionFlag>(callbackQAbstractItemView_SelectionCommand(const_cast<void*>(static_cast<const void*>(this)), const_cast<QModelIndex*>(&index), const_cast<QEvent*>(event))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast<void*>(static_cast<const void*>(this)), column); };
int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast<void*>(static_cast<const void*>(this)), row); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); };
void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QUndoView_NewQUndoView3(void* group, void* parent)
{
return new MyQUndoView(static_cast<QUndoGroup*>(group), static_cast<QWidget*>(parent));
}
void* QUndoView_NewQUndoView2(void* stack, void* parent)
{
return new MyQUndoView(static_cast<QUndoStack*>(stack), static_cast<QWidget*>(parent));
}
void* QUndoView_NewQUndoView(void* parent)
{
return new MyQUndoView(static_cast<QWidget*>(parent));
}
void QUndoView_SetCleanIcon(void* ptr, void* icon)
{
static_cast<QUndoView*>(ptr)->setCleanIcon(*static_cast<QIcon*>(icon));
}
void QUndoView_SetEmptyLabel(void* ptr, char* label)
{
static_cast<QUndoView*>(ptr)->setEmptyLabel(QString(label));
}
void QUndoView_SetGroup(void* ptr, void* group)
{
QMetaObject::invokeMethod(static_cast<QUndoView*>(ptr), "setGroup", Q_ARG(QUndoGroup*, static_cast<QUndoGroup*>(group)));
}
void QUndoView_SetGroupDefault(void* ptr, void* group)
{
static_cast<QUndoView*>(ptr)->QUndoView::setGroup(static_cast<QUndoGroup*>(group));
}
void QUndoView_SetStack(void* ptr, void* stack)
{
QMetaObject::invokeMethod(static_cast<QUndoView*>(ptr), "setStack", Q_ARG(QUndoStack*, static_cast<QUndoStack*>(stack)));
}
void QUndoView_SetStackDefault(void* ptr, void* stack)
{
static_cast<QUndoView*>(ptr)->QUndoView::setStack(static_cast<QUndoStack*>(stack));
}
void QUndoView_DestroyQUndoView(void* ptr)
{
static_cast<QUndoView*>(ptr)->~QUndoView();
}
void* QUndoView_CleanIcon(void* ptr)
{
return new QIcon(static_cast<QUndoView*>(ptr)->cleanIcon());
}
struct QtWidgets_PackedString QUndoView_EmptyLabel(void* ptr)
{
return ({ QByteArray tc33a41 = static_cast<QUndoView*>(ptr)->emptyLabel().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tc33a41.prepend("WHITESPACE").constData()+10), tc33a41.size()-10 }; });
}
void* QUndoView_Group(void* ptr)
{
return static_cast<QUndoView*>(ptr)->group();
}
void* QUndoView_Stack(void* ptr)
{
return static_cast<QUndoView*>(ptr)->stack();
}
class MyQVBoxLayout: public QVBoxLayout
{
public:
MyQVBoxLayout() : QVBoxLayout() {};
MyQVBoxLayout(QWidget *parent) : QVBoxLayout(parent) {};
QLayoutItem * takeAt(int index) { return static_cast<QLayoutItem*>(callbackQBoxLayout_TakeAt(this, index)); };
void addItem(QLayoutItem * item) { callbackQBoxLayout_AddItem(this, item); };
void invalidate() { callbackQLayoutItem_Invalidate(this); };
void setGeometry(const QRect & r) { callbackQLayout_SetGeometry(this, const_cast<QRect*>(&r)); };
QLayoutItem * itemAt(int index) const { return static_cast<QLayoutItem*>(callbackQBoxLayout_ItemAt(const_cast<void*>(static_cast<const void*>(this)), index)); };
QSize maximumSize() const { return *static_cast<QSize*>(callbackQLayout_MaximumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSize() const { return *static_cast<QSize*>(callbackQLayout_MinimumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQBoxLayout_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
Qt::Orientations expandingDirections() const { return static_cast<Qt::Orientation>(callbackQLayout_ExpandingDirections(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int count() const { return callbackQBoxLayout_Count(const_cast<void*>(static_cast<const void*>(this))); };
int heightForWidth(int w) const { return callbackQLayoutItem_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
QLayout * layout() { return static_cast<QLayout*>(callbackQLayoutItem_Layout(this)); };
void childEvent(QChildEvent * e) { callbackQLayout_ChildEvent(this, e); };
QRect geometry() const { return *static_cast<QRect*>(callbackQLayout_Geometry(const_cast<void*>(static_cast<const void*>(this)))); };
QSizePolicy::ControlTypes controlTypes() const { return static_cast<QSizePolicy::ControlType>(callbackQLayoutItem_ControlTypes(const_cast<void*>(static_cast<const void*>(this)))); };
bool isEmpty() const { return callbackQLayout_IsEmpty(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int indexOf(QWidget * widget) const { return callbackQLayout_IndexOf(const_cast<void*>(static_cast<const void*>(this)), widget); };
bool event(QEvent * e) { return callbackQLayout_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQLayout_EventFilter(this, watched, event) != 0; };
void connectNotify(const QMetaMethod & sign) { callbackQLayout_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQLayout_CustomEvent(this, event); };
void deleteLater() { callbackQLayout_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQLayout_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQLayout_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQLayout_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQLayout_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQLayout_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
QSpacerItem * spacerItem() { return static_cast<QSpacerItem*>(callbackQLayoutItem_SpacerItem(this)); };
QWidget * widget() { return static_cast<QWidget*>(callbackQLayoutItem_Widget(this)); };
};
void* QVBoxLayout_NewQVBoxLayout()
{
return new MyQVBoxLayout();
}
void* QVBoxLayout_NewQVBoxLayout2(void* parent)
{
return new MyQVBoxLayout(static_cast<QWidget*>(parent));
}
void QVBoxLayout_DestroyQVBoxLayout(void* ptr)
{
static_cast<QVBoxLayout*>(ptr)->~QVBoxLayout();
}
void* QWhatsThis_QWhatsThis_CreateAction(void* parent)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(parent))) {
return QWhatsThis::createAction(static_cast<QGraphicsObject*>(parent));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(parent))) {
return QWhatsThis::createAction(static_cast<QGraphicsWidget*>(parent));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(parent))) {
return QWhatsThis::createAction(static_cast<QLayout*>(parent));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(parent))) {
return QWhatsThis::createAction(static_cast<QWidget*>(parent));
} else {
return QWhatsThis::createAction(static_cast<QObject*>(parent));
}
}
char QWhatsThis_QWhatsThis_InWhatsThisMode()
{
return QWhatsThis::inWhatsThisMode();
}
void QWhatsThis_QWhatsThis_EnterWhatsThisMode()
{
QWhatsThis::enterWhatsThisMode();
}
void QWhatsThis_QWhatsThis_HideText()
{
QWhatsThis::hideText();
}
void QWhatsThis_QWhatsThis_LeaveWhatsThisMode()
{
QWhatsThis::leaveWhatsThisMode();
}
void QWhatsThis_QWhatsThis_ShowText(void* pos, char* text, void* w)
{
QWhatsThis::showText(*static_cast<QPoint*>(pos), QString(text), static_cast<QWidget*>(w));
}
class MyQWidget: public QWidget
{
public:
MyQWidget(QWidget *parent, Qt::WindowFlags f) : QWidget(parent, f) {};
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QWidget_Grab(void* ptr, void* rectangle)
{
return new QPixmap(static_cast<QWidget*>(ptr)->grab(*static_cast<QRect*>(rectangle)));
}
void* QWidget_QWidget_CreateWindowContainer(void* window, void* parent, long long flags)
{
return QWidget::createWindowContainer(static_cast<QWindow*>(window), static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(flags));
}
void* QWidget_QWidget_Find(uintptr_t id)
{
return QWidget::find(id);
}
void* QWidget_QWidget_KeyboardGrabber()
{
return QWidget::keyboardGrabber();
}
void* QWidget_QWidget_MouseGrabber()
{
return QWidget::mouseGrabber();
}
void* QWidget_NewQWidget(void* parent, long long fo)
{
return new MyQWidget(static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(fo));
}
char QWidget_Close(void* ptr)
{
bool returnArg;
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "close", Q_RETURN_ARG(bool, returnArg));
return returnArg;
}
char QWidget_CloseDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBar*>(ptr)->QToolBar::close();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabWidget*>(ptr)->QTabWidget::close();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabBar*>(ptr)->QTabBar::close();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QStatusBar*>(ptr)->QStatusBar::close();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::close();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplashScreen*>(ptr)->QSplashScreen::close();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
return static_cast<QSizeGrip*>(ptr)->QSizeGrip::close();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
return static_cast<QRubberBand*>(ptr)->QRubberBand::close();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressBar*>(ptr)->QProgressBar::close();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenuBar*>(ptr)->QMenuBar::close();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenu*>(ptr)->QMenu::close();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::close();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMainWindow*>(ptr)->QMainWindow::close();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::close();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::close();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QLineEdit*>(ptr)->QLineEdit::close();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::close();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QGroupBox*>(ptr)->QGroupBox::close();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBox*>(ptr)->QToolBox::close();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedWidget*>(ptr)->QStackedWidget::close();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitter*>(ptr)->QSplitter::close();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
return static_cast<QLCDNumber*>(ptr)->QLCDNumber::close();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
return static_cast<QLabel*>(ptr)->QLabel::close();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::close();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextEdit*>(ptr)->QTextEdit::close();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollArea*>(ptr)->QScrollArea::close();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::close();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiArea*>(ptr)->QMdiArea::close();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::close();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeView*>(ptr)->QTreeView::close();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::close();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableView*>(ptr)->QTableView::close();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::close();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::close();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return static_cast<QListView*>(ptr)->QListView::close();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::close();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return static_cast<QColumnView*>(ptr)->QColumnView::close();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::close();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsView*>(ptr)->QGraphicsView::close();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::close();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFrame*>(ptr)->QFrame::close();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFocusFrame*>(ptr)->QFocusFrame::close();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDockWidget*>(ptr)->QDockWidget::close();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::close();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontComboBox*>(ptr)->QFontComboBox::close();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QComboBox*>(ptr)->QComboBox::close();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::close();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpinBox*>(ptr)->QSpinBox::close();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::close();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTimeEdit*>(ptr)->QTimeEdit::close();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateEdit*>(ptr)->QDateEdit::close();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::close();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::close();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QSlider*>(ptr)->QSlider::close();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollBar*>(ptr)->QScrollBar::close();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
return static_cast<QDial*>(ptr)->QDial::close();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::close();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolButton*>(ptr)->QToolButton::close();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QRadioButton*>(ptr)->QRadioButton::close();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::close();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QPushButton*>(ptr)->QPushButton::close();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QCheckBox*>(ptr)->QCheckBox::close();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractButton*>(ptr)->QAbstractButton::close();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::close();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizardPage*>(ptr)->QWizardPage::close();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizard*>(ptr)->QWizard::close();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressDialog*>(ptr)->QProgressDialog::close();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QMessageBox*>(ptr)->QMessageBox::close();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QInputDialog*>(ptr)->QInputDialog::close();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontDialog*>(ptr)->QFontDialog::close();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFileDialog*>(ptr)->QFileDialog::close();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
return static_cast<QErrorMessage*>(ptr)->QErrorMessage::close();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QColorDialog*>(ptr)->QColorDialog::close();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialog*>(ptr)->QDialog::close();
} else {
return static_cast<QWidget*>(ptr)->QWidget::close();
}
}
char QWidget_Event(void* ptr, void* event)
{
return static_cast<QWidget*>(ptr)->event(static_cast<QEvent*>(event));
}
char QWidget_EventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBar*>(ptr)->QToolBar::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabWidget*>(ptr)->QTabWidget::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabBar*>(ptr)->QTabBar::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QStatusBar*>(ptr)->QStatusBar::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplashScreen*>(ptr)->QSplashScreen::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
return static_cast<QSizeGrip*>(ptr)->QSizeGrip::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
return static_cast<QRubberBand*>(ptr)->QRubberBand::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressBar*>(ptr)->QProgressBar::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenuBar*>(ptr)->QMenuBar::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenu*>(ptr)->QMenu::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMainWindow*>(ptr)->QMainWindow::event(static_cast<QEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::event(static_cast<QEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::event(static_cast<QEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QLineEdit*>(ptr)->QLineEdit::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QGroupBox*>(ptr)->QGroupBox::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBox*>(ptr)->QToolBox::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedWidget*>(ptr)->QStackedWidget::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitter*>(ptr)->QSplitter::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
return static_cast<QLCDNumber*>(ptr)->QLCDNumber::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
return static_cast<QLabel*>(ptr)->QLabel::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextEdit*>(ptr)->QTextEdit::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollArea*>(ptr)->QScrollArea::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiArea*>(ptr)->QMdiArea::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeView*>(ptr)->QTreeView::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableView*>(ptr)->QTableView::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return static_cast<QListView*>(ptr)->QListView::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return static_cast<QColumnView*>(ptr)->QColumnView::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsView*>(ptr)->QGraphicsView::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFrame*>(ptr)->QFrame::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFocusFrame*>(ptr)->QFocusFrame::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDockWidget*>(ptr)->QDockWidget::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontComboBox*>(ptr)->QFontComboBox::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QComboBox*>(ptr)->QComboBox::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpinBox*>(ptr)->QSpinBox::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTimeEdit*>(ptr)->QTimeEdit::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateEdit*>(ptr)->QDateEdit::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QSlider*>(ptr)->QSlider::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollBar*>(ptr)->QScrollBar::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
return static_cast<QDial*>(ptr)->QDial::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolButton*>(ptr)->QToolButton::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QRadioButton*>(ptr)->QRadioButton::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QPushButton*>(ptr)->QPushButton::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QCheckBox*>(ptr)->QCheckBox::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractButton*>(ptr)->QAbstractButton::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizardPage*>(ptr)->QWizardPage::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizard*>(ptr)->QWizard::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressDialog*>(ptr)->QProgressDialog::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QMessageBox*>(ptr)->QMessageBox::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QInputDialog*>(ptr)->QInputDialog::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontDialog*>(ptr)->QFontDialog::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFileDialog*>(ptr)->QFileDialog::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
return static_cast<QErrorMessage*>(ptr)->QErrorMessage::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QColorDialog*>(ptr)->QColorDialog::event(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialog*>(ptr)->QDialog::event(static_cast<QEvent*>(event));
} else {
return static_cast<QWidget*>(ptr)->QWidget::event(static_cast<QEvent*>(event));
}
}
char QWidget_FocusNextChild(void* ptr)
{
return static_cast<QWidget*>(ptr)->focusNextChild();
}
char QWidget_FocusNextPrevChild(void* ptr, char next)
{
return static_cast<QWidget*>(ptr)->focusNextPrevChild(next != 0);
}
char QWidget_FocusNextPrevChildDefault(void* ptr, char next)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBar*>(ptr)->QToolBar::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabWidget*>(ptr)->QTabWidget::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabBar*>(ptr)->QTabBar::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QStatusBar*>(ptr)->QStatusBar::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplashScreen*>(ptr)->QSplashScreen::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
return static_cast<QSizeGrip*>(ptr)->QSizeGrip::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
return static_cast<QRubberBand*>(ptr)->QRubberBand::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressBar*>(ptr)->QProgressBar::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenuBar*>(ptr)->QMenuBar::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenu*>(ptr)->QMenu::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMainWindow*>(ptr)->QMainWindow::focusNextPrevChild(next != 0);
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::focusNextPrevChild(next != 0);
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::focusNextPrevChild(next != 0);
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QLineEdit*>(ptr)->QLineEdit::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QGroupBox*>(ptr)->QGroupBox::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBox*>(ptr)->QToolBox::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedWidget*>(ptr)->QStackedWidget::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitter*>(ptr)->QSplitter::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
return static_cast<QLCDNumber*>(ptr)->QLCDNumber::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
return static_cast<QLabel*>(ptr)->QLabel::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextEdit*>(ptr)->QTextEdit::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollArea*>(ptr)->QScrollArea::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiArea*>(ptr)->QMdiArea::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeView*>(ptr)->QTreeView::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableView*>(ptr)->QTableView::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return static_cast<QListView*>(ptr)->QListView::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return static_cast<QColumnView*>(ptr)->QColumnView::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsView*>(ptr)->QGraphicsView::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFrame*>(ptr)->QFrame::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFocusFrame*>(ptr)->QFocusFrame::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDockWidget*>(ptr)->QDockWidget::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontComboBox*>(ptr)->QFontComboBox::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QComboBox*>(ptr)->QComboBox::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpinBox*>(ptr)->QSpinBox::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTimeEdit*>(ptr)->QTimeEdit::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateEdit*>(ptr)->QDateEdit::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QSlider*>(ptr)->QSlider::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollBar*>(ptr)->QScrollBar::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
return static_cast<QDial*>(ptr)->QDial::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolButton*>(ptr)->QToolButton::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QRadioButton*>(ptr)->QRadioButton::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QPushButton*>(ptr)->QPushButton::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QCheckBox*>(ptr)->QCheckBox::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractButton*>(ptr)->QAbstractButton::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizardPage*>(ptr)->QWizardPage::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizard*>(ptr)->QWizard::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressDialog*>(ptr)->QProgressDialog::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QMessageBox*>(ptr)->QMessageBox::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QInputDialog*>(ptr)->QInputDialog::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontDialog*>(ptr)->QFontDialog::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFileDialog*>(ptr)->QFileDialog::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
return static_cast<QErrorMessage*>(ptr)->QErrorMessage::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QColorDialog*>(ptr)->QColorDialog::focusNextPrevChild(next != 0);
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialog*>(ptr)->QDialog::focusNextPrevChild(next != 0);
} else {
return static_cast<QWidget*>(ptr)->QWidget::focusNextPrevChild(next != 0);
}
}
char QWidget_FocusPreviousChild(void* ptr)
{
return static_cast<QWidget*>(ptr)->focusPreviousChild();
}
char QWidget_NativeEvent(void* ptr, void* eventType, void* message, long result)
{
return static_cast<QWidget*>(ptr)->nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
}
char QWidget_NativeEventDefault(void* ptr, void* eventType, void* message, long result)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBar*>(ptr)->QToolBar::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabWidget*>(ptr)->QTabWidget::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabBar*>(ptr)->QTabBar::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QStatusBar*>(ptr)->QStatusBar::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplashScreen*>(ptr)->QSplashScreen::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
return static_cast<QSizeGrip*>(ptr)->QSizeGrip::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
return static_cast<QRubberBand*>(ptr)->QRubberBand::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressBar*>(ptr)->QProgressBar::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenuBar*>(ptr)->QMenuBar::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenu*>(ptr)->QMenu::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMainWindow*>(ptr)->QMainWindow::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QLineEdit*>(ptr)->QLineEdit::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QGroupBox*>(ptr)->QGroupBox::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBox*>(ptr)->QToolBox::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedWidget*>(ptr)->QStackedWidget::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitter*>(ptr)->QSplitter::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
return static_cast<QLCDNumber*>(ptr)->QLCDNumber::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
return static_cast<QLabel*>(ptr)->QLabel::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextEdit*>(ptr)->QTextEdit::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollArea*>(ptr)->QScrollArea::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiArea*>(ptr)->QMdiArea::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeView*>(ptr)->QTreeView::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableView*>(ptr)->QTableView::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return static_cast<QListView*>(ptr)->QListView::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return static_cast<QColumnView*>(ptr)->QColumnView::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsView*>(ptr)->QGraphicsView::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFrame*>(ptr)->QFrame::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFocusFrame*>(ptr)->QFocusFrame::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDockWidget*>(ptr)->QDockWidget::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontComboBox*>(ptr)->QFontComboBox::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QComboBox*>(ptr)->QComboBox::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpinBox*>(ptr)->QSpinBox::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTimeEdit*>(ptr)->QTimeEdit::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateEdit*>(ptr)->QDateEdit::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QSlider*>(ptr)->QSlider::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollBar*>(ptr)->QScrollBar::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
return static_cast<QDial*>(ptr)->QDial::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolButton*>(ptr)->QToolButton::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QRadioButton*>(ptr)->QRadioButton::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QPushButton*>(ptr)->QPushButton::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QCheckBox*>(ptr)->QCheckBox::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractButton*>(ptr)->QAbstractButton::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizardPage*>(ptr)->QWizardPage::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizard*>(ptr)->QWizard::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressDialog*>(ptr)->QProgressDialog::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QMessageBox*>(ptr)->QMessageBox::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QInputDialog*>(ptr)->QInputDialog::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontDialog*>(ptr)->QFontDialog::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFileDialog*>(ptr)->QFileDialog::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
return static_cast<QErrorMessage*>(ptr)->QErrorMessage::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QColorDialog*>(ptr)->QColorDialog::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialog*>(ptr)->QDialog::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
} else {
return static_cast<QWidget*>(ptr)->QWidget::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
}
}
char QWidget_RestoreGeometry(void* ptr, void* geometry)
{
return static_cast<QWidget*>(ptr)->restoreGeometry(*static_cast<QByteArray*>(geometry));
}
int QWidget_GrabShortcut(void* ptr, void* key, long long context)
{
return static_cast<QWidget*>(ptr)->grabShortcut(*static_cast<QKeySequence*>(key), static_cast<Qt::ShortcutContext>(context));
}
void QWidget_ActionEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->actionEvent(static_cast<QActionEvent*>(event));
}
void QWidget_ActionEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::actionEvent(static_cast<QActionEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::actionEvent(static_cast<QActionEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::actionEvent(static_cast<QActionEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::actionEvent(static_cast<QActionEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::actionEvent(static_cast<QActionEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::actionEvent(static_cast<QActionEvent*>(event));
}
}
void QWidget_ActivateWindow(void* ptr)
{
static_cast<QWidget*>(ptr)->activateWindow();
}
void QWidget_AddAction(void* ptr, void* action)
{
static_cast<QWidget*>(ptr)->addAction(static_cast<QAction*>(action));
}
void QWidget_AddActions(void* ptr, void* actions)
{
static_cast<QWidget*>(ptr)->addActions(*static_cast<QList<QAction *>*>(actions));
}
void QWidget_AdjustSize(void* ptr)
{
static_cast<QWidget*>(ptr)->adjustSize();
}
void QWidget_ChangeEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->changeEvent(static_cast<QEvent*>(event));
}
void QWidget_ChangeEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::changeEvent(static_cast<QEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::changeEvent(static_cast<QEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::changeEvent(static_cast<QEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::changeEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::changeEvent(static_cast<QEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::changeEvent(static_cast<QEvent*>(event));
}
}
void QWidget_ClearFocus(void* ptr)
{
static_cast<QWidget*>(ptr)->clearFocus();
}
void QWidget_ClearMask(void* ptr)
{
static_cast<QWidget*>(ptr)->clearMask();
}
void QWidget_CloseEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->closeEvent(static_cast<QCloseEvent*>(event));
}
void QWidget_CloseEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::closeEvent(static_cast<QCloseEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::closeEvent(static_cast<QCloseEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::closeEvent(static_cast<QCloseEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::closeEvent(static_cast<QCloseEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::closeEvent(static_cast<QCloseEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::closeEvent(static_cast<QCloseEvent*>(event));
}
}
void QWidget_ContextMenuEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->contextMenuEvent(static_cast<QContextMenuEvent*>(event));
}
void QWidget_ContextMenuEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
}
}
void QWidget_Create(void* ptr, uintptr_t window, char initializeWindow, char destroyOldWindow)
{
static_cast<QWidget*>(ptr)->create(window, initializeWindow != 0, destroyOldWindow != 0);
}
void QWidget_ConnectCustomContextMenuRequested(void* ptr)
{
QObject::connect(static_cast<QWidget*>(ptr), static_cast<void (QWidget::*)(const QPoint &)>(&QWidget::customContextMenuRequested), static_cast<MyQWidget*>(ptr), static_cast<void (MyQWidget::*)(const QPoint &)>(&MyQWidget::Signal_CustomContextMenuRequested));
}
void QWidget_DisconnectCustomContextMenuRequested(void* ptr)
{
QObject::disconnect(static_cast<QWidget*>(ptr), static_cast<void (QWidget::*)(const QPoint &)>(&QWidget::customContextMenuRequested), static_cast<MyQWidget*>(ptr), static_cast<void (MyQWidget::*)(const QPoint &)>(&MyQWidget::Signal_CustomContextMenuRequested));
}
void QWidget_CustomContextMenuRequested(void* ptr, void* pos)
{
static_cast<QWidget*>(ptr)->customContextMenuRequested(*static_cast<QPoint*>(pos));
}
void QWidget_Destroy(void* ptr, char destroyWindow, char destroySubWindows)
{
static_cast<QWidget*>(ptr)->destroy(destroyWindow != 0, destroySubWindows != 0);
}
void QWidget_DragEnterEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->dragEnterEvent(static_cast<QDragEnterEvent*>(event));
}
void QWidget_DragEnterEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::dragEnterEvent(static_cast<QDragEnterEvent*>(event));
}
}
void QWidget_DragLeaveEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
}
void QWidget_DragLeaveEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event));
}
}
void QWidget_DragMoveEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->dragMoveEvent(static_cast<QDragMoveEvent*>(event));
}
void QWidget_DragMoveEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::dragMoveEvent(static_cast<QDragMoveEvent*>(event));
}
}
void QWidget_DropEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->dropEvent(static_cast<QDropEvent*>(event));
}
void QWidget_DropEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::dropEvent(static_cast<QDropEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::dropEvent(static_cast<QDropEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::dropEvent(static_cast<QDropEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::dropEvent(static_cast<QDropEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::dropEvent(static_cast<QDropEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::dropEvent(static_cast<QDropEvent*>(event));
}
}
void QWidget_EnterEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->enterEvent(static_cast<QEvent*>(event));
}
void QWidget_EnterEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::enterEvent(static_cast<QEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::enterEvent(static_cast<QEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::enterEvent(static_cast<QEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::enterEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::enterEvent(static_cast<QEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::enterEvent(static_cast<QEvent*>(event));
}
}
void QWidget_FocusInEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->focusInEvent(static_cast<QFocusEvent*>(event));
}
void QWidget_FocusInEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::focusInEvent(static_cast<QFocusEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::focusInEvent(static_cast<QFocusEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::focusInEvent(static_cast<QFocusEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::focusInEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::focusInEvent(static_cast<QFocusEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::focusInEvent(static_cast<QFocusEvent*>(event));
}
}
void QWidget_FocusOutEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->focusOutEvent(static_cast<QFocusEvent*>(event));
}
void QWidget_FocusOutEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::focusOutEvent(static_cast<QFocusEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::focusOutEvent(static_cast<QFocusEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::focusOutEvent(static_cast<QFocusEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::focusOutEvent(static_cast<QFocusEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::focusOutEvent(static_cast<QFocusEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::focusOutEvent(static_cast<QFocusEvent*>(event));
}
}
void QWidget_GrabGesture(void* ptr, long long gesture, long long flags)
{
static_cast<QWidget*>(ptr)->grabGesture(static_cast<Qt::GestureType>(gesture), static_cast<Qt::GestureFlag>(flags));
}
void QWidget_GrabKeyboard(void* ptr)
{
static_cast<QWidget*>(ptr)->grabKeyboard();
}
void QWidget_GrabMouse(void* ptr)
{
static_cast<QWidget*>(ptr)->grabMouse();
}
void QWidget_GrabMouse2(void* ptr, void* cursor)
{
static_cast<QWidget*>(ptr)->grabMouse(*static_cast<QCursor*>(cursor));
}
void QWidget_Hide(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "hide");
}
void QWidget_HideDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::hide();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::hide();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::hide();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::hide();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::hide();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::hide();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::hide();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::hide();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::hide();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::hide();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::hide();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::hide();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::hide();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::hide();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::hide();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::hide();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::hide();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::hide();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::hide();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::hide();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::hide();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::hide();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::hide();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::hide();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::hide();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::hide();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::hide();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::hide();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::hide();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::hide();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::hide();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::hide();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::hide();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::hide();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::hide();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::hide();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::hide();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::hide();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::hide();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::hide();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::hide();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::hide();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::hide();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::hide();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::hide();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::hide();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::hide();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::hide();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::hide();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::hide();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::hide();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::hide();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::hide();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::hide();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::hide();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::hide();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::hide();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::hide();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::hide();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::hide();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::hide();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::hide();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::hide();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::hide();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::hide();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::hide();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::hide();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::hide();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::hide();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::hide();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::hide();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::hide();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::hide();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::hide();
} else {
static_cast<QWidget*>(ptr)->QWidget::hide();
}
}
void QWidget_HideEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->hideEvent(static_cast<QHideEvent*>(event));
}
void QWidget_HideEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::hideEvent(static_cast<QHideEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::hideEvent(static_cast<QHideEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::hideEvent(static_cast<QHideEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::hideEvent(static_cast<QHideEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::hideEvent(static_cast<QHideEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::hideEvent(static_cast<QHideEvent*>(event));
}
}
void QWidget_InputMethodEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->inputMethodEvent(static_cast<QInputMethodEvent*>(event));
}
void QWidget_InputMethodEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
}
}
void QWidget_InsertAction(void* ptr, void* before, void* action)
{
static_cast<QWidget*>(ptr)->insertAction(static_cast<QAction*>(before), static_cast<QAction*>(action));
}
void QWidget_InsertActions(void* ptr, void* before, void* actions)
{
static_cast<QWidget*>(ptr)->insertActions(static_cast<QAction*>(before), *static_cast<QList<QAction *>*>(actions));
}
void QWidget_KeyPressEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->keyPressEvent(static_cast<QKeyEvent*>(event));
}
void QWidget_KeyPressEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::keyPressEvent(static_cast<QKeyEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::keyPressEvent(static_cast<QKeyEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::keyPressEvent(static_cast<QKeyEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::keyPressEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::keyPressEvent(static_cast<QKeyEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::keyPressEvent(static_cast<QKeyEvent*>(event));
}
}
void QWidget_KeyReleaseEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->keyReleaseEvent(static_cast<QKeyEvent*>(event));
}
void QWidget_KeyReleaseEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::keyReleaseEvent(static_cast<QKeyEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::keyReleaseEvent(static_cast<QKeyEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::keyReleaseEvent(static_cast<QKeyEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::keyReleaseEvent(static_cast<QKeyEvent*>(event));
}
}
void QWidget_LeaveEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->leaveEvent(static_cast<QEvent*>(event));
}
void QWidget_LeaveEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::leaveEvent(static_cast<QEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::leaveEvent(static_cast<QEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::leaveEvent(static_cast<QEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::leaveEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::leaveEvent(static_cast<QEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::leaveEvent(static_cast<QEvent*>(event));
}
}
void QWidget_Lower(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "lower");
}
void QWidget_LowerDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::lower();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::lower();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::lower();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::lower();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::lower();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::lower();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::lower();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::lower();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::lower();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::lower();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::lower();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::lower();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::lower();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::lower();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::lower();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::lower();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::lower();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::lower();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::lower();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::lower();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::lower();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::lower();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::lower();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::lower();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::lower();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::lower();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::lower();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::lower();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::lower();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::lower();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::lower();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::lower();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::lower();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::lower();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::lower();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::lower();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::lower();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::lower();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::lower();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::lower();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::lower();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::lower();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::lower();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::lower();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::lower();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::lower();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::lower();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::lower();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::lower();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::lower();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::lower();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::lower();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::lower();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::lower();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::lower();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::lower();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::lower();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::lower();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::lower();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::lower();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::lower();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::lower();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::lower();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::lower();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::lower();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::lower();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::lower();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::lower();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::lower();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::lower();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::lower();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::lower();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::lower();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::lower();
} else {
static_cast<QWidget*>(ptr)->QWidget::lower();
}
}
void QWidget_MouseDoubleClickEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
}
void QWidget_MouseDoubleClickEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
}
}
void QWidget_MouseMoveEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->mouseMoveEvent(static_cast<QMouseEvent*>(event));
}
void QWidget_MouseMoveEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::mouseMoveEvent(static_cast<QMouseEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::mouseMoveEvent(static_cast<QMouseEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::mouseMoveEvent(static_cast<QMouseEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::mouseMoveEvent(static_cast<QMouseEvent*>(event));
}
}
void QWidget_MousePressEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->mousePressEvent(static_cast<QMouseEvent*>(event));
}
void QWidget_MousePressEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::mousePressEvent(static_cast<QMouseEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::mousePressEvent(static_cast<QMouseEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::mousePressEvent(static_cast<QMouseEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::mousePressEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::mousePressEvent(static_cast<QMouseEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::mousePressEvent(static_cast<QMouseEvent*>(event));
}
}
void QWidget_MouseReleaseEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->mouseReleaseEvent(static_cast<QMouseEvent*>(event));
}
void QWidget_MouseReleaseEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
}
}
void QWidget_Move(void* ptr, void* vqp)
{
static_cast<QWidget*>(ptr)->move(*static_cast<QPoint*>(vqp));
}
void QWidget_Move2(void* ptr, int x, int y)
{
static_cast<QWidget*>(ptr)->move(x, y);
}
void QWidget_MoveEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->moveEvent(static_cast<QMoveEvent*>(event));
}
void QWidget_MoveEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::moveEvent(static_cast<QMoveEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::moveEvent(static_cast<QMoveEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::moveEvent(static_cast<QMoveEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::moveEvent(static_cast<QMoveEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::moveEvent(static_cast<QMoveEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::moveEvent(static_cast<QMoveEvent*>(event));
}
}
void QWidget_OverrideWindowFlags(void* ptr, long long flags)
{
static_cast<QWidget*>(ptr)->overrideWindowFlags(static_cast<Qt::WindowType>(flags));
}
void QWidget_PaintEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->paintEvent(static_cast<QPaintEvent*>(event));
}
void QWidget_PaintEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::paintEvent(static_cast<QPaintEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::paintEvent(static_cast<QPaintEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::paintEvent(static_cast<QPaintEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::paintEvent(static_cast<QPaintEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::paintEvent(static_cast<QPaintEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::paintEvent(static_cast<QPaintEvent*>(event));
}
}
void QWidget_Raise(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "raise");
}
void QWidget_RaiseDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::raise();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::raise();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::raise();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::raise();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::raise();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::raise();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::raise();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::raise();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::raise();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::raise();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::raise();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::raise();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::raise();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::raise();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::raise();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::raise();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::raise();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::raise();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::raise();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::raise();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::raise();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::raise();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::raise();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::raise();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::raise();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::raise();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::raise();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::raise();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::raise();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::raise();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::raise();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::raise();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::raise();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::raise();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::raise();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::raise();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::raise();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::raise();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::raise();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::raise();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::raise();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::raise();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::raise();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::raise();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::raise();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::raise();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::raise();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::raise();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::raise();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::raise();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::raise();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::raise();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::raise();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::raise();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::raise();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::raise();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::raise();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::raise();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::raise();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::raise();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::raise();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::raise();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::raise();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::raise();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::raise();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::raise();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::raise();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::raise();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::raise();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::raise();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::raise();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::raise();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::raise();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::raise();
} else {
static_cast<QWidget*>(ptr)->QWidget::raise();
}
}
void QWidget_ReleaseKeyboard(void* ptr)
{
static_cast<QWidget*>(ptr)->releaseKeyboard();
}
void QWidget_ReleaseMouse(void* ptr)
{
static_cast<QWidget*>(ptr)->releaseMouse();
}
void QWidget_ReleaseShortcut(void* ptr, int id)
{
static_cast<QWidget*>(ptr)->releaseShortcut(id);
}
void QWidget_RemoveAction(void* ptr, void* action)
{
static_cast<QWidget*>(ptr)->removeAction(static_cast<QAction*>(action));
}
void QWidget_Render(void* ptr, void* target, void* targetOffset, void* sourceRegion, long long renderFlags)
{
if (dynamic_cast<QWidget*>(static_cast<QObject*>(target))) {
static_cast<QWidget*>(ptr)->render(static_cast<QWidget*>(target), *static_cast<QPoint*>(targetOffset), *static_cast<QRegion*>(sourceRegion), static_cast<QWidget::RenderFlag>(renderFlags));
} else {
static_cast<QWidget*>(ptr)->render(static_cast<QPaintDevice*>(target), *static_cast<QPoint*>(targetOffset), *static_cast<QRegion*>(sourceRegion), static_cast<QWidget::RenderFlag>(renderFlags));
}
}
void QWidget_Render2(void* ptr, void* painter, void* targetOffset, void* sourceRegion, long long renderFlags)
{
static_cast<QWidget*>(ptr)->render(static_cast<QPainter*>(painter), *static_cast<QPoint*>(targetOffset), *static_cast<QRegion*>(sourceRegion), static_cast<QWidget::RenderFlag>(renderFlags));
}
void QWidget_Repaint(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "repaint");
}
void QWidget_RepaintDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::repaint();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::repaint();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::repaint();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::repaint();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::repaint();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::repaint();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::repaint();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::repaint();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::repaint();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::repaint();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::repaint();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::repaint();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::repaint();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::repaint();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::repaint();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::repaint();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::repaint();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::repaint();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::repaint();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::repaint();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::repaint();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::repaint();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::repaint();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::repaint();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::repaint();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::repaint();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::repaint();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::repaint();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::repaint();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::repaint();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::repaint();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::repaint();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::repaint();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::repaint();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::repaint();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::repaint();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::repaint();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::repaint();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::repaint();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::repaint();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::repaint();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::repaint();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::repaint();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::repaint();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::repaint();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::repaint();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::repaint();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::repaint();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::repaint();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::repaint();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::repaint();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::repaint();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::repaint();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::repaint();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::repaint();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::repaint();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::repaint();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::repaint();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::repaint();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::repaint();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::repaint();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::repaint();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::repaint();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::repaint();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::repaint();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::repaint();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::repaint();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::repaint();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::repaint();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::repaint();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::repaint();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::repaint();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::repaint();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::repaint();
} else {
static_cast<QWidget*>(ptr)->QWidget::repaint();
}
}
void QWidget_Repaint3(void* ptr, void* rect)
{
static_cast<QWidget*>(ptr)->repaint(*static_cast<QRect*>(rect));
}
void QWidget_Repaint4(void* ptr, void* rgn)
{
static_cast<QWidget*>(ptr)->repaint(*static_cast<QRegion*>(rgn));
}
void QWidget_Repaint2(void* ptr, int x, int y, int w, int h)
{
static_cast<QWidget*>(ptr)->repaint(x, y, w, h);
}
void QWidget_Resize(void* ptr, void* vqs)
{
static_cast<QWidget*>(ptr)->resize(*static_cast<QSize*>(vqs));
}
void QWidget_Resize2(void* ptr, int w, int h)
{
static_cast<QWidget*>(ptr)->resize(w, h);
}
void QWidget_ResizeEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->resizeEvent(static_cast<QResizeEvent*>(event));
}
void QWidget_ResizeEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::resizeEvent(static_cast<QResizeEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::resizeEvent(static_cast<QResizeEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::resizeEvent(static_cast<QResizeEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::resizeEvent(static_cast<QResizeEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::resizeEvent(static_cast<QResizeEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::resizeEvent(static_cast<QResizeEvent*>(event));
}
}
void QWidget_Scroll(void* ptr, int dx, int dy)
{
static_cast<QWidget*>(ptr)->scroll(dx, dy);
}
void QWidget_Scroll2(void* ptr, int dx, int dy, void* r)
{
static_cast<QWidget*>(ptr)->scroll(dx, dy, *static_cast<QRect*>(r));
}
void QWidget_SetAcceptDrops(void* ptr, char on)
{
static_cast<QWidget*>(ptr)->setAcceptDrops(on != 0);
}
void QWidget_SetAccessibleDescription(void* ptr, char* description)
{
static_cast<QWidget*>(ptr)->setAccessibleDescription(QString(description));
}
void QWidget_SetAccessibleName(void* ptr, char* name)
{
static_cast<QWidget*>(ptr)->setAccessibleName(QString(name));
}
void QWidget_SetAttribute(void* ptr, long long attribute, char on)
{
static_cast<QWidget*>(ptr)->setAttribute(static_cast<Qt::WidgetAttribute>(attribute), on != 0);
}
void QWidget_SetAutoFillBackground(void* ptr, char enabled)
{
static_cast<QWidget*>(ptr)->setAutoFillBackground(enabled != 0);
}
void QWidget_SetBackgroundRole(void* ptr, long long role)
{
static_cast<QWidget*>(ptr)->setBackgroundRole(static_cast<QPalette::ColorRole>(role));
}
void QWidget_SetBaseSize(void* ptr, void* vqs)
{
static_cast<QWidget*>(ptr)->setBaseSize(*static_cast<QSize*>(vqs));
}
void QWidget_SetBaseSize2(void* ptr, int basew, int baseh)
{
static_cast<QWidget*>(ptr)->setBaseSize(basew, baseh);
}
void QWidget_SetContentsMargins2(void* ptr, void* margins)
{
static_cast<QWidget*>(ptr)->setContentsMargins(*static_cast<QMargins*>(margins));
}
void QWidget_SetContentsMargins(void* ptr, int left, int top, int right, int bottom)
{
static_cast<QWidget*>(ptr)->setContentsMargins(left, top, right, bottom);
}
void QWidget_SetContextMenuPolicy(void* ptr, long long policy)
{
static_cast<QWidget*>(ptr)->setContextMenuPolicy(static_cast<Qt::ContextMenuPolicy>(policy));
}
void QWidget_SetCursor(void* ptr, void* vqc)
{
static_cast<QWidget*>(ptr)->setCursor(*static_cast<QCursor*>(vqc));
}
void QWidget_SetDisabled(void* ptr, char disable)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "setDisabled", Q_ARG(bool, disable != 0));
}
void QWidget_SetDisabledDefault(void* ptr, char disable)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::setDisabled(disable != 0);
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::setDisabled(disable != 0);
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::setDisabled(disable != 0);
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::setDisabled(disable != 0);
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::setDisabled(disable != 0);
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::setDisabled(disable != 0);
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::setDisabled(disable != 0);
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::setDisabled(disable != 0);
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::setDisabled(disable != 0);
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::setDisabled(disable != 0);
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::setDisabled(disable != 0);
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::setDisabled(disable != 0);
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::setDisabled(disable != 0);
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::setDisabled(disable != 0);
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::setDisabled(disable != 0);
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::setDisabled(disable != 0);
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::setDisabled(disable != 0);
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::setDisabled(disable != 0);
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::setDisabled(disable != 0);
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::setDisabled(disable != 0);
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::setDisabled(disable != 0);
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::setDisabled(disable != 0);
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::setDisabled(disable != 0);
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setDisabled(disable != 0);
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::setDisabled(disable != 0);
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::setDisabled(disable != 0);
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::setDisabled(disable != 0);
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::setDisabled(disable != 0);
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::setDisabled(disable != 0);
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::setDisabled(disable != 0);
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setDisabled(disable != 0);
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::setDisabled(disable != 0);
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::setDisabled(disable != 0);
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::setDisabled(disable != 0);
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::setDisabled(disable != 0);
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::setDisabled(disable != 0);
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::setDisabled(disable != 0);
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::setDisabled(disable != 0);
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::setDisabled(disable != 0);
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::setDisabled(disable != 0);
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::setDisabled(disable != 0);
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::setDisabled(disable != 0);
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::setDisabled(disable != 0);
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::setDisabled(disable != 0);
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::setDisabled(disable != 0);
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::setDisabled(disable != 0);
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::setDisabled(disable != 0);
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::setDisabled(disable != 0);
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::setDisabled(disable != 0);
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::setDisabled(disable != 0);
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::setDisabled(disable != 0);
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::setDisabled(disable != 0);
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::setDisabled(disable != 0);
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::setDisabled(disable != 0);
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::setDisabled(disable != 0);
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::setDisabled(disable != 0);
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::setDisabled(disable != 0);
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::setDisabled(disable != 0);
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::setDisabled(disable != 0);
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::setDisabled(disable != 0);
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::setDisabled(disable != 0);
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::setDisabled(disable != 0);
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::setDisabled(disable != 0);
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::setDisabled(disable != 0);
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::setDisabled(disable != 0);
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::setDisabled(disable != 0);
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setDisabled(disable != 0);
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::setDisabled(disable != 0);
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::setDisabled(disable != 0);
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::setDisabled(disable != 0);
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::setDisabled(disable != 0);
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::setDisabled(disable != 0);
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::setDisabled(disable != 0);
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::setDisabled(disable != 0);
} else {
static_cast<QWidget*>(ptr)->QWidget::setDisabled(disable != 0);
}
}
void QWidget_SetEditFocus(void* ptr, char enable)
{
#ifdef QT_KEYPAD_NAVIGATION
static_cast<QWidget*>(ptr)->setEditFocus(enable != 0);
#endif
}
void QWidget_SetEnabled(void* ptr, char vbo)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "setEnabled", Q_ARG(bool, vbo != 0));
}
void QWidget_SetEnabledDefault(void* ptr, char vbo)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::setEnabled(vbo != 0);
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::setEnabled(vbo != 0);
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::setEnabled(vbo != 0);
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::setEnabled(vbo != 0);
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::setEnabled(vbo != 0);
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::setEnabled(vbo != 0);
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::setEnabled(vbo != 0);
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::setEnabled(vbo != 0);
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::setEnabled(vbo != 0);
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::setEnabled(vbo != 0);
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::setEnabled(vbo != 0);
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::setEnabled(vbo != 0);
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::setEnabled(vbo != 0);
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::setEnabled(vbo != 0);
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::setEnabled(vbo != 0);
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::setEnabled(vbo != 0);
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::setEnabled(vbo != 0);
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::setEnabled(vbo != 0);
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::setEnabled(vbo != 0);
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::setEnabled(vbo != 0);
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::setEnabled(vbo != 0);
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::setEnabled(vbo != 0);
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::setEnabled(vbo != 0);
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setEnabled(vbo != 0);
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::setEnabled(vbo != 0);
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::setEnabled(vbo != 0);
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::setEnabled(vbo != 0);
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::setEnabled(vbo != 0);
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::setEnabled(vbo != 0);
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::setEnabled(vbo != 0);
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setEnabled(vbo != 0);
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::setEnabled(vbo != 0);
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::setEnabled(vbo != 0);
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::setEnabled(vbo != 0);
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::setEnabled(vbo != 0);
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::setEnabled(vbo != 0);
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::setEnabled(vbo != 0);
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::setEnabled(vbo != 0);
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::setEnabled(vbo != 0);
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::setEnabled(vbo != 0);
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::setEnabled(vbo != 0);
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::setEnabled(vbo != 0);
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::setEnabled(vbo != 0);
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::setEnabled(vbo != 0);
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::setEnabled(vbo != 0);
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::setEnabled(vbo != 0);
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::setEnabled(vbo != 0);
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::setEnabled(vbo != 0);
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::setEnabled(vbo != 0);
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::setEnabled(vbo != 0);
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::setEnabled(vbo != 0);
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::setEnabled(vbo != 0);
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::setEnabled(vbo != 0);
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::setEnabled(vbo != 0);
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::setEnabled(vbo != 0);
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::setEnabled(vbo != 0);
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::setEnabled(vbo != 0);
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::setEnabled(vbo != 0);
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::setEnabled(vbo != 0);
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::setEnabled(vbo != 0);
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::setEnabled(vbo != 0);
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::setEnabled(vbo != 0);
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::setEnabled(vbo != 0);
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::setEnabled(vbo != 0);
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::setEnabled(vbo != 0);
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::setEnabled(vbo != 0);
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setEnabled(vbo != 0);
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::setEnabled(vbo != 0);
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::setEnabled(vbo != 0);
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::setEnabled(vbo != 0);
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::setEnabled(vbo != 0);
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::setEnabled(vbo != 0);
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::setEnabled(vbo != 0);
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::setEnabled(vbo != 0);
} else {
static_cast<QWidget*>(ptr)->QWidget::setEnabled(vbo != 0);
}
}
void QWidget_SetFixedHeight(void* ptr, int h)
{
static_cast<QWidget*>(ptr)->setFixedHeight(h);
}
void QWidget_SetFixedSize(void* ptr, void* s)
{
static_cast<QWidget*>(ptr)->setFixedSize(*static_cast<QSize*>(s));
}
void QWidget_SetFixedSize2(void* ptr, int w, int h)
{
static_cast<QWidget*>(ptr)->setFixedSize(w, h);
}
void QWidget_SetFixedWidth(void* ptr, int w)
{
static_cast<QWidget*>(ptr)->setFixedWidth(w);
}
void QWidget_SetFocus2(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "setFocus");
}
void QWidget_SetFocus2Default(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::setFocus();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::setFocus();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::setFocus();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::setFocus();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::setFocus();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::setFocus();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::setFocus();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::setFocus();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::setFocus();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::setFocus();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::setFocus();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::setFocus();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::setFocus();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::setFocus();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::setFocus();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::setFocus();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::setFocus();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::setFocus();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::setFocus();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::setFocus();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::setFocus();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::setFocus();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::setFocus();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setFocus();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::setFocus();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::setFocus();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::setFocus();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::setFocus();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::setFocus();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::setFocus();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setFocus();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::setFocus();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::setFocus();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::setFocus();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::setFocus();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::setFocus();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::setFocus();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::setFocus();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::setFocus();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::setFocus();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::setFocus();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::setFocus();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::setFocus();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::setFocus();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::setFocus();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::setFocus();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::setFocus();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::setFocus();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::setFocus();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::setFocus();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::setFocus();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::setFocus();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::setFocus();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::setFocus();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::setFocus();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::setFocus();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::setFocus();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::setFocus();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::setFocus();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::setFocus();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::setFocus();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::setFocus();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::setFocus();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::setFocus();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::setFocus();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::setFocus();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setFocus();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::setFocus();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::setFocus();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::setFocus();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::setFocus();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::setFocus();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::setFocus();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::setFocus();
} else {
static_cast<QWidget*>(ptr)->QWidget::setFocus();
}
}
void QWidget_SetFocus(void* ptr, long long reason)
{
static_cast<QWidget*>(ptr)->setFocus(static_cast<Qt::FocusReason>(reason));
}
void QWidget_SetFocusPolicy(void* ptr, long long policy)
{
static_cast<QWidget*>(ptr)->setFocusPolicy(static_cast<Qt::FocusPolicy>(policy));
}
void QWidget_SetFocusProxy(void* ptr, void* w)
{
static_cast<QWidget*>(ptr)->setFocusProxy(static_cast<QWidget*>(w));
}
void QWidget_SetFont(void* ptr, void* vqf)
{
static_cast<QWidget*>(ptr)->setFont(*static_cast<QFont*>(vqf));
}
void QWidget_SetForegroundRole(void* ptr, long long role)
{
static_cast<QWidget*>(ptr)->setForegroundRole(static_cast<QPalette::ColorRole>(role));
}
void QWidget_SetGeometry(void* ptr, void* vqr)
{
static_cast<QWidget*>(ptr)->setGeometry(*static_cast<QRect*>(vqr));
}
void QWidget_SetGeometry2(void* ptr, int x, int y, int w, int h)
{
static_cast<QWidget*>(ptr)->setGeometry(x, y, w, h);
}
void QWidget_SetGraphicsEffect(void* ptr, void* effect)
{
static_cast<QWidget*>(ptr)->setGraphicsEffect(static_cast<QGraphicsEffect*>(effect));
}
void QWidget_SetHidden(void* ptr, char hidden)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "setHidden", Q_ARG(bool, hidden != 0));
}
void QWidget_SetHiddenDefault(void* ptr, char hidden)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::setHidden(hidden != 0);
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::setHidden(hidden != 0);
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::setHidden(hidden != 0);
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::setHidden(hidden != 0);
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::setHidden(hidden != 0);
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::setHidden(hidden != 0);
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::setHidden(hidden != 0);
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::setHidden(hidden != 0);
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::setHidden(hidden != 0);
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::setHidden(hidden != 0);
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::setHidden(hidden != 0);
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::setHidden(hidden != 0);
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::setHidden(hidden != 0);
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::setHidden(hidden != 0);
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::setHidden(hidden != 0);
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::setHidden(hidden != 0);
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::setHidden(hidden != 0);
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::setHidden(hidden != 0);
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::setHidden(hidden != 0);
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::setHidden(hidden != 0);
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::setHidden(hidden != 0);
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::setHidden(hidden != 0);
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::setHidden(hidden != 0);
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setHidden(hidden != 0);
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::setHidden(hidden != 0);
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::setHidden(hidden != 0);
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::setHidden(hidden != 0);
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::setHidden(hidden != 0);
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::setHidden(hidden != 0);
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::setHidden(hidden != 0);
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setHidden(hidden != 0);
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::setHidden(hidden != 0);
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::setHidden(hidden != 0);
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::setHidden(hidden != 0);
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::setHidden(hidden != 0);
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::setHidden(hidden != 0);
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::setHidden(hidden != 0);
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::setHidden(hidden != 0);
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::setHidden(hidden != 0);
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::setHidden(hidden != 0);
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::setHidden(hidden != 0);
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::setHidden(hidden != 0);
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::setHidden(hidden != 0);
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::setHidden(hidden != 0);
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::setHidden(hidden != 0);
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::setHidden(hidden != 0);
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::setHidden(hidden != 0);
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::setHidden(hidden != 0);
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::setHidden(hidden != 0);
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::setHidden(hidden != 0);
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::setHidden(hidden != 0);
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::setHidden(hidden != 0);
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::setHidden(hidden != 0);
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::setHidden(hidden != 0);
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::setHidden(hidden != 0);
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::setHidden(hidden != 0);
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::setHidden(hidden != 0);
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::setHidden(hidden != 0);
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::setHidden(hidden != 0);
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::setHidden(hidden != 0);
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::setHidden(hidden != 0);
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::setHidden(hidden != 0);
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::setHidden(hidden != 0);
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::setHidden(hidden != 0);
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::setHidden(hidden != 0);
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::setHidden(hidden != 0);
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setHidden(hidden != 0);
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::setHidden(hidden != 0);
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::setHidden(hidden != 0);
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::setHidden(hidden != 0);
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::setHidden(hidden != 0);
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::setHidden(hidden != 0);
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::setHidden(hidden != 0);
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::setHidden(hidden != 0);
} else {
static_cast<QWidget*>(ptr)->QWidget::setHidden(hidden != 0);
}
}
void QWidget_SetInputMethodHints(void* ptr, long long hints)
{
static_cast<QWidget*>(ptr)->setInputMethodHints(static_cast<Qt::InputMethodHint>(hints));
}
void QWidget_SetLayout(void* ptr, void* layout)
{
static_cast<QWidget*>(ptr)->setLayout(static_cast<QLayout*>(layout));
}
void QWidget_SetLayoutDirection(void* ptr, long long direction)
{
static_cast<QWidget*>(ptr)->setLayoutDirection(static_cast<Qt::LayoutDirection>(direction));
}
void QWidget_SetLocale(void* ptr, void* locale)
{
static_cast<QWidget*>(ptr)->setLocale(*static_cast<QLocale*>(locale));
}
void QWidget_SetMask(void* ptr, void* bitmap)
{
static_cast<QWidget*>(ptr)->setMask(*static_cast<QBitmap*>(bitmap));
}
void QWidget_SetMask2(void* ptr, void* region)
{
static_cast<QWidget*>(ptr)->setMask(*static_cast<QRegion*>(region));
}
void QWidget_SetMaximumHeight(void* ptr, int maxh)
{
static_cast<QWidget*>(ptr)->setMaximumHeight(maxh);
}
void QWidget_SetMaximumSize(void* ptr, void* vqs)
{
static_cast<QWidget*>(ptr)->setMaximumSize(*static_cast<QSize*>(vqs));
}
void QWidget_SetMaximumSize2(void* ptr, int maxw, int maxh)
{
static_cast<QWidget*>(ptr)->setMaximumSize(maxw, maxh);
}
void QWidget_SetMaximumWidth(void* ptr, int maxw)
{
static_cast<QWidget*>(ptr)->setMaximumWidth(maxw);
}
void QWidget_SetMinimumHeight(void* ptr, int minh)
{
static_cast<QWidget*>(ptr)->setMinimumHeight(minh);
}
void QWidget_SetMinimumSize(void* ptr, void* vqs)
{
static_cast<QWidget*>(ptr)->setMinimumSize(*static_cast<QSize*>(vqs));
}
void QWidget_SetMinimumSize2(void* ptr, int minw, int minh)
{
static_cast<QWidget*>(ptr)->setMinimumSize(minw, minh);
}
void QWidget_SetMinimumWidth(void* ptr, int minw)
{
static_cast<QWidget*>(ptr)->setMinimumWidth(minw);
}
void QWidget_SetMouseTracking(void* ptr, char enable)
{
static_cast<QWidget*>(ptr)->setMouseTracking(enable != 0);
}
void QWidget_SetPalette(void* ptr, void* vqp)
{
static_cast<QWidget*>(ptr)->setPalette(*static_cast<QPalette*>(vqp));
}
void QWidget_SetParent(void* ptr, void* parent)
{
static_cast<QWidget*>(ptr)->setParent(static_cast<QWidget*>(parent));
}
void QWidget_SetParent2(void* ptr, void* parent, long long fo)
{
static_cast<QWidget*>(ptr)->setParent(static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(fo));
}
void QWidget_SetShortcutAutoRepeat(void* ptr, int id, char enable)
{
static_cast<QWidget*>(ptr)->setShortcutAutoRepeat(id, enable != 0);
}
void QWidget_SetShortcutEnabled(void* ptr, int id, char enable)
{
static_cast<QWidget*>(ptr)->setShortcutEnabled(id, enable != 0);
}
void QWidget_SetSizeIncrement(void* ptr, void* vqs)
{
static_cast<QWidget*>(ptr)->setSizeIncrement(*static_cast<QSize*>(vqs));
}
void QWidget_SetSizeIncrement2(void* ptr, int w, int h)
{
static_cast<QWidget*>(ptr)->setSizeIncrement(w, h);
}
void QWidget_SetSizePolicy(void* ptr, void* vqs)
{
static_cast<QWidget*>(ptr)->setSizePolicy(*static_cast<QSizePolicy*>(vqs));
}
void QWidget_SetSizePolicy2(void* ptr, long long horizontal, long long vertical)
{
static_cast<QWidget*>(ptr)->setSizePolicy(static_cast<QSizePolicy::Policy>(horizontal), static_cast<QSizePolicy::Policy>(vertical));
}
void QWidget_SetStatusTip(void* ptr, char* vqs)
{
static_cast<QWidget*>(ptr)->setStatusTip(QString(vqs));
}
void QWidget_SetStyle(void* ptr, void* style)
{
static_cast<QWidget*>(ptr)->setStyle(static_cast<QStyle*>(style));
}
void QWidget_SetStyleSheet(void* ptr, char* styleSheet)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "setStyleSheet", Q_ARG(QString, QString(styleSheet)));
}
void QWidget_SetStyleSheetDefault(void* ptr, char* styleSheet)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::setStyleSheet(QString(styleSheet));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::setStyleSheet(QString(styleSheet));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::setStyleSheet(QString(styleSheet));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::setStyleSheet(QString(styleSheet));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::setStyleSheet(QString(styleSheet));
} else {
static_cast<QWidget*>(ptr)->QWidget::setStyleSheet(QString(styleSheet));
}
}
void QWidget_QWidget_SetTabOrder(void* first, void* second)
{
QWidget::setTabOrder(static_cast<QWidget*>(first), static_cast<QWidget*>(second));
}
void QWidget_SetToolTip(void* ptr, char* vqs)
{
static_cast<QWidget*>(ptr)->setToolTip(QString(vqs));
}
void QWidget_SetToolTipDuration(void* ptr, int msec)
{
static_cast<QWidget*>(ptr)->setToolTipDuration(msec);
}
void QWidget_SetUpdatesEnabled(void* ptr, char enable)
{
static_cast<QWidget*>(ptr)->setUpdatesEnabled(enable != 0);
}
void QWidget_SetVisible(void* ptr, char visible)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "setVisible", Q_ARG(bool, visible != 0));
}
void QWidget_SetVisibleDefault(void* ptr, char visible)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::setVisible(visible != 0);
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::setVisible(visible != 0);
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::setVisible(visible != 0);
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::setVisible(visible != 0);
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::setVisible(visible != 0);
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::setVisible(visible != 0);
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::setVisible(visible != 0);
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::setVisible(visible != 0);
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::setVisible(visible != 0);
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::setVisible(visible != 0);
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::setVisible(visible != 0);
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::setVisible(visible != 0);
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::setVisible(visible != 0);
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::setVisible(visible != 0);
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::setVisible(visible != 0);
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::setVisible(visible != 0);
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::setVisible(visible != 0);
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::setVisible(visible != 0);
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::setVisible(visible != 0);
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::setVisible(visible != 0);
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::setVisible(visible != 0);
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::setVisible(visible != 0);
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::setVisible(visible != 0);
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setVisible(visible != 0);
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::setVisible(visible != 0);
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::setVisible(visible != 0);
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::setVisible(visible != 0);
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::setVisible(visible != 0);
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::setVisible(visible != 0);
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::setVisible(visible != 0);
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setVisible(visible != 0);
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::setVisible(visible != 0);
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::setVisible(visible != 0);
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::setVisible(visible != 0);
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::setVisible(visible != 0);
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::setVisible(visible != 0);
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::setVisible(visible != 0);
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::setVisible(visible != 0);
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::setVisible(visible != 0);
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::setVisible(visible != 0);
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::setVisible(visible != 0);
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::setVisible(visible != 0);
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::setVisible(visible != 0);
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::setVisible(visible != 0);
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::setVisible(visible != 0);
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::setVisible(visible != 0);
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::setVisible(visible != 0);
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::setVisible(visible != 0);
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::setVisible(visible != 0);
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::setVisible(visible != 0);
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::setVisible(visible != 0);
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::setVisible(visible != 0);
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::setVisible(visible != 0);
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::setVisible(visible != 0);
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::setVisible(visible != 0);
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::setVisible(visible != 0);
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::setVisible(visible != 0);
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::setVisible(visible != 0);
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::setVisible(visible != 0);
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::setVisible(visible != 0);
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::setVisible(visible != 0);
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::setVisible(visible != 0);
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::setVisible(visible != 0);
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::setVisible(visible != 0);
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::setVisible(visible != 0);
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::setVisible(visible != 0);
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setVisible(visible != 0);
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::setVisible(visible != 0);
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::setVisible(visible != 0);
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::setVisible(visible != 0);
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::setVisible(visible != 0);
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::setVisible(visible != 0);
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::setVisible(visible != 0);
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::setVisible(visible != 0);
} else {
static_cast<QWidget*>(ptr)->QWidget::setVisible(visible != 0);
}
}
void QWidget_SetWhatsThis(void* ptr, char* vqs)
{
static_cast<QWidget*>(ptr)->setWhatsThis(QString(vqs));
}
void QWidget_SetWindowFilePath(void* ptr, char* filePath)
{
static_cast<QWidget*>(ptr)->setWindowFilePath(QString(filePath));
}
void QWidget_SetWindowFlags(void* ptr, long long ty)
{
static_cast<QWidget*>(ptr)->setWindowFlags(static_cast<Qt::WindowType>(ty));
}
void QWidget_SetWindowIcon(void* ptr, void* icon)
{
static_cast<QWidget*>(ptr)->setWindowIcon(*static_cast<QIcon*>(icon));
}
void QWidget_SetWindowIconText(void* ptr, char* vqs)
{
static_cast<QWidget*>(ptr)->setWindowIconText(QString(vqs));
}
void QWidget_SetWindowModality(void* ptr, long long windowModality)
{
static_cast<QWidget*>(ptr)->setWindowModality(static_cast<Qt::WindowModality>(windowModality));
}
void QWidget_SetWindowModified(void* ptr, char vbo)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "setWindowModified", Q_ARG(bool, vbo != 0));
}
void QWidget_SetWindowModifiedDefault(void* ptr, char vbo)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::setWindowModified(vbo != 0);
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::setWindowModified(vbo != 0);
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::setWindowModified(vbo != 0);
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::setWindowModified(vbo != 0);
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::setWindowModified(vbo != 0);
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::setWindowModified(vbo != 0);
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::setWindowModified(vbo != 0);
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::setWindowModified(vbo != 0);
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::setWindowModified(vbo != 0);
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::setWindowModified(vbo != 0);
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::setWindowModified(vbo != 0);
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::setWindowModified(vbo != 0);
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::setWindowModified(vbo != 0);
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::setWindowModified(vbo != 0);
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::setWindowModified(vbo != 0);
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::setWindowModified(vbo != 0);
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::setWindowModified(vbo != 0);
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::setWindowModified(vbo != 0);
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::setWindowModified(vbo != 0);
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::setWindowModified(vbo != 0);
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::setWindowModified(vbo != 0);
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::setWindowModified(vbo != 0);
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::setWindowModified(vbo != 0);
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setWindowModified(vbo != 0);
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::setWindowModified(vbo != 0);
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::setWindowModified(vbo != 0);
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::setWindowModified(vbo != 0);
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::setWindowModified(vbo != 0);
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::setWindowModified(vbo != 0);
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::setWindowModified(vbo != 0);
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setWindowModified(vbo != 0);
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::setWindowModified(vbo != 0);
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::setWindowModified(vbo != 0);
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::setWindowModified(vbo != 0);
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::setWindowModified(vbo != 0);
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::setWindowModified(vbo != 0);
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::setWindowModified(vbo != 0);
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::setWindowModified(vbo != 0);
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::setWindowModified(vbo != 0);
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::setWindowModified(vbo != 0);
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::setWindowModified(vbo != 0);
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::setWindowModified(vbo != 0);
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::setWindowModified(vbo != 0);
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::setWindowModified(vbo != 0);
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::setWindowModified(vbo != 0);
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::setWindowModified(vbo != 0);
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::setWindowModified(vbo != 0);
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::setWindowModified(vbo != 0);
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::setWindowModified(vbo != 0);
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::setWindowModified(vbo != 0);
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::setWindowModified(vbo != 0);
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::setWindowModified(vbo != 0);
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::setWindowModified(vbo != 0);
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::setWindowModified(vbo != 0);
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::setWindowModified(vbo != 0);
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::setWindowModified(vbo != 0);
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::setWindowModified(vbo != 0);
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::setWindowModified(vbo != 0);
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::setWindowModified(vbo != 0);
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::setWindowModified(vbo != 0);
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::setWindowModified(vbo != 0);
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::setWindowModified(vbo != 0);
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::setWindowModified(vbo != 0);
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::setWindowModified(vbo != 0);
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::setWindowModified(vbo != 0);
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::setWindowModified(vbo != 0);
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setWindowModified(vbo != 0);
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::setWindowModified(vbo != 0);
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::setWindowModified(vbo != 0);
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::setWindowModified(vbo != 0);
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::setWindowModified(vbo != 0);
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::setWindowModified(vbo != 0);
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::setWindowModified(vbo != 0);
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::setWindowModified(vbo != 0);
} else {
static_cast<QWidget*>(ptr)->QWidget::setWindowModified(vbo != 0);
}
}
void QWidget_SetWindowOpacity(void* ptr, double level)
{
static_cast<QWidget*>(ptr)->setWindowOpacity(level);
}
void QWidget_SetWindowRole(void* ptr, char* role)
{
static_cast<QWidget*>(ptr)->setWindowRole(QString(role));
}
void QWidget_SetWindowState(void* ptr, long long windowState)
{
static_cast<QWidget*>(ptr)->setWindowState(static_cast<Qt::WindowState>(windowState));
}
void QWidget_SetWindowTitle(void* ptr, char* vqs)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "setWindowTitle", Q_ARG(QString, QString(vqs)));
}
void QWidget_SetWindowTitleDefault(void* ptr, char* vqs)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::setWindowTitle(QString(vqs));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::setWindowTitle(QString(vqs));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::setWindowTitle(QString(vqs));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::setWindowTitle(QString(vqs));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::setWindowTitle(QString(vqs));
} else {
static_cast<QWidget*>(ptr)->QWidget::setWindowTitle(QString(vqs));
}
}
void QWidget_SetupUi(void* ptr, void* widget)
{
#ifdef Q_QDOC
static_cast<QWidget*>(ptr)->setupUi(static_cast<QWidget*>(widget));
#endif
}
void QWidget_Show(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "show");
}
void QWidget_ShowDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::show();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::show();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::show();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::show();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::show();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::show();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::show();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::show();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::show();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::show();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::show();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::show();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::show();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::show();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::show();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::show();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::show();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::show();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::show();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::show();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::show();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::show();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::show();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::show();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::show();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::show();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::show();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::show();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::show();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::show();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::show();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::show();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::show();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::show();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::show();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::show();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::show();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::show();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::show();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::show();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::show();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::show();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::show();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::show();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::show();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::show();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::show();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::show();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::show();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::show();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::show();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::show();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::show();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::show();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::show();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::show();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::show();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::show();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::show();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::show();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::show();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::show();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::show();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::show();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::show();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::show();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::show();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::show();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::show();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::show();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::show();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::show();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::show();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::show();
} else {
static_cast<QWidget*>(ptr)->QWidget::show();
}
}
void QWidget_ShowEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->showEvent(static_cast<QShowEvent*>(event));
}
void QWidget_ShowEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::showEvent(static_cast<QShowEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::showEvent(static_cast<QShowEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::showEvent(static_cast<QShowEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::showEvent(static_cast<QShowEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::showEvent(static_cast<QShowEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::showEvent(static_cast<QShowEvent*>(event));
}
}
void QWidget_ShowFullScreen(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "showFullScreen");
}
void QWidget_ShowFullScreenDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::showFullScreen();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::showFullScreen();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::showFullScreen();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::showFullScreen();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::showFullScreen();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::showFullScreen();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::showFullScreen();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::showFullScreen();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::showFullScreen();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::showFullScreen();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::showFullScreen();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::showFullScreen();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::showFullScreen();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::showFullScreen();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::showFullScreen();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::showFullScreen();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::showFullScreen();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::showFullScreen();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::showFullScreen();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::showFullScreen();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::showFullScreen();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::showFullScreen();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::showFullScreen();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::showFullScreen();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::showFullScreen();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::showFullScreen();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::showFullScreen();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::showFullScreen();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::showFullScreen();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::showFullScreen();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::showFullScreen();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::showFullScreen();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::showFullScreen();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::showFullScreen();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::showFullScreen();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::showFullScreen();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::showFullScreen();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::showFullScreen();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::showFullScreen();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::showFullScreen();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::showFullScreen();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::showFullScreen();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::showFullScreen();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::showFullScreen();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::showFullScreen();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::showFullScreen();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::showFullScreen();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::showFullScreen();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::showFullScreen();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::showFullScreen();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::showFullScreen();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::showFullScreen();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::showFullScreen();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::showFullScreen();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::showFullScreen();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::showFullScreen();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::showFullScreen();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::showFullScreen();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::showFullScreen();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::showFullScreen();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::showFullScreen();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::showFullScreen();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::showFullScreen();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::showFullScreen();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::showFullScreen();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::showFullScreen();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::showFullScreen();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::showFullScreen();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::showFullScreen();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::showFullScreen();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::showFullScreen();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::showFullScreen();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::showFullScreen();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::showFullScreen();
} else {
static_cast<QWidget*>(ptr)->QWidget::showFullScreen();
}
}
void QWidget_ShowMaximized(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "showMaximized");
}
void QWidget_ShowMaximizedDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::showMaximized();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::showMaximized();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::showMaximized();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::showMaximized();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::showMaximized();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::showMaximized();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::showMaximized();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::showMaximized();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::showMaximized();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::showMaximized();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::showMaximized();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::showMaximized();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::showMaximized();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::showMaximized();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::showMaximized();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::showMaximized();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::showMaximized();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::showMaximized();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::showMaximized();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::showMaximized();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::showMaximized();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::showMaximized();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::showMaximized();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::showMaximized();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::showMaximized();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::showMaximized();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::showMaximized();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::showMaximized();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::showMaximized();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::showMaximized();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::showMaximized();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::showMaximized();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::showMaximized();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::showMaximized();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::showMaximized();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::showMaximized();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::showMaximized();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::showMaximized();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::showMaximized();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::showMaximized();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::showMaximized();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::showMaximized();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::showMaximized();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::showMaximized();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::showMaximized();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::showMaximized();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::showMaximized();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::showMaximized();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::showMaximized();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::showMaximized();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::showMaximized();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::showMaximized();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::showMaximized();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::showMaximized();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::showMaximized();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::showMaximized();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::showMaximized();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::showMaximized();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::showMaximized();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::showMaximized();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::showMaximized();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::showMaximized();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::showMaximized();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::showMaximized();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::showMaximized();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::showMaximized();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::showMaximized();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::showMaximized();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::showMaximized();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::showMaximized();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::showMaximized();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::showMaximized();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::showMaximized();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::showMaximized();
} else {
static_cast<QWidget*>(ptr)->QWidget::showMaximized();
}
}
void QWidget_ShowMinimized(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "showMinimized");
}
void QWidget_ShowMinimizedDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::showMinimized();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::showMinimized();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::showMinimized();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::showMinimized();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::showMinimized();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::showMinimized();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::showMinimized();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::showMinimized();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::showMinimized();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::showMinimized();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::showMinimized();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::showMinimized();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::showMinimized();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::showMinimized();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::showMinimized();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::showMinimized();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::showMinimized();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::showMinimized();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::showMinimized();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::showMinimized();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::showMinimized();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::showMinimized();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::showMinimized();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::showMinimized();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::showMinimized();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::showMinimized();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::showMinimized();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::showMinimized();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::showMinimized();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::showMinimized();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::showMinimized();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::showMinimized();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::showMinimized();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::showMinimized();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::showMinimized();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::showMinimized();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::showMinimized();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::showMinimized();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::showMinimized();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::showMinimized();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::showMinimized();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::showMinimized();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::showMinimized();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::showMinimized();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::showMinimized();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::showMinimized();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::showMinimized();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::showMinimized();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::showMinimized();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::showMinimized();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::showMinimized();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::showMinimized();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::showMinimized();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::showMinimized();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::showMinimized();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::showMinimized();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::showMinimized();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::showMinimized();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::showMinimized();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::showMinimized();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::showMinimized();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::showMinimized();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::showMinimized();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::showMinimized();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::showMinimized();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::showMinimized();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::showMinimized();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::showMinimized();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::showMinimized();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::showMinimized();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::showMinimized();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::showMinimized();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::showMinimized();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::showMinimized();
} else {
static_cast<QWidget*>(ptr)->QWidget::showMinimized();
}
}
void QWidget_ShowNormal(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "showNormal");
}
void QWidget_ShowNormalDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::showNormal();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::showNormal();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::showNormal();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::showNormal();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::showNormal();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::showNormal();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::showNormal();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::showNormal();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::showNormal();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::showNormal();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::showNormal();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::showNormal();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::showNormal();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::showNormal();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::showNormal();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::showNormal();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::showNormal();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::showNormal();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::showNormal();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::showNormal();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::showNormal();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::showNormal();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::showNormal();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::showNormal();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::showNormal();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::showNormal();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::showNormal();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::showNormal();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::showNormal();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::showNormal();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::showNormal();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::showNormal();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::showNormal();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::showNormal();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::showNormal();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::showNormal();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::showNormal();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::showNormal();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::showNormal();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::showNormal();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::showNormal();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::showNormal();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::showNormal();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::showNormal();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::showNormal();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::showNormal();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::showNormal();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::showNormal();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::showNormal();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::showNormal();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::showNormal();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::showNormal();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::showNormal();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::showNormal();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::showNormal();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::showNormal();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::showNormal();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::showNormal();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::showNormal();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::showNormal();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::showNormal();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::showNormal();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::showNormal();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::showNormal();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::showNormal();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::showNormal();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::showNormal();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::showNormal();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::showNormal();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::showNormal();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::showNormal();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::showNormal();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::showNormal();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::showNormal();
} else {
static_cast<QWidget*>(ptr)->QWidget::showNormal();
}
}
void QWidget_StackUnder(void* ptr, void* w)
{
static_cast<QWidget*>(ptr)->stackUnder(static_cast<QWidget*>(w));
}
void QWidget_TabletEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->tabletEvent(static_cast<QTabletEvent*>(event));
}
void QWidget_TabletEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::tabletEvent(static_cast<QTabletEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::tabletEvent(static_cast<QTabletEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::tabletEvent(static_cast<QTabletEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::tabletEvent(static_cast<QTabletEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::tabletEvent(static_cast<QTabletEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::tabletEvent(static_cast<QTabletEvent*>(event));
}
}
void QWidget_UngrabGesture(void* ptr, long long gesture)
{
static_cast<QWidget*>(ptr)->ungrabGesture(static_cast<Qt::GestureType>(gesture));
}
void QWidget_UnsetCursor(void* ptr)
{
static_cast<QWidget*>(ptr)->unsetCursor();
}
void QWidget_UnsetLayoutDirection(void* ptr)
{
static_cast<QWidget*>(ptr)->unsetLayoutDirection();
}
void QWidget_UnsetLocale(void* ptr)
{
static_cast<QWidget*>(ptr)->unsetLocale();
}
void QWidget_Update(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "update");
}
void QWidget_UpdateDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::update();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::update();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::update();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::update();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::update();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::update();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::update();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::update();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::update();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::update();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::update();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::update();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::update();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::update();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::update();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::update();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::update();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::update();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::update();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::update();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::update();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::update();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::update();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::update();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::update();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::update();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::update();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::update();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::update();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::update();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::update();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::update();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::update();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::update();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::update();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::update();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::update();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::update();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::update();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::update();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::update();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::update();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::update();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::update();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::update();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::update();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::update();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::update();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::update();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::update();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::update();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::update();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::update();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::update();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::update();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::update();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::update();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::update();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::update();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::update();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::update();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::update();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::update();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::update();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::update();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::update();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::update();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::update();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::update();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::update();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::update();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::update();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::update();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::update();
} else {
static_cast<QWidget*>(ptr)->QWidget::update();
}
}
void QWidget_Update3(void* ptr, void* rect)
{
static_cast<QWidget*>(ptr)->update(*static_cast<QRect*>(rect));
}
void QWidget_Update4(void* ptr, void* rgn)
{
static_cast<QWidget*>(ptr)->update(*static_cast<QRegion*>(rgn));
}
void QWidget_Update2(void* ptr, int x, int y, int w, int h)
{
static_cast<QWidget*>(ptr)->update(x, y, w, h);
}
void QWidget_UpdateGeometry(void* ptr)
{
static_cast<QWidget*>(ptr)->updateGeometry();
}
void QWidget_UpdateMicroFocus(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "updateMicroFocus");
}
void QWidget_UpdateMicroFocusDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::updateMicroFocus();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::updateMicroFocus();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::updateMicroFocus();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::updateMicroFocus();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::updateMicroFocus();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::updateMicroFocus();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::updateMicroFocus();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::updateMicroFocus();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::updateMicroFocus();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::updateMicroFocus();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::updateMicroFocus();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::updateMicroFocus();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::updateMicroFocus();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::updateMicroFocus();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::updateMicroFocus();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::updateMicroFocus();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::updateMicroFocus();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::updateMicroFocus();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::updateMicroFocus();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::updateMicroFocus();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::updateMicroFocus();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::updateMicroFocus();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::updateMicroFocus();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::updateMicroFocus();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::updateMicroFocus();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::updateMicroFocus();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::updateMicroFocus();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::updateMicroFocus();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::updateMicroFocus();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::updateMicroFocus();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::updateMicroFocus();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::updateMicroFocus();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::updateMicroFocus();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::updateMicroFocus();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::updateMicroFocus();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::updateMicroFocus();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::updateMicroFocus();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::updateMicroFocus();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::updateMicroFocus();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::updateMicroFocus();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::updateMicroFocus();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::updateMicroFocus();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::updateMicroFocus();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::updateMicroFocus();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::updateMicroFocus();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::updateMicroFocus();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::updateMicroFocus();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::updateMicroFocus();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::updateMicroFocus();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::updateMicroFocus();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::updateMicroFocus();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::updateMicroFocus();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::updateMicroFocus();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::updateMicroFocus();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::updateMicroFocus();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::updateMicroFocus();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::updateMicroFocus();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::updateMicroFocus();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::updateMicroFocus();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::updateMicroFocus();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::updateMicroFocus();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::updateMicroFocus();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::updateMicroFocus();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::updateMicroFocus();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::updateMicroFocus();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::updateMicroFocus();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::updateMicroFocus();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::updateMicroFocus();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::updateMicroFocus();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::updateMicroFocus();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::updateMicroFocus();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::updateMicroFocus();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::updateMicroFocus();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::updateMicroFocus();
} else {
static_cast<QWidget*>(ptr)->QWidget::updateMicroFocus();
}
}
void QWidget_WheelEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->wheelEvent(static_cast<QWheelEvent*>(event));
}
void QWidget_WheelEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::wheelEvent(static_cast<QWheelEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::wheelEvent(static_cast<QWheelEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::wheelEvent(static_cast<QWheelEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::wheelEvent(static_cast<QWheelEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::wheelEvent(static_cast<QWheelEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::wheelEvent(static_cast<QWheelEvent*>(event));
}
}
void QWidget_ConnectWindowIconChanged(void* ptr)
{
QObject::connect(static_cast<QWidget*>(ptr), static_cast<void (QWidget::*)(const QIcon &)>(&QWidget::windowIconChanged), static_cast<MyQWidget*>(ptr), static_cast<void (MyQWidget::*)(const QIcon &)>(&MyQWidget::Signal_WindowIconChanged));
}
void QWidget_DisconnectWindowIconChanged(void* ptr)
{
QObject::disconnect(static_cast<QWidget*>(ptr), static_cast<void (QWidget::*)(const QIcon &)>(&QWidget::windowIconChanged), static_cast<MyQWidget*>(ptr), static_cast<void (MyQWidget::*)(const QIcon &)>(&MyQWidget::Signal_WindowIconChanged));
}
void QWidget_WindowIconChanged(void* ptr, void* icon)
{
static_cast<QWidget*>(ptr)->windowIconChanged(*static_cast<QIcon*>(icon));
}
void QWidget_ConnectWindowTitleChanged(void* ptr)
{
QObject::connect(static_cast<QWidget*>(ptr), static_cast<void (QWidget::*)(const QString &)>(&QWidget::windowTitleChanged), static_cast<MyQWidget*>(ptr), static_cast<void (MyQWidget::*)(const QString &)>(&MyQWidget::Signal_WindowTitleChanged));
}
void QWidget_DisconnectWindowTitleChanged(void* ptr)
{
QObject::disconnect(static_cast<QWidget*>(ptr), static_cast<void (QWidget::*)(const QString &)>(&QWidget::windowTitleChanged), static_cast<MyQWidget*>(ptr), static_cast<void (MyQWidget::*)(const QString &)>(&MyQWidget::Signal_WindowTitleChanged));
}
void QWidget_WindowTitleChanged(void* ptr, char* title)
{
static_cast<QWidget*>(ptr)->windowTitleChanged(QString(title));
}
void QWidget_DestroyQWidget(void* ptr)
{
static_cast<QWidget*>(ptr)->~QWidget();
}
void* QWidget_BackingStore(void* ptr)
{
return static_cast<QWidget*>(ptr)->backingStore();
}
void* QWidget_SaveGeometry(void* ptr)
{
return new QByteArray(static_cast<QWidget*>(ptr)->saveGeometry());
}
void* QWidget_Cursor(void* ptr)
{
return new QCursor(static_cast<QWidget*>(ptr)->cursor());
}
void* QWidget_FontInfo(void* ptr)
{
return new QFontInfo(static_cast<QWidget*>(ptr)->fontInfo());
}
void* QWidget_FontMetrics(void* ptr)
{
return new QFontMetrics(static_cast<QWidget*>(ptr)->fontMetrics());
}
void* QWidget_GraphicsEffect(void* ptr)
{
return static_cast<QWidget*>(ptr)->graphicsEffect();
}
void* QWidget_GraphicsProxyWidget(void* ptr)
{
return static_cast<QWidget*>(ptr)->graphicsProxyWidget();
}
void* QWidget_WindowIcon(void* ptr)
{
return new QIcon(static_cast<QWidget*>(ptr)->windowIcon());
}
void* QWidget_Layout(void* ptr)
{
return static_cast<QWidget*>(ptr)->layout();
}
struct QtWidgets_PackedList QWidget_Actions(void* ptr)
{
return ({ QList<QAction *>* tmpValue = new QList<QAction *>(static_cast<QWidget*>(ptr)->actions()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QWidget_Locale(void* ptr)
{
return new QLocale(static_cast<QWidget*>(ptr)->locale());
}
void* QWidget_ContentsMargins(void* ptr)
{
return ({ QMargins tmpValue = static_cast<QWidget*>(ptr)->contentsMargins(); new QMargins(tmpValue.left(), tmpValue.top(), tmpValue.right(), tmpValue.bottom()); });
}
void* QWidget_PaintEngine(void* ptr)
{
return static_cast<QWidget*>(ptr)->paintEngine();
}
void* QWidget_PaintEngineDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBar*>(ptr)->QToolBar::paintEngine();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabWidget*>(ptr)->QTabWidget::paintEngine();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabBar*>(ptr)->QTabBar::paintEngine();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QStatusBar*>(ptr)->QStatusBar::paintEngine();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::paintEngine();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplashScreen*>(ptr)->QSplashScreen::paintEngine();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
return static_cast<QSizeGrip*>(ptr)->QSizeGrip::paintEngine();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
return static_cast<QRubberBand*>(ptr)->QRubberBand::paintEngine();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressBar*>(ptr)->QProgressBar::paintEngine();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenuBar*>(ptr)->QMenuBar::paintEngine();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenu*>(ptr)->QMenu::paintEngine();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::paintEngine();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMainWindow*>(ptr)->QMainWindow::paintEngine();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::paintEngine();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::paintEngine();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QLineEdit*>(ptr)->QLineEdit::paintEngine();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::paintEngine();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QGroupBox*>(ptr)->QGroupBox::paintEngine();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBox*>(ptr)->QToolBox::paintEngine();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedWidget*>(ptr)->QStackedWidget::paintEngine();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitter*>(ptr)->QSplitter::paintEngine();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
return static_cast<QLCDNumber*>(ptr)->QLCDNumber::paintEngine();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
return static_cast<QLabel*>(ptr)->QLabel::paintEngine();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::paintEngine();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextEdit*>(ptr)->QTextEdit::paintEngine();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollArea*>(ptr)->QScrollArea::paintEngine();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::paintEngine();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiArea*>(ptr)->QMdiArea::paintEngine();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::paintEngine();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeView*>(ptr)->QTreeView::paintEngine();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::paintEngine();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableView*>(ptr)->QTableView::paintEngine();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::paintEngine();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::paintEngine();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return static_cast<QListView*>(ptr)->QListView::paintEngine();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::paintEngine();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return static_cast<QColumnView*>(ptr)->QColumnView::paintEngine();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::paintEngine();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsView*>(ptr)->QGraphicsView::paintEngine();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::paintEngine();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFrame*>(ptr)->QFrame::paintEngine();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFocusFrame*>(ptr)->QFocusFrame::paintEngine();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDockWidget*>(ptr)->QDockWidget::paintEngine();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::paintEngine();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontComboBox*>(ptr)->QFontComboBox::paintEngine();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QComboBox*>(ptr)->QComboBox::paintEngine();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::paintEngine();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpinBox*>(ptr)->QSpinBox::paintEngine();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::paintEngine();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTimeEdit*>(ptr)->QTimeEdit::paintEngine();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateEdit*>(ptr)->QDateEdit::paintEngine();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::paintEngine();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::paintEngine();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QSlider*>(ptr)->QSlider::paintEngine();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollBar*>(ptr)->QScrollBar::paintEngine();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
return static_cast<QDial*>(ptr)->QDial::paintEngine();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::paintEngine();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolButton*>(ptr)->QToolButton::paintEngine();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QRadioButton*>(ptr)->QRadioButton::paintEngine();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::paintEngine();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QPushButton*>(ptr)->QPushButton::paintEngine();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QCheckBox*>(ptr)->QCheckBox::paintEngine();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractButton*>(ptr)->QAbstractButton::paintEngine();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::paintEngine();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizardPage*>(ptr)->QWizardPage::paintEngine();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizard*>(ptr)->QWizard::paintEngine();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressDialog*>(ptr)->QProgressDialog::paintEngine();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QMessageBox*>(ptr)->QMessageBox::paintEngine();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QInputDialog*>(ptr)->QInputDialog::paintEngine();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontDialog*>(ptr)->QFontDialog::paintEngine();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFileDialog*>(ptr)->QFileDialog::paintEngine();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
return static_cast<QErrorMessage*>(ptr)->QErrorMessage::paintEngine();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QColorDialog*>(ptr)->QColorDialog::paintEngine();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialog*>(ptr)->QDialog::paintEngine();
} else {
return static_cast<QWidget*>(ptr)->QWidget::paintEngine();
}
}
long long QWidget_BackgroundRole(void* ptr)
{
return static_cast<QWidget*>(ptr)->backgroundRole();
}
long long QWidget_ForegroundRole(void* ptr)
{
return static_cast<QWidget*>(ptr)->foregroundRole();
}
void* QWidget_MapFrom(void* ptr, void* parent, void* pos)
{
return ({ QPoint tmpValue = static_cast<QWidget*>(ptr)->mapFrom(static_cast<QWidget*>(parent), *static_cast<QPoint*>(pos)); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QWidget_MapFromGlobal(void* ptr, void* pos)
{
return ({ QPoint tmpValue = static_cast<QWidget*>(ptr)->mapFromGlobal(*static_cast<QPoint*>(pos)); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QWidget_MapFromParent(void* ptr, void* pos)
{
return ({ QPoint tmpValue = static_cast<QWidget*>(ptr)->mapFromParent(*static_cast<QPoint*>(pos)); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QWidget_MapTo(void* ptr, void* parent, void* pos)
{
return ({ QPoint tmpValue = static_cast<QWidget*>(ptr)->mapTo(static_cast<QWidget*>(parent), *static_cast<QPoint*>(pos)); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QWidget_MapToGlobal(void* ptr, void* pos)
{
return ({ QPoint tmpValue = static_cast<QWidget*>(ptr)->mapToGlobal(*static_cast<QPoint*>(pos)); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QWidget_MapToParent(void* ptr, void* pos)
{
return ({ QPoint tmpValue = static_cast<QWidget*>(ptr)->mapToParent(*static_cast<QPoint*>(pos)); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QWidget_Pos(void* ptr)
{
return ({ QPoint tmpValue = static_cast<QWidget*>(ptr)->pos(); new QPoint(tmpValue.x(), tmpValue.y()); });
}
void* QWidget_ChildrenRect(void* ptr)
{
return ({ QRect tmpValue = static_cast<QWidget*>(ptr)->childrenRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QWidget_ContentsRect(void* ptr)
{
return ({ QRect tmpValue = static_cast<QWidget*>(ptr)->contentsRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QWidget_FrameGeometry(void* ptr)
{
return ({ QRect tmpValue = static_cast<QWidget*>(ptr)->frameGeometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QWidget_NormalGeometry(void* ptr)
{
return ({ QRect tmpValue = static_cast<QWidget*>(ptr)->normalGeometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QWidget_Rect(void* ptr)
{
return ({ QRect tmpValue = static_cast<QWidget*>(ptr)->rect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QWidget_ChildrenRegion(void* ptr)
{
return new QRegion(static_cast<QWidget*>(ptr)->childrenRegion());
}
void* QWidget_Mask(void* ptr)
{
return new QRegion(static_cast<QWidget*>(ptr)->mask());
}
void* QWidget_VisibleRegion(void* ptr)
{
return new QRegion(static_cast<QWidget*>(ptr)->visibleRegion());
}
void* QWidget_BaseSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QWidget*>(ptr)->baseSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QWidget_FrameSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QWidget*>(ptr)->frameSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QWidget_MaximumSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QWidget*>(ptr)->maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QWidget_MinimumSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QWidget*>(ptr)->minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QWidget_MinimumSizeHint(void* ptr)
{
return ({ QSize tmpValue = static_cast<QWidget*>(ptr)->minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QWidget_MinimumSizeHintDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QToolBar*>(ptr)->QToolBar::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTabWidget*>(ptr)->QTabWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTabBar*>(ptr)->QTabBar::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QStatusBar*>(ptr)->QStatusBar::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QSplashScreen*>(ptr)->QSplashScreen::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QSizeGrip*>(ptr)->QSizeGrip::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QRubberBand*>(ptr)->QRubberBand::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QProgressBar*>(ptr)->QProgressBar::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QMenuBar*>(ptr)->QMenuBar::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QMenu*>(ptr)->QMenu::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QMainWindow*>(ptr)->QMainWindow::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return ({ QSize tmpValue = static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return ({ QSize tmpValue = static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QLineEdit*>(ptr)->QLineEdit::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QGroupBox*>(ptr)->QGroupBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QToolBox*>(ptr)->QToolBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QStackedWidget*>(ptr)->QStackedWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QSplitter*>(ptr)->QSplitter::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QLCDNumber*>(ptr)->QLCDNumber::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QLabel*>(ptr)->QLabel::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTextBrowser*>(ptr)->QTextBrowser::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTextEdit*>(ptr)->QTextEdit::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QScrollArea*>(ptr)->QScrollArea::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QMdiArea*>(ptr)->QMdiArea::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTreeWidget*>(ptr)->QTreeWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTreeView*>(ptr)->QTreeView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTableWidget*>(ptr)->QTableWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTableView*>(ptr)->QTableView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QUndoView*>(ptr)->QUndoView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QListWidget*>(ptr)->QListWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QListView*>(ptr)->QListView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QHeaderView*>(ptr)->QHeaderView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QColumnView*>(ptr)->QColumnView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QGraphicsView*>(ptr)->QGraphicsView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QFrame*>(ptr)->QFrame::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QFocusFrame*>(ptr)->QFocusFrame::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDockWidget*>(ptr)->QDockWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QFontComboBox*>(ptr)->QFontComboBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QComboBox*>(ptr)->QComboBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QSpinBox*>(ptr)->QSpinBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTimeEdit*>(ptr)->QTimeEdit::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDateEdit*>(ptr)->QDateEdit::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QSlider*>(ptr)->QSlider::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QScrollBar*>(ptr)->QScrollBar::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDial*>(ptr)->QDial::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QToolButton*>(ptr)->QToolButton::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QRadioButton*>(ptr)->QRadioButton::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QPushButton*>(ptr)->QPushButton::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QCheckBox*>(ptr)->QCheckBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QAbstractButton*>(ptr)->QAbstractButton::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QWizardPage*>(ptr)->QWizardPage::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QWizard*>(ptr)->QWizard::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QProgressDialog*>(ptr)->QProgressDialog::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QMessageBox*>(ptr)->QMessageBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QInputDialog*>(ptr)->QInputDialog::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QFontDialog*>(ptr)->QFontDialog::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QFileDialog*>(ptr)->QFileDialog::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QErrorMessage*>(ptr)->QErrorMessage::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QColorDialog*>(ptr)->QColorDialog::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDialog*>(ptr)->QDialog::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSize tmpValue = static_cast<QWidget*>(ptr)->QWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
}
void* QWidget_Size(void* ptr)
{
return ({ QSize tmpValue = static_cast<QWidget*>(ptr)->size(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QWidget_SizeHint(void* ptr)
{
return ({ QSize tmpValue = static_cast<QWidget*>(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QWidget_SizeHintDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QToolBar*>(ptr)->QToolBar::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTabWidget*>(ptr)->QTabWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTabBar*>(ptr)->QTabBar::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QStatusBar*>(ptr)->QStatusBar::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QSplashScreen*>(ptr)->QSplashScreen::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QSizeGrip*>(ptr)->QSizeGrip::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QRubberBand*>(ptr)->QRubberBand::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QProgressBar*>(ptr)->QProgressBar::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QMenuBar*>(ptr)->QMenuBar::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QMenu*>(ptr)->QMenu::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QMainWindow*>(ptr)->QMainWindow::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return ({ QSize tmpValue = static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return ({ QSize tmpValue = static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QLineEdit*>(ptr)->QLineEdit::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QGroupBox*>(ptr)->QGroupBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QToolBox*>(ptr)->QToolBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QStackedWidget*>(ptr)->QStackedWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QSplitter*>(ptr)->QSplitter::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QLCDNumber*>(ptr)->QLCDNumber::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QLabel*>(ptr)->QLabel::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTextBrowser*>(ptr)->QTextBrowser::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTextEdit*>(ptr)->QTextEdit::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QScrollArea*>(ptr)->QScrollArea::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QMdiArea*>(ptr)->QMdiArea::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTreeWidget*>(ptr)->QTreeWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTreeView*>(ptr)->QTreeView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTableWidget*>(ptr)->QTableWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTableView*>(ptr)->QTableView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QUndoView*>(ptr)->QUndoView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QListWidget*>(ptr)->QListWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QListView*>(ptr)->QListView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QHeaderView*>(ptr)->QHeaderView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QColumnView*>(ptr)->QColumnView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QGraphicsView*>(ptr)->QGraphicsView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QFrame*>(ptr)->QFrame::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QFocusFrame*>(ptr)->QFocusFrame::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDockWidget*>(ptr)->QDockWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QFontComboBox*>(ptr)->QFontComboBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QComboBox*>(ptr)->QComboBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QSpinBox*>(ptr)->QSpinBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QTimeEdit*>(ptr)->QTimeEdit::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDateEdit*>(ptr)->QDateEdit::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QSlider*>(ptr)->QSlider::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QScrollBar*>(ptr)->QScrollBar::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDial*>(ptr)->QDial::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QToolButton*>(ptr)->QToolButton::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QRadioButton*>(ptr)->QRadioButton::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QPushButton*>(ptr)->QPushButton::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QCheckBox*>(ptr)->QCheckBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QAbstractButton*>(ptr)->QAbstractButton::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QWizardPage*>(ptr)->QWizardPage::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QWizard*>(ptr)->QWizard::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QProgressDialog*>(ptr)->QProgressDialog::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QMessageBox*>(ptr)->QMessageBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QInputDialog*>(ptr)->QInputDialog::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QFontDialog*>(ptr)->QFontDialog::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QFileDialog*>(ptr)->QFileDialog::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QErrorMessage*>(ptr)->QErrorMessage::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QColorDialog*>(ptr)->QColorDialog::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
return ({ QSize tmpValue = static_cast<QDialog*>(ptr)->QDialog::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
} else {
return ({ QSize tmpValue = static_cast<QWidget*>(ptr)->QWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
}
void* QWidget_SizeIncrement(void* ptr)
{
return ({ QSize tmpValue = static_cast<QWidget*>(ptr)->sizeIncrement(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QWidget_SizePolicy(void* ptr)
{
return new QSizePolicy(static_cast<QWidget*>(ptr)->sizePolicy());
}
struct QtWidgets_PackedString QWidget_AccessibleDescription(void* ptr)
{
return ({ QByteArray tb88bc9 = static_cast<QWidget*>(ptr)->accessibleDescription().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tb88bc9.prepend("WHITESPACE").constData()+10), tb88bc9.size()-10 }; });
}
struct QtWidgets_PackedString QWidget_AccessibleName(void* ptr)
{
return ({ QByteArray t32cbb8 = static_cast<QWidget*>(ptr)->accessibleName().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t32cbb8.prepend("WHITESPACE").constData()+10), t32cbb8.size()-10 }; });
}
struct QtWidgets_PackedString QWidget_StatusTip(void* ptr)
{
return ({ QByteArray t96d9a1 = static_cast<QWidget*>(ptr)->statusTip().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t96d9a1.prepend("WHITESPACE").constData()+10), t96d9a1.size()-10 }; });
}
struct QtWidgets_PackedString QWidget_StyleSheet(void* ptr)
{
return ({ QByteArray tb180d7 = static_cast<QWidget*>(ptr)->styleSheet().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tb180d7.prepend("WHITESPACE").constData()+10), tb180d7.size()-10 }; });
}
struct QtWidgets_PackedString QWidget_ToolTip(void* ptr)
{
return ({ QByteArray t791287 = static_cast<QWidget*>(ptr)->toolTip().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t791287.prepend("WHITESPACE").constData()+10), t791287.size()-10 }; });
}
struct QtWidgets_PackedString QWidget_WhatsThis(void* ptr)
{
return ({ QByteArray tb9ec26 = static_cast<QWidget*>(ptr)->whatsThis().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tb9ec26.prepend("WHITESPACE").constData()+10), tb9ec26.size()-10 }; });
}
struct QtWidgets_PackedString QWidget_WindowFilePath(void* ptr)
{
return ({ QByteArray tc809cf = static_cast<QWidget*>(ptr)->windowFilePath().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tc809cf.prepend("WHITESPACE").constData()+10), tc809cf.size()-10 }; });
}
struct QtWidgets_PackedString QWidget_WindowIconText(void* ptr)
{
return ({ QByteArray t309e48 = static_cast<QWidget*>(ptr)->windowIconText().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t309e48.prepend("WHITESPACE").constData()+10), t309e48.size()-10 }; });
}
struct QtWidgets_PackedString QWidget_WindowRole(void* ptr)
{
return ({ QByteArray t64c9c6 = static_cast<QWidget*>(ptr)->windowRole().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t64c9c6.prepend("WHITESPACE").constData()+10), t64c9c6.size()-10 }; });
}
struct QtWidgets_PackedString QWidget_WindowTitle(void* ptr)
{
return ({ QByteArray tf3cd6c = static_cast<QWidget*>(ptr)->windowTitle().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tf3cd6c.prepend("WHITESPACE").constData()+10), tf3cd6c.size()-10 }; });
}
void* QWidget_Style(void* ptr)
{
return static_cast<QWidget*>(ptr)->style();
}
void* QWidget_InputMethodQuery(void* ptr, long long query)
{
return new QVariant(static_cast<QWidget*>(ptr)->inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
}
void* QWidget_InputMethodQueryDefault(void* ptr, long long query)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QToolBar*>(ptr)->QToolBar::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QTabWidget*>(ptr)->QTabWidget::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QTabBar*>(ptr)->QTabBar::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QStatusBar*>(ptr)->QStatusBar::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QSplashScreen*>(ptr)->QSplashScreen::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QSizeGrip*>(ptr)->QSizeGrip::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QRubberBand*>(ptr)->QRubberBand::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QProgressBar*>(ptr)->QProgressBar::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QMenuBar*>(ptr)->QMenuBar::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QMenu*>(ptr)->QMenu::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QMainWindow*>(ptr)->QMainWindow::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return new QVariant(static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return new QVariant(static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QLineEdit*>(ptr)->QLineEdit::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGroupBox*>(ptr)->QGroupBox::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QToolBox*>(ptr)->QToolBox::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QStackedWidget*>(ptr)->QStackedWidget::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QSplitter*>(ptr)->QSplitter::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QLCDNumber*>(ptr)->QLCDNumber::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QLabel*>(ptr)->QLabel::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QTextBrowser*>(ptr)->QTextBrowser::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QTextEdit*>(ptr)->QTextEdit::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QScrollArea*>(ptr)->QScrollArea::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QMdiArea*>(ptr)->QMdiArea::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QTreeWidget*>(ptr)->QTreeWidget::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QTreeView*>(ptr)->QTreeView::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QTableWidget*>(ptr)->QTableWidget::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QTableView*>(ptr)->QTableView::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QUndoView*>(ptr)->QUndoView::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QListWidget*>(ptr)->QListWidget::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QListView*>(ptr)->QListView::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QHeaderView*>(ptr)->QHeaderView::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QColumnView*>(ptr)->QColumnView::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QGraphicsView*>(ptr)->QGraphicsView::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QFrame*>(ptr)->QFrame::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QFocusFrame*>(ptr)->QFocusFrame::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QDockWidget*>(ptr)->QDockWidget::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QFontComboBox*>(ptr)->QFontComboBox::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QComboBox*>(ptr)->QComboBox::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QSpinBox*>(ptr)->QSpinBox::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QTimeEdit*>(ptr)->QTimeEdit::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QDateEdit*>(ptr)->QDateEdit::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QSlider*>(ptr)->QSlider::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QScrollBar*>(ptr)->QScrollBar::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QDial*>(ptr)->QDial::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QToolButton*>(ptr)->QToolButton::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QRadioButton*>(ptr)->QRadioButton::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QPushButton*>(ptr)->QPushButton::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QCheckBox*>(ptr)->QCheckBox::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QAbstractButton*>(ptr)->QAbstractButton::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QWizardPage*>(ptr)->QWizardPage::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QWizard*>(ptr)->QWizard::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QProgressDialog*>(ptr)->QProgressDialog::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QMessageBox*>(ptr)->QMessageBox::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QInputDialog*>(ptr)->QInputDialog::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QFontDialog*>(ptr)->QFontDialog::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QFileDialog*>(ptr)->QFileDialog::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QErrorMessage*>(ptr)->QErrorMessage::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QColorDialog*>(ptr)->QColorDialog::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
return new QVariant(static_cast<QDialog*>(ptr)->QDialog::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
} else {
return new QVariant(static_cast<QWidget*>(ptr)->QWidget::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
}
}
void* QWidget_ChildAt2(void* ptr, void* p)
{
return static_cast<QWidget*>(ptr)->childAt(*static_cast<QPoint*>(p));
}
void* QWidget_ChildAt(void* ptr, int x, int y)
{
return static_cast<QWidget*>(ptr)->childAt(x, y);
}
void* QWidget_FocusProxy(void* ptr)
{
return static_cast<QWidget*>(ptr)->focusProxy();
}
void* QWidget_FocusWidget(void* ptr)
{
return static_cast<QWidget*>(ptr)->focusWidget();
}
void* QWidget_NativeParentWidget(void* ptr)
{
return static_cast<QWidget*>(ptr)->nativeParentWidget();
}
void* QWidget_NextInFocusChain(void* ptr)
{
return static_cast<QWidget*>(ptr)->nextInFocusChain();
}
void* QWidget_ParentWidget(void* ptr)
{
return static_cast<QWidget*>(ptr)->parentWidget();
}
void* QWidget_PreviousInFocusChain(void* ptr)
{
return static_cast<QWidget*>(ptr)->previousInFocusChain();
}
void* QWidget_Window(void* ptr)
{
return static_cast<QWidget*>(ptr)->window();
}
void* QWidget_WindowHandle(void* ptr)
{
return static_cast<QWidget*>(ptr)->windowHandle();
}
long long QWidget_ContextMenuPolicy(void* ptr)
{
return static_cast<QWidget*>(ptr)->contextMenuPolicy();
}
long long QWidget_FocusPolicy(void* ptr)
{
return static_cast<QWidget*>(ptr)->focusPolicy();
}
long long QWidget_InputMethodHints(void* ptr)
{
return static_cast<QWidget*>(ptr)->inputMethodHints();
}
long long QWidget_LayoutDirection(void* ptr)
{
return static_cast<QWidget*>(ptr)->layoutDirection();
}
long long QWidget_WindowModality(void* ptr)
{
return static_cast<QWidget*>(ptr)->windowModality();
}
uintptr_t QWidget_WinId(void* ptr)
{
return static_cast<QWidget*>(ptr)->winId();
}
char QWidget_AcceptDrops(void* ptr)
{
return static_cast<QWidget*>(ptr)->acceptDrops();
}
char QWidget_AutoFillBackground(void* ptr)
{
return static_cast<QWidget*>(ptr)->autoFillBackground();
}
char QWidget_HasFocus(void* ptr)
{
return static_cast<QWidget*>(ptr)->hasFocus();
}
long long QWidget_WindowFlags(void* ptr)
{
return static_cast<QWidget*>(ptr)->windowFlags();
}
long long QWidget_WindowState(void* ptr)
{
return static_cast<QWidget*>(ptr)->windowState();
}
long long QWidget_WindowType(void* ptr)
{
return static_cast<QWidget*>(ptr)->windowType();
}
uintptr_t QWidget_EffectiveWinId(void* ptr)
{
return static_cast<QWidget*>(ptr)->effectiveWinId();
}
char QWidget_HasEditFocus(void* ptr)
{
#ifdef QT_KEYPAD_NAVIGATION
return static_cast<QWidget*>(ptr)->hasEditFocus();
#else
return false;
#endif
}
char QWidget_HasHeightForWidth(void* ptr)
{
return static_cast<QWidget*>(ptr)->hasHeightForWidth();
}
char QWidget_HasHeightForWidthDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBar*>(ptr)->QToolBar::hasHeightForWidth();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabWidget*>(ptr)->QTabWidget::hasHeightForWidth();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabBar*>(ptr)->QTabBar::hasHeightForWidth();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QStatusBar*>(ptr)->QStatusBar::hasHeightForWidth();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::hasHeightForWidth();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplashScreen*>(ptr)->QSplashScreen::hasHeightForWidth();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
return static_cast<QSizeGrip*>(ptr)->QSizeGrip::hasHeightForWidth();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
return static_cast<QRubberBand*>(ptr)->QRubberBand::hasHeightForWidth();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressBar*>(ptr)->QProgressBar::hasHeightForWidth();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenuBar*>(ptr)->QMenuBar::hasHeightForWidth();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenu*>(ptr)->QMenu::hasHeightForWidth();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::hasHeightForWidth();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMainWindow*>(ptr)->QMainWindow::hasHeightForWidth();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::hasHeightForWidth();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::hasHeightForWidth();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QLineEdit*>(ptr)->QLineEdit::hasHeightForWidth();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::hasHeightForWidth();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QGroupBox*>(ptr)->QGroupBox::hasHeightForWidth();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBox*>(ptr)->QToolBox::hasHeightForWidth();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedWidget*>(ptr)->QStackedWidget::hasHeightForWidth();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitter*>(ptr)->QSplitter::hasHeightForWidth();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
return static_cast<QLCDNumber*>(ptr)->QLCDNumber::hasHeightForWidth();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
return static_cast<QLabel*>(ptr)->QLabel::hasHeightForWidth();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::hasHeightForWidth();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextEdit*>(ptr)->QTextEdit::hasHeightForWidth();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollArea*>(ptr)->QScrollArea::hasHeightForWidth();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::hasHeightForWidth();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiArea*>(ptr)->QMdiArea::hasHeightForWidth();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::hasHeightForWidth();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeView*>(ptr)->QTreeView::hasHeightForWidth();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::hasHeightForWidth();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableView*>(ptr)->QTableView::hasHeightForWidth();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::hasHeightForWidth();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::hasHeightForWidth();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return static_cast<QListView*>(ptr)->QListView::hasHeightForWidth();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::hasHeightForWidth();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return static_cast<QColumnView*>(ptr)->QColumnView::hasHeightForWidth();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::hasHeightForWidth();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsView*>(ptr)->QGraphicsView::hasHeightForWidth();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::hasHeightForWidth();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFrame*>(ptr)->QFrame::hasHeightForWidth();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFocusFrame*>(ptr)->QFocusFrame::hasHeightForWidth();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDockWidget*>(ptr)->QDockWidget::hasHeightForWidth();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::hasHeightForWidth();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontComboBox*>(ptr)->QFontComboBox::hasHeightForWidth();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QComboBox*>(ptr)->QComboBox::hasHeightForWidth();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::hasHeightForWidth();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpinBox*>(ptr)->QSpinBox::hasHeightForWidth();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::hasHeightForWidth();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTimeEdit*>(ptr)->QTimeEdit::hasHeightForWidth();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateEdit*>(ptr)->QDateEdit::hasHeightForWidth();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::hasHeightForWidth();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::hasHeightForWidth();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QSlider*>(ptr)->QSlider::hasHeightForWidth();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollBar*>(ptr)->QScrollBar::hasHeightForWidth();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
return static_cast<QDial*>(ptr)->QDial::hasHeightForWidth();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::hasHeightForWidth();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolButton*>(ptr)->QToolButton::hasHeightForWidth();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QRadioButton*>(ptr)->QRadioButton::hasHeightForWidth();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::hasHeightForWidth();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QPushButton*>(ptr)->QPushButton::hasHeightForWidth();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QCheckBox*>(ptr)->QCheckBox::hasHeightForWidth();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractButton*>(ptr)->QAbstractButton::hasHeightForWidth();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::hasHeightForWidth();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizardPage*>(ptr)->QWizardPage::hasHeightForWidth();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizard*>(ptr)->QWizard::hasHeightForWidth();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressDialog*>(ptr)->QProgressDialog::hasHeightForWidth();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QMessageBox*>(ptr)->QMessageBox::hasHeightForWidth();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QInputDialog*>(ptr)->QInputDialog::hasHeightForWidth();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontDialog*>(ptr)->QFontDialog::hasHeightForWidth();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFileDialog*>(ptr)->QFileDialog::hasHeightForWidth();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
return static_cast<QErrorMessage*>(ptr)->QErrorMessage::hasHeightForWidth();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QColorDialog*>(ptr)->QColorDialog::hasHeightForWidth();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialog*>(ptr)->QDialog::hasHeightForWidth();
} else {
return static_cast<QWidget*>(ptr)->QWidget::hasHeightForWidth();
}
}
char QWidget_HasMouseTracking(void* ptr)
{
return static_cast<QWidget*>(ptr)->hasMouseTracking();
}
char QWidget_IsActiveWindow(void* ptr)
{
return static_cast<QWidget*>(ptr)->isActiveWindow();
}
char QWidget_IsAncestorOf(void* ptr, void* child)
{
return static_cast<QWidget*>(ptr)->isAncestorOf(static_cast<QWidget*>(child));
}
char QWidget_IsEnabled(void* ptr)
{
return static_cast<QWidget*>(ptr)->isEnabled();
}
char QWidget_IsEnabledTo(void* ptr, void* ancestor)
{
return static_cast<QWidget*>(ptr)->isEnabledTo(static_cast<QWidget*>(ancestor));
}
char QWidget_IsFullScreen(void* ptr)
{
return static_cast<QWidget*>(ptr)->isFullScreen();
}
char QWidget_IsHidden(void* ptr)
{
return static_cast<QWidget*>(ptr)->isHidden();
}
char QWidget_IsMaximized(void* ptr)
{
return static_cast<QWidget*>(ptr)->isMaximized();
}
char QWidget_IsMinimized(void* ptr)
{
return static_cast<QWidget*>(ptr)->isMinimized();
}
char QWidget_IsModal(void* ptr)
{
return static_cast<QWidget*>(ptr)->isModal();
}
char QWidget_IsVisible(void* ptr)
{
return static_cast<QWidget*>(ptr)->isVisible();
}
char QWidget_IsVisibleTo(void* ptr, void* ancestor)
{
return static_cast<QWidget*>(ptr)->isVisibleTo(static_cast<QWidget*>(ancestor));
}
char QWidget_IsWindow(void* ptr)
{
return static_cast<QWidget*>(ptr)->isWindow();
}
char QWidget_IsWindowModified(void* ptr)
{
return static_cast<QWidget*>(ptr)->isWindowModified();
}
char QWidget_TestAttribute(void* ptr, long long attribute)
{
return static_cast<QWidget*>(ptr)->testAttribute(static_cast<Qt::WidgetAttribute>(attribute));
}
char QWidget_UnderMouse(void* ptr)
{
return static_cast<QWidget*>(ptr)->underMouse();
}
char QWidget_UpdatesEnabled(void* ptr)
{
return static_cast<QWidget*>(ptr)->updatesEnabled();
}
void* QWidget_Font(void* ptr)
{
return const_cast<QFont*>(&static_cast<QWidget*>(ptr)->font());
}
void* QWidget_Palette(void* ptr)
{
return const_cast<QPalette*>(&static_cast<QWidget*>(ptr)->palette());
}
void* QWidget_Geometry(void* ptr)
{
return const_cast<QRect*>(&static_cast<QWidget*>(ptr)->geometry());
}
int QWidget_Height(void* ptr)
{
return static_cast<QWidget*>(ptr)->height();
}
int QWidget_HeightForWidth(void* ptr, int w)
{
return static_cast<QWidget*>(ptr)->heightForWidth(w);
}
int QWidget_HeightForWidthDefault(void* ptr, int w)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBar*>(ptr)->QToolBar::heightForWidth(w);
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabWidget*>(ptr)->QTabWidget::heightForWidth(w);
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabBar*>(ptr)->QTabBar::heightForWidth(w);
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QStatusBar*>(ptr)->QStatusBar::heightForWidth(w);
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::heightForWidth(w);
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplashScreen*>(ptr)->QSplashScreen::heightForWidth(w);
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
return static_cast<QSizeGrip*>(ptr)->QSizeGrip::heightForWidth(w);
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
return static_cast<QRubberBand*>(ptr)->QRubberBand::heightForWidth(w);
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressBar*>(ptr)->QProgressBar::heightForWidth(w);
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenuBar*>(ptr)->QMenuBar::heightForWidth(w);
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenu*>(ptr)->QMenu::heightForWidth(w);
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::heightForWidth(w);
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMainWindow*>(ptr)->QMainWindow::heightForWidth(w);
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::heightForWidth(w);
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::heightForWidth(w);
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QLineEdit*>(ptr)->QLineEdit::heightForWidth(w);
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::heightForWidth(w);
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QGroupBox*>(ptr)->QGroupBox::heightForWidth(w);
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBox*>(ptr)->QToolBox::heightForWidth(w);
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedWidget*>(ptr)->QStackedWidget::heightForWidth(w);
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitter*>(ptr)->QSplitter::heightForWidth(w);
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
return static_cast<QLCDNumber*>(ptr)->QLCDNumber::heightForWidth(w);
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
return static_cast<QLabel*>(ptr)->QLabel::heightForWidth(w);
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::heightForWidth(w);
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextEdit*>(ptr)->QTextEdit::heightForWidth(w);
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollArea*>(ptr)->QScrollArea::heightForWidth(w);
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::heightForWidth(w);
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiArea*>(ptr)->QMdiArea::heightForWidth(w);
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::heightForWidth(w);
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeView*>(ptr)->QTreeView::heightForWidth(w);
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::heightForWidth(w);
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableView*>(ptr)->QTableView::heightForWidth(w);
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::heightForWidth(w);
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::heightForWidth(w);
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return static_cast<QListView*>(ptr)->QListView::heightForWidth(w);
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::heightForWidth(w);
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return static_cast<QColumnView*>(ptr)->QColumnView::heightForWidth(w);
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::heightForWidth(w);
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsView*>(ptr)->QGraphicsView::heightForWidth(w);
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::heightForWidth(w);
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFrame*>(ptr)->QFrame::heightForWidth(w);
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFocusFrame*>(ptr)->QFocusFrame::heightForWidth(w);
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDockWidget*>(ptr)->QDockWidget::heightForWidth(w);
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::heightForWidth(w);
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontComboBox*>(ptr)->QFontComboBox::heightForWidth(w);
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QComboBox*>(ptr)->QComboBox::heightForWidth(w);
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::heightForWidth(w);
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpinBox*>(ptr)->QSpinBox::heightForWidth(w);
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::heightForWidth(w);
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTimeEdit*>(ptr)->QTimeEdit::heightForWidth(w);
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateEdit*>(ptr)->QDateEdit::heightForWidth(w);
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::heightForWidth(w);
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::heightForWidth(w);
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QSlider*>(ptr)->QSlider::heightForWidth(w);
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollBar*>(ptr)->QScrollBar::heightForWidth(w);
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
return static_cast<QDial*>(ptr)->QDial::heightForWidth(w);
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::heightForWidth(w);
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolButton*>(ptr)->QToolButton::heightForWidth(w);
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QRadioButton*>(ptr)->QRadioButton::heightForWidth(w);
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::heightForWidth(w);
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QPushButton*>(ptr)->QPushButton::heightForWidth(w);
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QCheckBox*>(ptr)->QCheckBox::heightForWidth(w);
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractButton*>(ptr)->QAbstractButton::heightForWidth(w);
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::heightForWidth(w);
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizardPage*>(ptr)->QWizardPage::heightForWidth(w);
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizard*>(ptr)->QWizard::heightForWidth(w);
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressDialog*>(ptr)->QProgressDialog::heightForWidth(w);
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QMessageBox*>(ptr)->QMessageBox::heightForWidth(w);
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QInputDialog*>(ptr)->QInputDialog::heightForWidth(w);
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontDialog*>(ptr)->QFontDialog::heightForWidth(w);
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFileDialog*>(ptr)->QFileDialog::heightForWidth(w);
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
return static_cast<QErrorMessage*>(ptr)->QErrorMessage::heightForWidth(w);
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QColorDialog*>(ptr)->QColorDialog::heightForWidth(w);
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialog*>(ptr)->QDialog::heightForWidth(w);
} else {
return static_cast<QWidget*>(ptr)->QWidget::heightForWidth(w);
}
}
int QWidget_MaximumHeight(void* ptr)
{
return static_cast<QWidget*>(ptr)->maximumHeight();
}
int QWidget_MaximumWidth(void* ptr)
{
return static_cast<QWidget*>(ptr)->maximumWidth();
}
int QWidget_Metric(void* ptr, long long m)
{
return static_cast<QWidget*>(ptr)->metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
}
int QWidget_MetricDefault(void* ptr, long long m)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBar*>(ptr)->QToolBar::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabWidget*>(ptr)->QTabWidget::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QTabBar*>(ptr)->QTabBar::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QStatusBar*>(ptr)->QStatusBar::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplashScreen*>(ptr)->QSplashScreen::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
return static_cast<QSizeGrip*>(ptr)->QSizeGrip::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
return static_cast<QRubberBand*>(ptr)->QRubberBand::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressBar*>(ptr)->QProgressBar::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenuBar*>(ptr)->QMenuBar::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
return static_cast<QMenu*>(ptr)->QMenu::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
return static_cast<QMainWindow*>(ptr)->QMainWindow::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QLineEdit*>(ptr)->QLineEdit::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QGroupBox*>(ptr)->QGroupBox::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolBox*>(ptr)->QToolBox::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QStackedWidget*>(ptr)->QStackedWidget::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
return static_cast<QSplitter*>(ptr)->QSplitter::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
return static_cast<QLCDNumber*>(ptr)->QLCDNumber::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
return static_cast<QLabel*>(ptr)->QLabel::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTextEdit*>(ptr)->QTextEdit::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollArea*>(ptr)->QScrollArea::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QMdiArea*>(ptr)->QMdiArea::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTreeView*>(ptr)->QTreeView::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return static_cast<QTableView*>(ptr)->QTableView::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return static_cast<QUndoView*>(ptr)->QUndoView::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QListWidget*>(ptr)->QListWidget::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return static_cast<QListView*>(ptr)->QListView::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return static_cast<QColumnView*>(ptr)->QColumnView::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
return static_cast<QGraphicsView*>(ptr)->QGraphicsView::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFrame*>(ptr)->QFrame::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
return static_cast<QFocusFrame*>(ptr)->QFocusFrame::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDockWidget*>(ptr)->QDockWidget::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontComboBox*>(ptr)->QFontComboBox::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QComboBox*>(ptr)->QComboBox::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QSpinBox*>(ptr)->QSpinBox::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QTimeEdit*>(ptr)->QTimeEdit::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateEdit*>(ptr)->QDateEdit::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
return static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QSlider*>(ptr)->QSlider::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
return static_cast<QScrollBar*>(ptr)->QScrollBar::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
return static_cast<QDial*>(ptr)->QDial::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QToolButton*>(ptr)->QToolButton::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QRadioButton*>(ptr)->QRadioButton::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QPushButton*>(ptr)->QPushButton::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QCheckBox*>(ptr)->QCheckBox::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
return static_cast<QAbstractButton*>(ptr)->QAbstractButton::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
return static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizardPage*>(ptr)->QWizardPage::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
return static_cast<QWizard*>(ptr)->QWizard::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QProgressDialog*>(ptr)->QProgressDialog::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
return static_cast<QMessageBox*>(ptr)->QMessageBox::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QInputDialog*>(ptr)->QInputDialog::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFontDialog*>(ptr)->QFontDialog::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QFileDialog*>(ptr)->QFileDialog::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
return static_cast<QErrorMessage*>(ptr)->QErrorMessage::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QColorDialog*>(ptr)->QColorDialog::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
return static_cast<QDialog*>(ptr)->QDialog::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
} else {
return static_cast<QWidget*>(ptr)->QWidget::metric(static_cast<QPaintDevice::PaintDeviceMetric>(m));
}
}
int QWidget_MinimumHeight(void* ptr)
{
return static_cast<QWidget*>(ptr)->minimumHeight();
}
int QWidget_MinimumWidth(void* ptr)
{
return static_cast<QWidget*>(ptr)->minimumWidth();
}
int QWidget_ToolTipDuration(void* ptr)
{
return static_cast<QWidget*>(ptr)->toolTipDuration();
}
int QWidget_Width(void* ptr)
{
return static_cast<QWidget*>(ptr)->width();
}
int QWidget_X(void* ptr)
{
return static_cast<QWidget*>(ptr)->x();
}
int QWidget_Y(void* ptr)
{
return static_cast<QWidget*>(ptr)->y();
}
double QWidget_WindowOpacity(void* ptr)
{
return static_cast<QWidget*>(ptr)->windowOpacity();
}
void QWidget_EnsurePolished(void* ptr)
{
static_cast<QWidget*>(ptr)->ensurePolished();
}
void QWidget_GetContentsMargins(void* ptr, int left, int top, int right, int bottom)
{
static_cast<QWidget*>(ptr)->getContentsMargins(&left, &top, &right, &bottom);
}
void QWidget_InitPainter(void* ptr, void* painter)
{
static_cast<QWidget*>(ptr)->initPainter(static_cast<QPainter*>(painter));
}
void* QWidget___addActions_actions_atList(void* ptr, int i)
{
return const_cast<QAction*>(static_cast<QList<QAction *>*>(ptr)->at(i));
}
void QWidget___addActions_actions_setList(void* ptr, void* i)
{
static_cast<QList<QAction *>*>(ptr)->append(static_cast<QAction*>(i));
}
void* QWidget___addActions_actions_newList(void* ptr)
{
return new QList<QAction *>;
}
void* QWidget___insertActions_actions_atList(void* ptr, int i)
{
return const_cast<QAction*>(static_cast<QList<QAction *>*>(ptr)->at(i));
}
void QWidget___insertActions_actions_setList(void* ptr, void* i)
{
static_cast<QList<QAction *>*>(ptr)->append(static_cast<QAction*>(i));
}
void* QWidget___insertActions_actions_newList(void* ptr)
{
return new QList<QAction *>;
}
void* QWidget___actions_atList(void* ptr, int i)
{
return const_cast<QAction*>(static_cast<QList<QAction *>*>(ptr)->at(i));
}
void QWidget___actions_setList(void* ptr, void* i)
{
static_cast<QList<QAction *>*>(ptr)->append(static_cast<QAction*>(i));
}
void* QWidget___actions_newList(void* ptr)
{
return new QList<QAction *>;
}
void* QWidget___dynamicPropertyNames_atList(void* ptr, int i)
{
return new QByteArray(static_cast<QList<QByteArray>*>(ptr)->at(i));
}
void QWidget___dynamicPropertyNames_setList(void* ptr, void* i)
{
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
}
void* QWidget___dynamicPropertyNames_newList(void* ptr)
{
return new QList<QByteArray>;
}
void* QWidget___findChildren_atList2(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QWidget___findChildren_setList2(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QWidget___findChildren_newList2(void* ptr)
{
return new QList<QObject*>;
}
void* QWidget___findChildren_atList3(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QWidget___findChildren_setList3(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QWidget___findChildren_newList3(void* ptr)
{
return new QList<QObject*>;
}
void* QWidget___findChildren_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject*>*>(ptr)->at(i));
}
void QWidget___findChildren_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QWidget___findChildren_newList(void* ptr)
{
return new QList<QObject*>;
}
void* QWidget___children_atList(void* ptr, int i)
{
return const_cast<QObject*>(static_cast<QList<QObject *>*>(ptr)->at(i));
}
void QWidget___children_setList(void* ptr, void* i)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsObject*>(i));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QGraphicsWidget*>(i));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QLayout*>(i));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(i))) {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QWidget*>(i));
} else {
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
}
}
void* QWidget___children_newList(void* ptr)
{
return new QList<QObject *>;
}
char QWidget_EventFilter(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QWidget*>(ptr)->eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QWidget*>(ptr)->eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QWidget*>(ptr)->eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QWidget*>(ptr)->eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QWidget*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
char QWidget_EventFilterDefault(void* ptr, void* watched, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QToolBar*>(ptr)->QToolBar::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QToolBar*>(ptr)->QToolBar::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QToolBar*>(ptr)->QToolBar::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QToolBar*>(ptr)->QToolBar::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QToolBar*>(ptr)->QToolBar::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QTabWidget*>(ptr)->QTabWidget::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTabWidget*>(ptr)->QTabWidget::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QTabWidget*>(ptr)->QTabWidget::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTabWidget*>(ptr)->QTabWidget::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QTabWidget*>(ptr)->QTabWidget::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QTabBar*>(ptr)->QTabBar::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTabBar*>(ptr)->QTabBar::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QTabBar*>(ptr)->QTabBar::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTabBar*>(ptr)->QTabBar::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QTabBar*>(ptr)->QTabBar::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QStatusBar*>(ptr)->QStatusBar::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QStatusBar*>(ptr)->QStatusBar::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QStatusBar*>(ptr)->QStatusBar::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QStatusBar*>(ptr)->QStatusBar::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QStatusBar*>(ptr)->QStatusBar::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QSplashScreen*>(ptr)->QSplashScreen::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSplashScreen*>(ptr)->QSplashScreen::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QSplashScreen*>(ptr)->QSplashScreen::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSplashScreen*>(ptr)->QSplashScreen::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QSplashScreen*>(ptr)->QSplashScreen::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QSizeGrip*>(ptr)->QSizeGrip::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSizeGrip*>(ptr)->QSizeGrip::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QSizeGrip*>(ptr)->QSizeGrip::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSizeGrip*>(ptr)->QSizeGrip::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QSizeGrip*>(ptr)->QSizeGrip::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QRubberBand*>(ptr)->QRubberBand::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QRubberBand*>(ptr)->QRubberBand::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QRubberBand*>(ptr)->QRubberBand::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QRubberBand*>(ptr)->QRubberBand::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QRubberBand*>(ptr)->QRubberBand::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QProgressBar*>(ptr)->QProgressBar::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QProgressBar*>(ptr)->QProgressBar::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QProgressBar*>(ptr)->QProgressBar::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QProgressBar*>(ptr)->QProgressBar::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QProgressBar*>(ptr)->QProgressBar::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QMenuBar*>(ptr)->QMenuBar::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMenuBar*>(ptr)->QMenuBar::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QMenuBar*>(ptr)->QMenuBar::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMenuBar*>(ptr)->QMenuBar::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QMenuBar*>(ptr)->QMenuBar::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QMenu*>(ptr)->QMenu::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMenu*>(ptr)->QMenu::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QMenu*>(ptr)->QMenu::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMenu*>(ptr)->QMenu::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QMenu*>(ptr)->QMenu::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QMainWindow*>(ptr)->QMainWindow::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMainWindow*>(ptr)->QMainWindow::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QMainWindow*>(ptr)->QMainWindow::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMainWindow*>(ptr)->QMainWindow::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QMainWindow*>(ptr)->QMainWindow::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QLineEdit*>(ptr)->QLineEdit::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QLineEdit*>(ptr)->QLineEdit::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QLineEdit*>(ptr)->QLineEdit::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QLineEdit*>(ptr)->QLineEdit::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QLineEdit*>(ptr)->QLineEdit::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGroupBox*>(ptr)->QGroupBox::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGroupBox*>(ptr)->QGroupBox::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGroupBox*>(ptr)->QGroupBox::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGroupBox*>(ptr)->QGroupBox::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGroupBox*>(ptr)->QGroupBox::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QToolBox*>(ptr)->QToolBox::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QToolBox*>(ptr)->QToolBox::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QToolBox*>(ptr)->QToolBox::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QToolBox*>(ptr)->QToolBox::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QToolBox*>(ptr)->QToolBox::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QStackedWidget*>(ptr)->QStackedWidget::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QStackedWidget*>(ptr)->QStackedWidget::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QStackedWidget*>(ptr)->QStackedWidget::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QStackedWidget*>(ptr)->QStackedWidget::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QStackedWidget*>(ptr)->QStackedWidget::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QSplitter*>(ptr)->QSplitter::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSplitter*>(ptr)->QSplitter::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QSplitter*>(ptr)->QSplitter::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSplitter*>(ptr)->QSplitter::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QSplitter*>(ptr)->QSplitter::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QLCDNumber*>(ptr)->QLCDNumber::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QLCDNumber*>(ptr)->QLCDNumber::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QLCDNumber*>(ptr)->QLCDNumber::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QLCDNumber*>(ptr)->QLCDNumber::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QLCDNumber*>(ptr)->QLCDNumber::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QLabel*>(ptr)->QLabel::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QLabel*>(ptr)->QLabel::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QLabel*>(ptr)->QLabel::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QLabel*>(ptr)->QLabel::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QLabel*>(ptr)->QLabel::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QTextBrowser*>(ptr)->QTextBrowser::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QTextEdit*>(ptr)->QTextEdit::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTextEdit*>(ptr)->QTextEdit::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QTextEdit*>(ptr)->QTextEdit::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTextEdit*>(ptr)->QTextEdit::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QTextEdit*>(ptr)->QTextEdit::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QScrollArea*>(ptr)->QScrollArea::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QScrollArea*>(ptr)->QScrollArea::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QScrollArea*>(ptr)->QScrollArea::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QScrollArea*>(ptr)->QScrollArea::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QScrollArea*>(ptr)->QScrollArea::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QMdiArea*>(ptr)->QMdiArea::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMdiArea*>(ptr)->QMdiArea::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QMdiArea*>(ptr)->QMdiArea::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMdiArea*>(ptr)->QMdiArea::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QMdiArea*>(ptr)->QMdiArea::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QTreeWidget*>(ptr)->QTreeWidget::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QTreeView*>(ptr)->QTreeView::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTreeView*>(ptr)->QTreeView::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QTreeView*>(ptr)->QTreeView::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTreeView*>(ptr)->QTreeView::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QTreeView*>(ptr)->QTreeView::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTableWidget*>(ptr)->QTableWidget::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QTableWidget*>(ptr)->QTableWidget::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QTableView*>(ptr)->QTableView::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTableView*>(ptr)->QTableView::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QTableView*>(ptr)->QTableView::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTableView*>(ptr)->QTableView::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QTableView*>(ptr)->QTableView::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QUndoView*>(ptr)->QUndoView::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QUndoView*>(ptr)->QUndoView::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QUndoView*>(ptr)->QUndoView::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QUndoView*>(ptr)->QUndoView::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QUndoView*>(ptr)->QUndoView::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QListWidget*>(ptr)->QListWidget::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QListWidget*>(ptr)->QListWidget::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QListWidget*>(ptr)->QListWidget::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QListWidget*>(ptr)->QListWidget::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QListWidget*>(ptr)->QListWidget::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QListView*>(ptr)->QListView::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QListView*>(ptr)->QListView::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QListView*>(ptr)->QListView::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QListView*>(ptr)->QListView::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QListView*>(ptr)->QListView::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QHeaderView*>(ptr)->QHeaderView::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QHeaderView*>(ptr)->QHeaderView::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QColumnView*>(ptr)->QColumnView::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QColumnView*>(ptr)->QColumnView::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QColumnView*>(ptr)->QColumnView::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QColumnView*>(ptr)->QColumnView::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QColumnView*>(ptr)->QColumnView::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsView*>(ptr)->QGraphicsView::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsView*>(ptr)->QGraphicsView::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsView*>(ptr)->QGraphicsView::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QGraphicsView*>(ptr)->QGraphicsView::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QGraphicsView*>(ptr)->QGraphicsView::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QFrame*>(ptr)->QFrame::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QFrame*>(ptr)->QFrame::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QFrame*>(ptr)->QFrame::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QFrame*>(ptr)->QFrame::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QFrame*>(ptr)->QFrame::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QFocusFrame*>(ptr)->QFocusFrame::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QFocusFrame*>(ptr)->QFocusFrame::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QFocusFrame*>(ptr)->QFocusFrame::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QFocusFrame*>(ptr)->QFocusFrame::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QFocusFrame*>(ptr)->QFocusFrame::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QDockWidget*>(ptr)->QDockWidget::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDockWidget*>(ptr)->QDockWidget::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QDockWidget*>(ptr)->QDockWidget::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDockWidget*>(ptr)->QDockWidget::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QDockWidget*>(ptr)->QDockWidget::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QFontComboBox*>(ptr)->QFontComboBox::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QFontComboBox*>(ptr)->QFontComboBox::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QFontComboBox*>(ptr)->QFontComboBox::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QFontComboBox*>(ptr)->QFontComboBox::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QFontComboBox*>(ptr)->QFontComboBox::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QComboBox*>(ptr)->QComboBox::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QComboBox*>(ptr)->QComboBox::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QComboBox*>(ptr)->QComboBox::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QComboBox*>(ptr)->QComboBox::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QComboBox*>(ptr)->QComboBox::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QSpinBox*>(ptr)->QSpinBox::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSpinBox*>(ptr)->QSpinBox::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QSpinBox*>(ptr)->QSpinBox::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSpinBox*>(ptr)->QSpinBox::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QSpinBox*>(ptr)->QSpinBox::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QTimeEdit*>(ptr)->QTimeEdit::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTimeEdit*>(ptr)->QTimeEdit::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QTimeEdit*>(ptr)->QTimeEdit::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QTimeEdit*>(ptr)->QTimeEdit::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QTimeEdit*>(ptr)->QTimeEdit::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QDateEdit*>(ptr)->QDateEdit::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDateEdit*>(ptr)->QDateEdit::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QDateEdit*>(ptr)->QDateEdit::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDateEdit*>(ptr)->QDateEdit::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QDateEdit*>(ptr)->QDateEdit::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QSlider*>(ptr)->QSlider::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSlider*>(ptr)->QSlider::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QSlider*>(ptr)->QSlider::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QSlider*>(ptr)->QSlider::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QSlider*>(ptr)->QSlider::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QScrollBar*>(ptr)->QScrollBar::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QScrollBar*>(ptr)->QScrollBar::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QScrollBar*>(ptr)->QScrollBar::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QScrollBar*>(ptr)->QScrollBar::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QScrollBar*>(ptr)->QScrollBar::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QDial*>(ptr)->QDial::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDial*>(ptr)->QDial::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QDial*>(ptr)->QDial::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDial*>(ptr)->QDial::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QDial*>(ptr)->QDial::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QToolButton*>(ptr)->QToolButton::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QToolButton*>(ptr)->QToolButton::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QToolButton*>(ptr)->QToolButton::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QToolButton*>(ptr)->QToolButton::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QToolButton*>(ptr)->QToolButton::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QRadioButton*>(ptr)->QRadioButton::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QRadioButton*>(ptr)->QRadioButton::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QRadioButton*>(ptr)->QRadioButton::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QRadioButton*>(ptr)->QRadioButton::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QRadioButton*>(ptr)->QRadioButton::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QPushButton*>(ptr)->QPushButton::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QPushButton*>(ptr)->QPushButton::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QPushButton*>(ptr)->QPushButton::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QPushButton*>(ptr)->QPushButton::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QPushButton*>(ptr)->QPushButton::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QCheckBox*>(ptr)->QCheckBox::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QCheckBox*>(ptr)->QCheckBox::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QCheckBox*>(ptr)->QCheckBox::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QCheckBox*>(ptr)->QCheckBox::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QCheckBox*>(ptr)->QCheckBox::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractButton*>(ptr)->QAbstractButton::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractButton*>(ptr)->QAbstractButton::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractButton*>(ptr)->QAbstractButton::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QAbstractButton*>(ptr)->QAbstractButton::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QAbstractButton*>(ptr)->QAbstractButton::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QWizardPage*>(ptr)->QWizardPage::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QWizardPage*>(ptr)->QWizardPage::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QWizardPage*>(ptr)->QWizardPage::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QWizardPage*>(ptr)->QWizardPage::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QWizardPage*>(ptr)->QWizardPage::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QWizard*>(ptr)->QWizard::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QWizard*>(ptr)->QWizard::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QWizard*>(ptr)->QWizard::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QWizard*>(ptr)->QWizard::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QWizard*>(ptr)->QWizard::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QProgressDialog*>(ptr)->QProgressDialog::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QProgressDialog*>(ptr)->QProgressDialog::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QProgressDialog*>(ptr)->QProgressDialog::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QProgressDialog*>(ptr)->QProgressDialog::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QProgressDialog*>(ptr)->QProgressDialog::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QMessageBox*>(ptr)->QMessageBox::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMessageBox*>(ptr)->QMessageBox::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QMessageBox*>(ptr)->QMessageBox::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QMessageBox*>(ptr)->QMessageBox::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QMessageBox*>(ptr)->QMessageBox::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QInputDialog*>(ptr)->QInputDialog::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QInputDialog*>(ptr)->QInputDialog::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QInputDialog*>(ptr)->QInputDialog::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QInputDialog*>(ptr)->QInputDialog::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QInputDialog*>(ptr)->QInputDialog::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QFontDialog*>(ptr)->QFontDialog::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QFontDialog*>(ptr)->QFontDialog::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QFontDialog*>(ptr)->QFontDialog::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QFontDialog*>(ptr)->QFontDialog::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QFontDialog*>(ptr)->QFontDialog::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QFileDialog*>(ptr)->QFileDialog::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QFileDialog*>(ptr)->QFileDialog::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QFileDialog*>(ptr)->QFileDialog::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QFileDialog*>(ptr)->QFileDialog::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QFileDialog*>(ptr)->QFileDialog::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QErrorMessage*>(ptr)->QErrorMessage::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QErrorMessage*>(ptr)->QErrorMessage::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QErrorMessage*>(ptr)->QErrorMessage::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QErrorMessage*>(ptr)->QErrorMessage::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QErrorMessage*>(ptr)->QErrorMessage::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QColorDialog*>(ptr)->QColorDialog::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QColorDialog*>(ptr)->QColorDialog::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QColorDialog*>(ptr)->QColorDialog::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QColorDialog*>(ptr)->QColorDialog::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QColorDialog*>(ptr)->QColorDialog::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QDialog*>(ptr)->QDialog::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDialog*>(ptr)->QDialog::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QDialog*>(ptr)->QDialog::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QDialog*>(ptr)->QDialog::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QDialog*>(ptr)->QDialog::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
} else {
if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(watched))) {
return static_cast<QWidget*>(ptr)->QWidget::eventFilter(static_cast<QGraphicsObject*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QWidget*>(ptr)->QWidget::eventFilter(static_cast<QGraphicsWidget*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(watched))) {
return static_cast<QWidget*>(ptr)->QWidget::eventFilter(static_cast<QLayout*>(watched), static_cast<QEvent*>(event));
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(watched))) {
return static_cast<QWidget*>(ptr)->QWidget::eventFilter(static_cast<QWidget*>(watched), static_cast<QEvent*>(event));
} else {
return static_cast<QWidget*>(ptr)->QWidget::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
}
}
void QWidget_ChildEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->childEvent(static_cast<QChildEvent*>(event));
}
void QWidget_ChildEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::childEvent(static_cast<QChildEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::childEvent(static_cast<QChildEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::childEvent(static_cast<QChildEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::childEvent(static_cast<QChildEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::childEvent(static_cast<QChildEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::childEvent(static_cast<QChildEvent*>(event));
}
}
void QWidget_ConnectNotify(void* ptr, void* sign)
{
static_cast<QWidget*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWidget_ConnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::connectNotify(*static_cast<QMetaMethod*>(sign));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::connectNotify(*static_cast<QMetaMethod*>(sign));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::connectNotify(*static_cast<QMetaMethod*>(sign));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::connectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::connectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QWidget*>(ptr)->QWidget::connectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QWidget_CustomEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->customEvent(static_cast<QEvent*>(event));
}
void QWidget_CustomEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::customEvent(static_cast<QEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::customEvent(static_cast<QEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::customEvent(static_cast<QEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::customEvent(static_cast<QEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::customEvent(static_cast<QEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::customEvent(static_cast<QEvent*>(event));
}
}
void QWidget_DeleteLater(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWidget*>(ptr), "deleteLater");
}
void QWidget_DeleteLaterDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::deleteLater();
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::deleteLater();
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::deleteLater();
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::deleteLater();
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::deleteLater();
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::deleteLater();
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::deleteLater();
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::deleteLater();
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::deleteLater();
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::deleteLater();
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::deleteLater();
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::deleteLater();
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::deleteLater();
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::deleteLater();
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::deleteLater();
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::deleteLater();
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::deleteLater();
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::deleteLater();
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::deleteLater();
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::deleteLater();
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::deleteLater();
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::deleteLater();
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::deleteLater();
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::deleteLater();
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::deleteLater();
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::deleteLater();
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::deleteLater();
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::deleteLater();
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::deleteLater();
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::deleteLater();
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::deleteLater();
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::deleteLater();
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::deleteLater();
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::deleteLater();
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::deleteLater();
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::deleteLater();
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::deleteLater();
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::deleteLater();
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::deleteLater();
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::deleteLater();
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::deleteLater();
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::deleteLater();
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::deleteLater();
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::deleteLater();
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::deleteLater();
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::deleteLater();
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::deleteLater();
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::deleteLater();
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::deleteLater();
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::deleteLater();
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::deleteLater();
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::deleteLater();
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::deleteLater();
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::deleteLater();
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::deleteLater();
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::deleteLater();
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::deleteLater();
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::deleteLater();
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::deleteLater();
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::deleteLater();
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::deleteLater();
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::deleteLater();
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::deleteLater();
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::deleteLater();
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::deleteLater();
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::deleteLater();
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::deleteLater();
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::deleteLater();
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::deleteLater();
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::deleteLater();
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::deleteLater();
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::deleteLater();
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::deleteLater();
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::deleteLater();
} else {
static_cast<QWidget*>(ptr)->QWidget::deleteLater();
}
}
void QWidget_DisconnectNotify(void* ptr, void* sign)
{
static_cast<QWidget*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWidget_DisconnectNotifyDefault(void* ptr, void* sign)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::disconnectNotify(*static_cast<QMetaMethod*>(sign));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::disconnectNotify(*static_cast<QMetaMethod*>(sign));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::disconnectNotify(*static_cast<QMetaMethod*>(sign));
} else {
static_cast<QWidget*>(ptr)->QWidget::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
}
void QWidget_TimerEvent(void* ptr, void* event)
{
static_cast<QWidget*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event));
}
void QWidget_TimerEventDefault(void* ptr, void* event)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBar*>(ptr)->QToolBar::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTabWidget*>(ptr)->QTabWidget::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
static_cast<QTabBar*>(ptr)->QTabBar::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
static_cast<QStatusBar*>(ptr)->QStatusBar::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
static_cast<QSplashScreen*>(ptr)->QSplashScreen::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
static_cast<QSizeGrip*>(ptr)->QSizeGrip::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
static_cast<QRubberBand*>(ptr)->QRubberBand::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressBar*>(ptr)->QProgressBar::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
static_cast<QMenuBar*>(ptr)->QMenuBar::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
static_cast<QMenu*>(ptr)->QMenu::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
static_cast<QMainWindow*>(ptr)->QMainWindow::timerEvent(static_cast<QTimerEvent*>(event));
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::timerEvent(static_cast<QTimerEvent*>(event));
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::timerEvent(static_cast<QTimerEvent*>(event));
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QLineEdit*>(ptr)->QLineEdit::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
static_cast<QGroupBox*>(ptr)->QGroupBox::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
static_cast<QToolBox*>(ptr)->QToolBox::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QStackedWidget*>(ptr)->QStackedWidget::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
static_cast<QSplitter*>(ptr)->QSplitter::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
static_cast<QLCDNumber*>(ptr)->QLCDNumber::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
static_cast<QLabel*>(ptr)->QLabel::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
static_cast<QTextBrowser*>(ptr)->QTextBrowser::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTextEdit*>(ptr)->QTextEdit::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollArea*>(ptr)->QScrollArea::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
static_cast<QMdiArea*>(ptr)->QMdiArea::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeWidget*>(ptr)->QTreeWidget::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
static_cast<QTreeView*>(ptr)->QTreeView::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QTableWidget*>(ptr)->QTableWidget::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
static_cast<QTableView*>(ptr)->QTableView::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
static_cast<QUndoView*>(ptr)->QUndoView::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QListWidget*>(ptr)->QListWidget::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
static_cast<QListView*>(ptr)->QListView::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
static_cast<QHeaderView*>(ptr)->QHeaderView::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
static_cast<QColumnView*>(ptr)->QColumnView::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
static_cast<QGraphicsView*>(ptr)->QGraphicsView::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFrame*>(ptr)->QFrame::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
static_cast<QFocusFrame*>(ptr)->QFocusFrame::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDockWidget*>(ptr)->QDockWidget::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QFontComboBox*>(ptr)->QFontComboBox::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
static_cast<QComboBox*>(ptr)->QComboBox::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QSpinBox*>(ptr)->QSpinBox::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QTimeEdit*>(ptr)->QTimeEdit::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateEdit*>(ptr)->QDateEdit::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QSlider*>(ptr)->QSlider::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
static_cast<QScrollBar*>(ptr)->QScrollBar::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
static_cast<QDial*>(ptr)->QDial::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
static_cast<QToolButton*>(ptr)->QToolButton::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
static_cast<QRadioButton*>(ptr)->QRadioButton::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
static_cast<QPushButton*>(ptr)->QPushButton::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
static_cast<QCheckBox*>(ptr)->QCheckBox::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
static_cast<QAbstractButton*>(ptr)->QAbstractButton::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
static_cast<QWizardPage*>(ptr)->QWizardPage::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
static_cast<QWizard*>(ptr)->QWizard::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QProgressDialog*>(ptr)->QProgressDialog::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
static_cast<QMessageBox*>(ptr)->QMessageBox::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QInputDialog*>(ptr)->QInputDialog::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFontDialog*>(ptr)->QFontDialog::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QFileDialog*>(ptr)->QFileDialog::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
static_cast<QErrorMessage*>(ptr)->QErrorMessage::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QColorDialog*>(ptr)->QColorDialog::timerEvent(static_cast<QTimerEvent*>(event));
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
static_cast<QDialog*>(ptr)->QDialog::timerEvent(static_cast<QTimerEvent*>(event));
} else {
static_cast<QWidget*>(ptr)->QWidget::timerEvent(static_cast<QTimerEvent*>(event));
}
}
void* QWidget_MetaObject(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWidget*>(ptr)->metaObject());
}
void* QWidget_MetaObjectDefault(void* ptr)
{
if (dynamic_cast<QToolBar*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QToolBar*>(ptr)->QToolBar::metaObject());
} else if (dynamic_cast<QTabWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QTabWidget*>(ptr)->QTabWidget::metaObject());
} else if (dynamic_cast<QTabBar*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QTabBar*>(ptr)->QTabBar::metaObject());
} else if (dynamic_cast<QStatusBar*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QStatusBar*>(ptr)->QStatusBar::metaObject());
} else if (dynamic_cast<QSplitterHandle*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QSplitterHandle*>(ptr)->QSplitterHandle::metaObject());
} else if (dynamic_cast<QSplashScreen*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QSplashScreen*>(ptr)->QSplashScreen::metaObject());
} else if (dynamic_cast<QSizeGrip*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QSizeGrip*>(ptr)->QSizeGrip::metaObject());
} else if (dynamic_cast<QRubberBand*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QRubberBand*>(ptr)->QRubberBand::metaObject());
} else if (dynamic_cast<QProgressBar*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QProgressBar*>(ptr)->QProgressBar::metaObject());
} else if (dynamic_cast<QMenuBar*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QMenuBar*>(ptr)->QMenuBar::metaObject());
} else if (dynamic_cast<QMenu*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QMenu*>(ptr)->QMenu::metaObject());
} else if (dynamic_cast<QMdiSubWindow*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QMdiSubWindow*>(ptr)->QMdiSubWindow::metaObject());
} else if (dynamic_cast<QMainWindow*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QMainWindow*>(ptr)->QMainWindow::metaObject());
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacNativeWidget*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return const_cast<QMetaObject*>(static_cast<QMacNativeWidget*>(ptr)->QMacNativeWidget::metaObject());
#endif
} else
#ifdef Q_OS_OSX
if (dynamic_cast<QMacCocoaViewContainer*>(static_cast<QObject*>(ptr))) {
#else
if (false) {
#endif
#ifdef Q_OS_OSX
return const_cast<QMetaObject*>(static_cast<QMacCocoaViewContainer*>(ptr)->QMacCocoaViewContainer::metaObject());
#endif
} else if (dynamic_cast<QLineEdit*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QLineEdit*>(ptr)->QLineEdit::metaObject());
} else if (dynamic_cast<QKeySequenceEdit*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QKeySequenceEdit*>(ptr)->QKeySequenceEdit::metaObject());
} else if (dynamic_cast<QGroupBox*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QGroupBox*>(ptr)->QGroupBox::metaObject());
} else if (dynamic_cast<QToolBox*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QToolBox*>(ptr)->QToolBox::metaObject());
} else if (dynamic_cast<QStackedWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QStackedWidget*>(ptr)->QStackedWidget::metaObject());
} else if (dynamic_cast<QSplitter*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QSplitter*>(ptr)->QSplitter::metaObject());
} else if (dynamic_cast<QLCDNumber*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QLCDNumber*>(ptr)->QLCDNumber::metaObject());
} else if (dynamic_cast<QLabel*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QLabel*>(ptr)->QLabel::metaObject());
} else if (dynamic_cast<QTextBrowser*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QTextBrowser*>(ptr)->QTextBrowser::metaObject());
} else if (dynamic_cast<QTextEdit*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QTextEdit*>(ptr)->QTextEdit::metaObject());
} else if (dynamic_cast<QScrollArea*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QScrollArea*>(ptr)->QScrollArea::metaObject());
} else if (dynamic_cast<QPlainTextEdit*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QPlainTextEdit*>(ptr)->QPlainTextEdit::metaObject());
} else if (dynamic_cast<QMdiArea*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QMdiArea*>(ptr)->QMdiArea::metaObject());
} else if (dynamic_cast<QTreeWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QTreeWidget*>(ptr)->QTreeWidget::metaObject());
} else if (dynamic_cast<QTreeView*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QTreeView*>(ptr)->QTreeView::metaObject());
} else if (dynamic_cast<QTableWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QTableWidget*>(ptr)->QTableWidget::metaObject());
} else if (dynamic_cast<QTableView*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QTableView*>(ptr)->QTableView::metaObject());
} else if (dynamic_cast<QUndoView*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QUndoView*>(ptr)->QUndoView::metaObject());
} else if (dynamic_cast<QListWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QListWidget*>(ptr)->QListWidget::metaObject());
} else if (dynamic_cast<QListView*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QListView*>(ptr)->QListView::metaObject());
} else if (dynamic_cast<QHeaderView*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QHeaderView*>(ptr)->QHeaderView::metaObject());
} else if (dynamic_cast<QColumnView*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QColumnView*>(ptr)->QColumnView::metaObject());
} else if (dynamic_cast<QAbstractItemView*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QAbstractItemView*>(ptr)->QAbstractItemView::metaObject());
} else if (dynamic_cast<QGraphicsView*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QGraphicsView*>(ptr)->QGraphicsView::metaObject());
} else if (dynamic_cast<QAbstractScrollArea*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QAbstractScrollArea*>(ptr)->QAbstractScrollArea::metaObject());
} else if (dynamic_cast<QFrame*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QFrame*>(ptr)->QFrame::metaObject());
} else if (dynamic_cast<QFocusFrame*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QFocusFrame*>(ptr)->QFocusFrame::metaObject());
} else if (dynamic_cast<QDockWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QDockWidget*>(ptr)->QDockWidget::metaObject());
} else if (dynamic_cast<QDialogButtonBox*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QDialogButtonBox*>(ptr)->QDialogButtonBox::metaObject());
} else if (dynamic_cast<QFontComboBox*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QFontComboBox*>(ptr)->QFontComboBox::metaObject());
} else if (dynamic_cast<QComboBox*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QComboBox*>(ptr)->QComboBox::metaObject());
} else if (dynamic_cast<QCalendarWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QCalendarWidget*>(ptr)->QCalendarWidget::metaObject());
} else if (dynamic_cast<QSpinBox*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QSpinBox*>(ptr)->QSpinBox::metaObject());
} else if (dynamic_cast<QDoubleSpinBox*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QDoubleSpinBox*>(ptr)->QDoubleSpinBox::metaObject());
} else if (dynamic_cast<QTimeEdit*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QTimeEdit*>(ptr)->QTimeEdit::metaObject());
} else if (dynamic_cast<QDateEdit*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QDateEdit*>(ptr)->QDateEdit::metaObject());
} else if (dynamic_cast<QDateTimeEdit*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QDateTimeEdit*>(ptr)->QDateTimeEdit::metaObject());
} else if (dynamic_cast<QAbstractSpinBox*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QAbstractSpinBox*>(ptr)->QAbstractSpinBox::metaObject());
} else if (dynamic_cast<QSlider*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QSlider*>(ptr)->QSlider::metaObject());
} else if (dynamic_cast<QScrollBar*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QScrollBar*>(ptr)->QScrollBar::metaObject());
} else if (dynamic_cast<QDial*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QDial*>(ptr)->QDial::metaObject());
} else if (dynamic_cast<QAbstractSlider*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QAbstractSlider*>(ptr)->QAbstractSlider::metaObject());
} else if (dynamic_cast<QToolButton*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QToolButton*>(ptr)->QToolButton::metaObject());
} else if (dynamic_cast<QRadioButton*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QRadioButton*>(ptr)->QRadioButton::metaObject());
} else if (dynamic_cast<QCommandLinkButton*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QCommandLinkButton*>(ptr)->QCommandLinkButton::metaObject());
} else if (dynamic_cast<QPushButton*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QPushButton*>(ptr)->QPushButton::metaObject());
} else if (dynamic_cast<QCheckBox*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QCheckBox*>(ptr)->QCheckBox::metaObject());
} else if (dynamic_cast<QAbstractButton*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QAbstractButton*>(ptr)->QAbstractButton::metaObject());
} else if (dynamic_cast<QDesktopWidget*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QDesktopWidget*>(ptr)->QDesktopWidget::metaObject());
} else if (dynamic_cast<QWizardPage*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QWizardPage*>(ptr)->QWizardPage::metaObject());
} else if (dynamic_cast<QWizard*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QWizard*>(ptr)->QWizard::metaObject());
} else if (dynamic_cast<QProgressDialog*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QProgressDialog*>(ptr)->QProgressDialog::metaObject());
} else if (dynamic_cast<QMessageBox*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QMessageBox*>(ptr)->QMessageBox::metaObject());
} else if (dynamic_cast<QInputDialog*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QInputDialog*>(ptr)->QInputDialog::metaObject());
} else if (dynamic_cast<QFontDialog*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QFontDialog*>(ptr)->QFontDialog::metaObject());
} else if (dynamic_cast<QFileDialog*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QFileDialog*>(ptr)->QFileDialog::metaObject());
} else if (dynamic_cast<QErrorMessage*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QErrorMessage*>(ptr)->QErrorMessage::metaObject());
} else if (dynamic_cast<QColorDialog*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QColorDialog*>(ptr)->QColorDialog::metaObject());
} else if (dynamic_cast<QDialog*>(static_cast<QObject*>(ptr))) {
return const_cast<QMetaObject*>(static_cast<QDialog*>(ptr)->QDialog::metaObject());
} else {
return const_cast<QMetaObject*>(static_cast<QWidget*>(ptr)->QWidget::metaObject());
}
}
class MyQWidgetAction: public QWidgetAction
{
public:
MyQWidgetAction(QObject *parent) : QWidgetAction(parent) {};
QWidget * createWidget(QWidget * parent) { return static_cast<QWidget*>(callbackQWidgetAction_CreateWidget(this, parent)); };
bool event(QEvent * event) { return callbackQAction_Event(this, event) != 0; };
bool eventFilter(QObject * obj, QEvent * event) { return callbackQAction_EventFilter(this, obj, event) != 0; };
void deleteWidget(QWidget * widget) { callbackQWidgetAction_DeleteWidget(this, widget); };
~MyQWidgetAction() { callbackQWidgetAction_DestroyQWidgetAction(this); };
void Signal_Changed() { callbackQAction_Changed(this); };
void hover() { callbackQAction_Hover(this); };
void Signal_Hovered() { callbackQAction_Hovered(this); };
void setChecked(bool vbo) { callbackQAction_SetChecked(this, vbo); };
void setDisabled(bool b) { callbackQAction_SetDisabled(this, b); };
void setEnabled(bool vbo) { callbackQAction_SetEnabled(this, vbo); };
void setVisible(bool vbo) { callbackQAction_SetVisible(this, vbo); };
void toggle() { callbackQAction_Toggle(this); };
void Signal_Toggled(bool checked) { callbackQAction_Toggled(this, checked); };
void trigger() { callbackQAction_Trigger(this); };
void Signal_Triggered(bool checked) { callbackQAction_Triggered(this, checked); };
void childEvent(QChildEvent * event) { callbackQAction_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQAction_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQAction_CustomEvent(this, event); };
void deleteLater() { callbackQAction_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQAction_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQAction_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQAction_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQAction_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQAction_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QWidgetAction_CreateWidget(void* ptr, void* parent)
{
return static_cast<QWidgetAction*>(ptr)->createWidget(static_cast<QWidget*>(parent));
}
void* QWidgetAction_CreateWidgetDefault(void* ptr, void* parent)
{
return static_cast<QWidgetAction*>(ptr)->QWidgetAction::createWidget(static_cast<QWidget*>(parent));
}
void* QWidgetAction_RequestWidget(void* ptr, void* parent)
{
return static_cast<QWidgetAction*>(ptr)->requestWidget(static_cast<QWidget*>(parent));
}
void* QWidgetAction_NewQWidgetAction(void* parent)
{
return new MyQWidgetAction(static_cast<QObject*>(parent));
}
void QWidgetAction_DeleteWidget(void* ptr, void* widget)
{
static_cast<QWidgetAction*>(ptr)->deleteWidget(static_cast<QWidget*>(widget));
}
void QWidgetAction_DeleteWidgetDefault(void* ptr, void* widget)
{
static_cast<QWidgetAction*>(ptr)->QWidgetAction::deleteWidget(static_cast<QWidget*>(widget));
}
void QWidgetAction_ReleaseWidget(void* ptr, void* widget)
{
static_cast<QWidgetAction*>(ptr)->releaseWidget(static_cast<QWidget*>(widget));
}
void QWidgetAction_SetDefaultWidget(void* ptr, void* widget)
{
static_cast<QWidgetAction*>(ptr)->setDefaultWidget(static_cast<QWidget*>(widget));
}
void QWidgetAction_DestroyQWidgetAction(void* ptr)
{
static_cast<QWidgetAction*>(ptr)->~QWidgetAction();
}
void QWidgetAction_DestroyQWidgetActionDefault(void* ptr)
{
}
struct QtWidgets_PackedList QWidgetAction_CreatedWidgets(void* ptr)
{
return ({ QList<QWidget *>* tmpValue = new QList<QWidget *>(static_cast<QWidgetAction*>(ptr)->createdWidgets()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QWidgetAction_DefaultWidget(void* ptr)
{
return static_cast<QWidgetAction*>(ptr)->defaultWidget();
}
void* QWidgetAction___createdWidgets_atList(void* ptr, int i)
{
return const_cast<QWidget*>(static_cast<QList<QWidget *>*>(ptr)->at(i));
}
void QWidgetAction___createdWidgets_setList(void* ptr, void* i)
{
static_cast<QList<QWidget *>*>(ptr)->append(static_cast<QWidget*>(i));
}
void* QWidgetAction___createdWidgets_newList(void* ptr)
{
return new QList<QWidget *>;
}
class MyQWidgetItem: public QWidgetItem
{
public:
MyQWidgetItem(QWidget *widget) : QWidgetItem(widget) {};
QWidget * widget() { return static_cast<QWidget*>(callbackQLayoutItem_Widget(this)); };
void setGeometry(const QRect & rect) { callbackQWidgetItem_SetGeometry(this, const_cast<QRect*>(&rect)); };
QRect geometry() const { return *static_cast<QRect*>(callbackQWidgetItem_Geometry(const_cast<void*>(static_cast<const void*>(this)))); };
QSize maximumSize() const { return *static_cast<QSize*>(callbackQWidgetItem_MaximumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSize() const { return *static_cast<QSize*>(callbackQWidgetItem_MinimumSize(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidgetItem_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSizePolicy::ControlTypes controlTypes() const { return static_cast<QSizePolicy::ControlType>(callbackQLayoutItem_ControlTypes(const_cast<void*>(static_cast<const void*>(this)))); };
Qt::Orientations expandingDirections() const { return static_cast<Qt::Orientation>(callbackQWidgetItem_ExpandingDirections(const_cast<void*>(static_cast<const void*>(this)))); };
bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
bool isEmpty() const { return callbackQWidgetItem_IsEmpty(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQLayoutItem_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
QLayout * layout() { return static_cast<QLayout*>(callbackQLayoutItem_Layout(this)); };
QSpacerItem * spacerItem() { return static_cast<QSpacerItem*>(callbackQLayoutItem_SpacerItem(this)); };
void invalidate() { callbackQLayoutItem_Invalidate(this); };
int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
};
void* QWidgetItem_NewQWidgetItem(void* widget)
{
return new MyQWidgetItem(static_cast<QWidget*>(widget));
}
void QWidgetItem_SetGeometry(void* ptr, void* rect)
{
static_cast<QWidgetItem*>(ptr)->setGeometry(*static_cast<QRect*>(rect));
}
void QWidgetItem_SetGeometryDefault(void* ptr, void* rect)
{
static_cast<QWidgetItem*>(ptr)->QWidgetItem::setGeometry(*static_cast<QRect*>(rect));
}
void QWidgetItem_DestroyQWidgetItem(void* ptr)
{
static_cast<QWidgetItem*>(ptr)->~QWidgetItem();
}
void* QWidgetItem_Geometry(void* ptr)
{
return ({ QRect tmpValue = static_cast<QWidgetItem*>(ptr)->geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QWidgetItem_GeometryDefault(void* ptr)
{
return ({ QRect tmpValue = static_cast<QWidgetItem*>(ptr)->QWidgetItem::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
}
void* QWidgetItem_MaximumSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QWidgetItem*>(ptr)->maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QWidgetItem_MaximumSizeDefault(void* ptr)
{
return ({ QSize tmpValue = static_cast<QWidgetItem*>(ptr)->QWidgetItem::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QWidgetItem_MinimumSize(void* ptr)
{
return ({ QSize tmpValue = static_cast<QWidgetItem*>(ptr)->minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QWidgetItem_MinimumSizeDefault(void* ptr)
{
return ({ QSize tmpValue = static_cast<QWidgetItem*>(ptr)->QWidgetItem::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QWidgetItem_SizeHint(void* ptr)
{
return ({ QSize tmpValue = static_cast<QWidgetItem*>(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
void* QWidgetItem_SizeHintDefault(void* ptr)
{
return ({ QSize tmpValue = static_cast<QWidgetItem*>(ptr)->QWidgetItem::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
}
long long QWidgetItem_ExpandingDirections(void* ptr)
{
return static_cast<QWidgetItem*>(ptr)->expandingDirections();
}
long long QWidgetItem_ExpandingDirectionsDefault(void* ptr)
{
return static_cast<QWidgetItem*>(ptr)->QWidgetItem::expandingDirections();
}
char QWidgetItem_IsEmpty(void* ptr)
{
return static_cast<QWidgetItem*>(ptr)->isEmpty();
}
char QWidgetItem_IsEmptyDefault(void* ptr)
{
return static_cast<QWidgetItem*>(ptr)->QWidgetItem::isEmpty();
}
void* QWidgetItem_Wid(void* ptr)
{
return static_cast<QWidgetItem*>(ptr)->wid;
}
void QWidgetItem_SetWid(void* ptr, void* vqw)
{
static_cast<QWidgetItem*>(ptr)->wid = static_cast<QWidget*>(vqw);
}
class MyQWizard: public QWizard
{
public:
MyQWizard(QWidget *parent, Qt::WindowFlags flags) : QWizard(parent, flags) {};
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
bool validateCurrentPage() { return callbackQWizard_ValidateCurrentPage(this) != 0; };
void back() { callbackQWizard_Back(this); };
void cleanupPage(int id) { callbackQWizard_CleanupPage(this, id); };
void Signal_CurrentIdChanged(int id) { callbackQWizard_CurrentIdChanged(this, id); };
void Signal_CustomButtonClicked(int which) { callbackQWizard_CustomButtonClicked(this, which); };
void done(int result) { callbackQWizard_Done(this, result); };
void Signal_HelpRequested() { callbackQWizard_HelpRequested(this); };
void initializePage(int id) { callbackQWizard_InitializePage(this, id); };
void next() { callbackQWizard_Next(this); };
void Signal_PageAdded(int id) { callbackQWizard_PageAdded(this, id); };
void Signal_PageRemoved(int id) { callbackQWizard_PageRemoved(this, id); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void restart() { callbackQWizard_Restart(this); };
void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
int nextId() const { return callbackQWizard_NextId(const_cast<void*>(static_cast<const void*>(this))); };
int exec() { return callbackQDialog_Exec(this); };
void accept() { callbackQDialog_Accept(this); };
void Signal_Accepted() { callbackQDialog_Accepted(this); };
void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); };
void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); };
void Signal_Finished(int result) { callbackQDialog_Finished(this, result); };
void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); };
void open() { callbackQDialog_Open(this); };
void reject() { callbackQDialog_Reject(this); };
void Signal_Rejected() { callbackQDialog_Rejected(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QWizard_NewQWizard(void* parent, long long flags)
{
return new MyQWizard(static_cast<QWidget*>(parent), static_cast<Qt::WindowType>(flags));
}
char QWizard_ValidateCurrentPage(void* ptr)
{
return static_cast<QWizard*>(ptr)->validateCurrentPage();
}
char QWizard_ValidateCurrentPageDefault(void* ptr)
{
return static_cast<QWizard*>(ptr)->QWizard::validateCurrentPage();
}
int QWizard_AddPage(void* ptr, void* page)
{
return static_cast<QWizard*>(ptr)->addPage(static_cast<QWizardPage*>(page));
}
void QWizard_Back(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWizard*>(ptr), "back");
}
void QWizard_BackDefault(void* ptr)
{
static_cast<QWizard*>(ptr)->QWizard::back();
}
void QWizard_CleanupPage(void* ptr, int id)
{
static_cast<QWizard*>(ptr)->cleanupPage(id);
}
void QWizard_CleanupPageDefault(void* ptr, int id)
{
static_cast<QWizard*>(ptr)->QWizard::cleanupPage(id);
}
void QWizard_ConnectCurrentIdChanged(void* ptr)
{
QObject::connect(static_cast<QWizard*>(ptr), static_cast<void (QWizard::*)(int)>(&QWizard::currentIdChanged), static_cast<MyQWizard*>(ptr), static_cast<void (MyQWizard::*)(int)>(&MyQWizard::Signal_CurrentIdChanged));
}
void QWizard_DisconnectCurrentIdChanged(void* ptr)
{
QObject::disconnect(static_cast<QWizard*>(ptr), static_cast<void (QWizard::*)(int)>(&QWizard::currentIdChanged), static_cast<MyQWizard*>(ptr), static_cast<void (MyQWizard::*)(int)>(&MyQWizard::Signal_CurrentIdChanged));
}
void QWizard_CurrentIdChanged(void* ptr, int id)
{
static_cast<QWizard*>(ptr)->currentIdChanged(id);
}
void QWizard_ConnectCustomButtonClicked(void* ptr)
{
QObject::connect(static_cast<QWizard*>(ptr), static_cast<void (QWizard::*)(int)>(&QWizard::customButtonClicked), static_cast<MyQWizard*>(ptr), static_cast<void (MyQWizard::*)(int)>(&MyQWizard::Signal_CustomButtonClicked));
}
void QWizard_DisconnectCustomButtonClicked(void* ptr)
{
QObject::disconnect(static_cast<QWizard*>(ptr), static_cast<void (QWizard::*)(int)>(&QWizard::customButtonClicked), static_cast<MyQWizard*>(ptr), static_cast<void (MyQWizard::*)(int)>(&MyQWizard::Signal_CustomButtonClicked));
}
void QWizard_CustomButtonClicked(void* ptr, int which)
{
static_cast<QWizard*>(ptr)->customButtonClicked(which);
}
void QWizard_Done(void* ptr, int result)
{
static_cast<QWizard*>(ptr)->done(result);
}
void QWizard_DoneDefault(void* ptr, int result)
{
static_cast<QWizard*>(ptr)->QWizard::done(result);
}
void QWizard_ConnectHelpRequested(void* ptr)
{
QObject::connect(static_cast<QWizard*>(ptr), static_cast<void (QWizard::*)()>(&QWizard::helpRequested), static_cast<MyQWizard*>(ptr), static_cast<void (MyQWizard::*)()>(&MyQWizard::Signal_HelpRequested));
}
void QWizard_DisconnectHelpRequested(void* ptr)
{
QObject::disconnect(static_cast<QWizard*>(ptr), static_cast<void (QWizard::*)()>(&QWizard::helpRequested), static_cast<MyQWizard*>(ptr), static_cast<void (MyQWizard::*)()>(&MyQWizard::Signal_HelpRequested));
}
void QWizard_HelpRequested(void* ptr)
{
static_cast<QWizard*>(ptr)->helpRequested();
}
void QWizard_InitializePage(void* ptr, int id)
{
static_cast<QWizard*>(ptr)->initializePage(id);
}
void QWizard_InitializePageDefault(void* ptr, int id)
{
static_cast<QWizard*>(ptr)->QWizard::initializePage(id);
}
void QWizard_Next(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWizard*>(ptr), "next");
}
void QWizard_NextDefault(void* ptr)
{
static_cast<QWizard*>(ptr)->QWizard::next();
}
void QWizard_ConnectPageAdded(void* ptr)
{
QObject::connect(static_cast<QWizard*>(ptr), static_cast<void (QWizard::*)(int)>(&QWizard::pageAdded), static_cast<MyQWizard*>(ptr), static_cast<void (MyQWizard::*)(int)>(&MyQWizard::Signal_PageAdded));
}
void QWizard_DisconnectPageAdded(void* ptr)
{
QObject::disconnect(static_cast<QWizard*>(ptr), static_cast<void (QWizard::*)(int)>(&QWizard::pageAdded), static_cast<MyQWizard*>(ptr), static_cast<void (MyQWizard::*)(int)>(&MyQWizard::Signal_PageAdded));
}
void QWizard_PageAdded(void* ptr, int id)
{
static_cast<QWizard*>(ptr)->pageAdded(id);
}
void QWizard_ConnectPageRemoved(void* ptr)
{
QObject::connect(static_cast<QWizard*>(ptr), static_cast<void (QWizard::*)(int)>(&QWizard::pageRemoved), static_cast<MyQWizard*>(ptr), static_cast<void (MyQWizard::*)(int)>(&MyQWizard::Signal_PageRemoved));
}
void QWizard_DisconnectPageRemoved(void* ptr)
{
QObject::disconnect(static_cast<QWizard*>(ptr), static_cast<void (QWizard::*)(int)>(&QWizard::pageRemoved), static_cast<MyQWizard*>(ptr), static_cast<void (MyQWizard::*)(int)>(&MyQWizard::Signal_PageRemoved));
}
void QWizard_PageRemoved(void* ptr, int id)
{
static_cast<QWizard*>(ptr)->pageRemoved(id);
}
void QWizard_RemovePage(void* ptr, int id)
{
static_cast<QWizard*>(ptr)->removePage(id);
}
void QWizard_Restart(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWizard*>(ptr), "restart");
}
void QWizard_RestartDefault(void* ptr)
{
static_cast<QWizard*>(ptr)->QWizard::restart();
}
void QWizard_SetButton(void* ptr, long long which, void* button)
{
static_cast<QWizard*>(ptr)->setButton(static_cast<QWizard::WizardButton>(which), static_cast<QAbstractButton*>(button));
}
void QWizard_SetButtonText(void* ptr, long long which, char* text)
{
static_cast<QWizard*>(ptr)->setButtonText(static_cast<QWizard::WizardButton>(which), QString(text));
}
void QWizard_SetDefaultProperty(void* ptr, char* className, char* property, char* changedSignal)
{
static_cast<QWizard*>(ptr)->setDefaultProperty(const_cast<const char*>(className), const_cast<const char*>(property), const_cast<const char*>(changedSignal));
}
void QWizard_SetField(void* ptr, char* name, void* value)
{
static_cast<QWizard*>(ptr)->setField(QString(name), *static_cast<QVariant*>(value));
}
void QWizard_SetOption(void* ptr, long long option, char on)
{
static_cast<QWizard*>(ptr)->setOption(static_cast<QWizard::WizardOption>(option), on != 0);
}
void QWizard_SetOptions(void* ptr, long long options)
{
static_cast<QWizard*>(ptr)->setOptions(static_cast<QWizard::WizardOption>(options));
}
void QWizard_SetPage(void* ptr, int id, void* page)
{
static_cast<QWizard*>(ptr)->setPage(id, static_cast<QWizardPage*>(page));
}
void QWizard_SetWizardStyle(void* ptr, long long style)
{
static_cast<QWizard*>(ptr)->setWizardStyle(static_cast<QWizard::WizardStyle>(style));
}
void QWizard_SetPixmap(void* ptr, long long which, void* pixmap)
{
static_cast<QWizard*>(ptr)->setPixmap(static_cast<QWizard::WizardPixmap>(which), *static_cast<QPixmap*>(pixmap));
}
void QWizard_SetSideWidget(void* ptr, void* widget)
{
static_cast<QWizard*>(ptr)->setSideWidget(static_cast<QWidget*>(widget));
}
void QWizard_SetStartId(void* ptr, int id)
{
static_cast<QWizard*>(ptr)->setStartId(id);
}
void QWizard_SetSubTitleFormat(void* ptr, long long format)
{
static_cast<QWizard*>(ptr)->setSubTitleFormat(static_cast<Qt::TextFormat>(format));
}
void QWizard_SetTitleFormat(void* ptr, long long format)
{
static_cast<QWizard*>(ptr)->setTitleFormat(static_cast<Qt::TextFormat>(format));
}
void QWizard_DestroyQWizard(void* ptr)
{
static_cast<QWizard*>(ptr)->~QWizard();
}
void* QWizard_Button(void* ptr, long long which)
{
return static_cast<QWizard*>(ptr)->button(static_cast<QWizard::WizardButton>(which));
}
struct QtWidgets_PackedList QWizard_PageIds(void* ptr)
{
return ({ QList<int>* tmpValue = new QList<int>(static_cast<QWizard*>(ptr)->pageIds()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
struct QtWidgets_PackedList QWizard_VisitedPages(void* ptr)
{
return ({ QList<int>* tmpValue = new QList<int>(static_cast<QWizard*>(ptr)->visitedPages()); QtWidgets_PackedList { tmpValue, tmpValue->size() }; });
}
void* QWizard_Pixmap(void* ptr, long long which)
{
return new QPixmap(static_cast<QWizard*>(ptr)->pixmap(static_cast<QWizard::WizardPixmap>(which)));
}
struct QtWidgets_PackedString QWizard_ButtonText(void* ptr, long long which)
{
return ({ QByteArray tdb6a3d = static_cast<QWizard*>(ptr)->buttonText(static_cast<QWizard::WizardButton>(which)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(tdb6a3d.prepend("WHITESPACE").constData()+10), tdb6a3d.size()-10 }; });
}
void* QWizard_Field(void* ptr, char* name)
{
return new QVariant(static_cast<QWizard*>(ptr)->field(QString(name)));
}
void* QWizard_SideWidget(void* ptr)
{
return static_cast<QWizard*>(ptr)->sideWidget();
}
void* QWizard_CurrentPage(void* ptr)
{
return static_cast<QWizard*>(ptr)->currentPage();
}
void* QWizard_Page(void* ptr, int id)
{
return static_cast<QWizard*>(ptr)->page(id);
}
long long QWizard_SubTitleFormat(void* ptr)
{
return static_cast<QWizard*>(ptr)->subTitleFormat();
}
long long QWizard_TitleFormat(void* ptr)
{
return static_cast<QWizard*>(ptr)->titleFormat();
}
long long QWizard_Options(void* ptr)
{
return static_cast<QWizard*>(ptr)->options();
}
long long QWizard_WizardStyle(void* ptr)
{
return static_cast<QWizard*>(ptr)->wizardStyle();
}
char QWizard_HasVisitedPage(void* ptr, int id)
{
return static_cast<QWizard*>(ptr)->hasVisitedPage(id);
}
char QWizard_TestOption(void* ptr, long long option)
{
return static_cast<QWizard*>(ptr)->testOption(static_cast<QWizard::WizardOption>(option));
}
int QWizard_CurrentId(void* ptr)
{
return static_cast<QWizard*>(ptr)->currentId();
}
int QWizard_NextId(void* ptr)
{
return static_cast<QWizard*>(ptr)->nextId();
}
int QWizard_NextIdDefault(void* ptr)
{
return static_cast<QWizard*>(ptr)->QWizard::nextId();
}
int QWizard_StartId(void* ptr)
{
return static_cast<QWizard*>(ptr)->startId();
}
int QWizard___pageIds_atList(void* ptr, int i)
{
return static_cast<QList<int>*>(ptr)->at(i);
}
void QWizard___pageIds_setList(void* ptr, int i)
{
static_cast<QList<int>*>(ptr)->append(i);
}
void* QWizard___pageIds_newList(void* ptr)
{
return new QList<int>;
}
int QWizard___visitedPages_atList(void* ptr, int i)
{
return static_cast<QList<int>*>(ptr)->at(i);
}
void QWizard___visitedPages_setList(void* ptr, int i)
{
static_cast<QList<int>*>(ptr)->append(i);
}
void* QWizard___visitedPages_newList(void* ptr)
{
return new QList<int>;
}
class MyQWizardPage: public QWizardPage
{
public:
MyQWizardPage(QWidget *parent) : QWizardPage(parent) {};
bool validatePage() { return callbackQWizardPage_ValidatePage(this) != 0; };
void cleanupPage() { callbackQWizardPage_CleanupPage(this); };
void Signal_CompleteChanged() { callbackQWizardPage_CompleteChanged(this); };
void initializePage() { callbackQWizardPage_InitializePage(this); };
bool isComplete() const { return callbackQWizardPage_IsComplete(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int nextId() const { return callbackQWizardPage_NextId(const_cast<void*>(static_cast<const void*>(this))); };
bool close() { return callbackQWidget_Close(this) != 0; };
bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; };
bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); };
void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); };
void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); };
void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast<QPoint*>(&pos)); };
void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); };
void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); };
void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); };
void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); };
void hide() { callbackQWidget_Hide(this); };
void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); };
void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); };
void lower() { callbackQWidget_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); };
void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); };
void raise() { callbackQWidget_Raise(this); };
void repaint() { callbackQWidget_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); };
void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); };
void setFocus() { callbackQWidget_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWidgets_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWidgets_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWidget_SetWindowTitle(this, vqsPacked); };
void show() { callbackQWidget_Show(this); };
void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); };
void showFullScreen() { callbackQWidget_ShowFullScreen(this); };
void showMaximized() { callbackQWidget_ShowMaximized(this); };
void showMinimized() { callbackQWidget_ShowMinimized(this); };
void showNormal() { callbackQWidget_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); };
void update() { callbackQWidget_Update(this); };
void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); };
void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_WindowTitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWidgets_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWidget_WindowTitleChanged(this, titlePacked); };
QPaintEngine * paintEngine() const { return static_cast<QPaintEngine*>(callbackQWidget_PaintEngine(const_cast<void*>(static_cast<const void*>(this)))); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWidget_MinimumSizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWidget_SizeHint(const_cast<void*>(static_cast<const void*>(this)))); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWidget_InputMethodQuery(const_cast<void*>(static_cast<const void*>(this)), query)); };
bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast<void*>(static_cast<const void*>(this))) != 0; };
int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast<void*>(static_cast<const void*>(this)), w); };
int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast<void*>(static_cast<const void*>(this)), m); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; };
void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); };
void deleteLater() { callbackQWidget_DeleteLater(this); };
void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtWidgets_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQWidget_ObjectNameChanged(this, objectNamePacked); };
void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWidget_MetaObject(const_cast<void*>(static_cast<const void*>(this)))); };
};
void* QWizardPage_NewQWizardPage(void* parent)
{
return new MyQWizardPage(static_cast<QWidget*>(parent));
}
char QWizardPage_ValidatePage(void* ptr)
{
return static_cast<QWizardPage*>(ptr)->validatePage();
}
char QWizardPage_ValidatePageDefault(void* ptr)
{
return static_cast<QWizardPage*>(ptr)->QWizardPage::validatePage();
}
void QWizardPage_CleanupPage(void* ptr)
{
static_cast<QWizardPage*>(ptr)->cleanupPage();
}
void QWizardPage_CleanupPageDefault(void* ptr)
{
static_cast<QWizardPage*>(ptr)->QWizardPage::cleanupPage();
}
void QWizardPage_ConnectCompleteChanged(void* ptr)
{
QObject::connect(static_cast<QWizardPage*>(ptr), static_cast<void (QWizardPage::*)()>(&QWizardPage::completeChanged), static_cast<MyQWizardPage*>(ptr), static_cast<void (MyQWizardPage::*)()>(&MyQWizardPage::Signal_CompleteChanged));
}
void QWizardPage_DisconnectCompleteChanged(void* ptr)
{
QObject::disconnect(static_cast<QWizardPage*>(ptr), static_cast<void (QWizardPage::*)()>(&QWizardPage::completeChanged), static_cast<MyQWizardPage*>(ptr), static_cast<void (MyQWizardPage::*)()>(&MyQWizardPage::Signal_CompleteChanged));
}
void QWizardPage_CompleteChanged(void* ptr)
{
static_cast<QWizardPage*>(ptr)->completeChanged();
}
void QWizardPage_InitializePage(void* ptr)
{
static_cast<QWizardPage*>(ptr)->initializePage();
}
void QWizardPage_InitializePageDefault(void* ptr)
{
static_cast<QWizardPage*>(ptr)->QWizardPage::initializePage();
}
void QWizardPage_RegisterField(void* ptr, char* name, void* widget, char* property, char* changedSignal)
{
static_cast<QWizardPage*>(ptr)->registerField(QString(name), static_cast<QWidget*>(widget), const_cast<const char*>(property), const_cast<const char*>(changedSignal));
}
void QWizardPage_SetButtonText(void* ptr, long long which, char* text)
{
static_cast<QWizardPage*>(ptr)->setButtonText(static_cast<QWizard::WizardButton>(which), QString(text));
}
void QWizardPage_SetCommitPage(void* ptr, char commitPage)
{
static_cast<QWizardPage*>(ptr)->setCommitPage(commitPage != 0);
}
void QWizardPage_SetField(void* ptr, char* name, void* value)
{
static_cast<QWizardPage*>(ptr)->setField(QString(name), *static_cast<QVariant*>(value));
}
void QWizardPage_SetFinalPage(void* ptr, char finalPage)
{
static_cast<QWizardPage*>(ptr)->setFinalPage(finalPage != 0);
}
void QWizardPage_SetPixmap(void* ptr, long long which, void* pixmap)
{
static_cast<QWizardPage*>(ptr)->setPixmap(static_cast<QWizard::WizardPixmap>(which), *static_cast<QPixmap*>(pixmap));
}
void QWizardPage_SetSubTitle(void* ptr, char* subTitle)
{
static_cast<QWizardPage*>(ptr)->setSubTitle(QString(subTitle));
}
void QWizardPage_SetTitle(void* ptr, char* title)
{
static_cast<QWizardPage*>(ptr)->setTitle(QString(title));
}
void QWizardPage_DestroyQWizardPage(void* ptr)
{
static_cast<QWizardPage*>(ptr)->~QWizardPage();
}
void* QWizardPage_Pixmap(void* ptr, long long which)
{
return new QPixmap(static_cast<QWizardPage*>(ptr)->pixmap(static_cast<QWizard::WizardPixmap>(which)));
}
struct QtWidgets_PackedString QWizardPage_ButtonText(void* ptr, long long which)
{
return ({ QByteArray t060d80 = static_cast<QWizardPage*>(ptr)->buttonText(static_cast<QWizard::WizardButton>(which)).toUtf8(); QtWidgets_PackedString { const_cast<char*>(t060d80.prepend("WHITESPACE").constData()+10), t060d80.size()-10 }; });
}
struct QtWidgets_PackedString QWizardPage_SubTitle(void* ptr)
{
return ({ QByteArray t00cff1 = static_cast<QWizardPage*>(ptr)->subTitle().toUtf8(); QtWidgets_PackedString { const_cast<char*>(t00cff1.prepend("WHITESPACE").constData()+10), t00cff1.size()-10 }; });
}
struct QtWidgets_PackedString QWizardPage_Title(void* ptr)
{
return ({ QByteArray tf87e47 = static_cast<QWizardPage*>(ptr)->title().toUtf8(); QtWidgets_PackedString { const_cast<char*>(tf87e47.prepend("WHITESPACE").constData()+10), tf87e47.size()-10 }; });
}
void* QWizardPage_Field(void* ptr, char* name)
{
return new QVariant(static_cast<QWizardPage*>(ptr)->field(QString(name)));
}
void* QWizardPage_Wizard(void* ptr)
{
return static_cast<QWizardPage*>(ptr)->wizard();
}
char QWizardPage_IsCommitPage(void* ptr)
{
return static_cast<QWizardPage*>(ptr)->isCommitPage();
}
char QWizardPage_IsComplete(void* ptr)
{
return static_cast<QWizardPage*>(ptr)->isComplete();
}
char QWizardPage_IsCompleteDefault(void* ptr)
{
return static_cast<QWizardPage*>(ptr)->QWizardPage::isComplete();
}
char QWizardPage_IsFinalPage(void* ptr)
{
return static_cast<QWizardPage*>(ptr)->isFinalPage();
}
int QWizardPage_NextId(void* ptr)
{
return static_cast<QWizardPage*>(ptr)->nextId();
}
int QWizardPage_NextIdDefault(void* ptr)
{
return static_cast<QWizardPage*>(ptr)->QWizardPage::nextId();
}