// +build !minimal #define protected public #define private public #include "designer.h" #include "_cgo_export.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class MyQAbstractExtensionFactory: public QAbstractExtensionFactory { public: QObject * extension(QObject * object, const QString & iid) const { return static_cast(callbackQAbstractExtensionFactory_Extension(const_cast(this), object, const_cast(iid.toUtf8().constData()))); }; ~MyQAbstractExtensionFactory() { callbackQAbstractExtensionFactory_DestroyQAbstractExtensionFactory(this); }; }; void* QAbstractExtensionFactory_Extension(void* ptr, void* object, char* iid) { return static_cast(ptr)->extension(static_cast(object), QString(iid)); } void QAbstractExtensionFactory_DestroyQAbstractExtensionFactory(void* ptr) { static_cast(ptr)->~QAbstractExtensionFactory(); } void QAbstractExtensionFactory_DestroyQAbstractExtensionFactoryDefault(void* ptr) { } class MyQAbstractExtensionManager: public QAbstractExtensionManager { public: QObject * extension(QObject * object, const QString & iid) const { return static_cast(callbackQAbstractExtensionManager_Extension(const_cast(this), object, const_cast(iid.toUtf8().constData()))); }; void registerExtensions(QAbstractExtensionFactory * factory, const QString & iid) { callbackQAbstractExtensionManager_RegisterExtensions(this, factory, const_cast(iid.toUtf8().constData())); }; void unregisterExtensions(QAbstractExtensionFactory * factory, const QString & iid) { callbackQAbstractExtensionManager_UnregisterExtensions(this, factory, const_cast(iid.toUtf8().constData())); }; ~MyQAbstractExtensionManager() { callbackQAbstractExtensionManager_DestroyQAbstractExtensionManager(this); }; }; void* QAbstractExtensionManager_Extension(void* ptr, void* object, char* iid) { return static_cast(ptr)->extension(static_cast(object), QString(iid)); } void QAbstractExtensionManager_RegisterExtensions(void* ptr, void* factory, char* iid) { static_cast(ptr)->registerExtensions(static_cast(factory), QString(iid)); } void QAbstractExtensionManager_UnregisterExtensions(void* ptr, void* factory, char* iid) { static_cast(ptr)->unregisterExtensions(static_cast(factory), QString(iid)); } void QAbstractExtensionManager_DestroyQAbstractExtensionManager(void* ptr) { static_cast(ptr)->~QAbstractExtensionManager(); } void QAbstractExtensionManager_DestroyQAbstractExtensionManagerDefault(void* ptr) { } class MyQAbstractFormBuilder: public QAbstractFormBuilder { public: MyQAbstractFormBuilder() : QAbstractFormBuilder() {}; QWidget * load(QIODevice * device, QWidget * parent) { return static_cast(callbackQAbstractFormBuilder_Load(this, device, parent)); }; void save(QIODevice * device, QWidget * widget) { callbackQAbstractFormBuilder_Save(this, device, widget); }; ~MyQAbstractFormBuilder() { callbackQAbstractFormBuilder_DestroyQAbstractFormBuilder(this); }; }; void* QAbstractFormBuilder_Load(void* ptr, void* device, void* parent) { return static_cast(ptr)->load(static_cast(device), static_cast(parent)); } void* QAbstractFormBuilder_LoadDefault(void* ptr, void* device, void* parent) { return static_cast(ptr)->QAbstractFormBuilder::load(static_cast(device), static_cast(parent)); } void QAbstractFormBuilder_Save(void* ptr, void* device, void* widget) { static_cast(ptr)->save(static_cast(device), static_cast(widget)); } void QAbstractFormBuilder_SaveDefault(void* ptr, void* device, void* widget) { static_cast(ptr)->QAbstractFormBuilder::save(static_cast(device), static_cast(widget)); } void* QAbstractFormBuilder_NewQAbstractFormBuilder() { return new MyQAbstractFormBuilder(); } char* QAbstractFormBuilder_ErrorString(void* ptr) { return const_cast(static_cast(ptr)->errorString().toUtf8().constData()); } void QAbstractFormBuilder_SetWorkingDirectory(void* ptr, void* directory) { static_cast(ptr)->setWorkingDirectory(*static_cast(directory)); } void* QAbstractFormBuilder_WorkingDirectory(void* ptr) { return new QDir(static_cast(ptr)->workingDirectory()); } void QAbstractFormBuilder_DestroyQAbstractFormBuilder(void* ptr) { static_cast(ptr)->~QAbstractFormBuilder(); } void QAbstractFormBuilder_DestroyQAbstractFormBuilderDefault(void* ptr) { } class MyQDesignerActionEditorInterface: public QDesignerActionEditorInterface { public: MyQDesignerActionEditorInterface(QWidget *parent, Qt::WindowFlags flags) : QDesignerActionEditorInterface(parent, flags) {}; QDesignerFormEditorInterface * core() const { return static_cast(callbackQDesignerActionEditorInterface_Core(const_cast(this))); }; void manageAction(QAction * action) { callbackQDesignerActionEditorInterface_ManageAction(this, action); }; void setFormWindow(QDesignerFormWindowInterface * formWindow) { callbackQDesignerActionEditorInterface_SetFormWindow(this, formWindow); }; void unmanageAction(QAction * action) { callbackQDesignerActionEditorInterface_UnmanageAction(this, action); }; ~MyQDesignerActionEditorInterface() { callbackQDesignerActionEditorInterface_DestroyQDesignerActionEditorInterface(this); }; void actionEvent(QActionEvent * event) { callbackQDesignerActionEditorInterface_ActionEvent(this, event); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQDesignerActionEditorInterface_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQDesignerActionEditorInterface_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQDesignerActionEditorInterface_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQDesignerActionEditorInterface_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQDesignerActionEditorInterface_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQDesignerActionEditorInterface_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQDesignerActionEditorInterface_FocusOutEvent(this, event); }; void hideEvent(QHideEvent * event) { callbackQDesignerActionEditorInterface_HideEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQDesignerActionEditorInterface_LeaveEvent(this, event); }; QSize minimumSizeHint() const { return *static_cast(callbackQDesignerActionEditorInterface_MinimumSizeHint(const_cast(this))); }; void moveEvent(QMoveEvent * event) { callbackQDesignerActionEditorInterface_MoveEvent(this, event); }; void paintEvent(QPaintEvent * event) { callbackQDesignerActionEditorInterface_PaintEvent(this, event); }; void setEnabled(bool vbo) { callbackQDesignerActionEditorInterface_SetEnabled(this, vbo); }; void setStyleSheet(const QString & styleSheet) { callbackQDesignerActionEditorInterface_SetStyleSheet(this, const_cast(styleSheet.toUtf8().constData())); }; void setVisible(bool visible) { callbackQDesignerActionEditorInterface_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQDesignerActionEditorInterface_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { callbackQDesignerActionEditorInterface_SetWindowTitle(this, const_cast(vqs.toUtf8().constData())); }; void showEvent(QShowEvent * event) { callbackQDesignerActionEditorInterface_ShowEvent(this, event); }; QSize sizeHint() const { return *static_cast(callbackQDesignerActionEditorInterface_SizeHint(const_cast(this))); }; void changeEvent(QEvent * event) { callbackQDesignerActionEditorInterface_ChangeEvent(this, event); }; bool close() { return callbackQDesignerActionEditorInterface_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQDesignerActionEditorInterface_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQDesignerActionEditorInterface_ContextMenuEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQDesignerActionEditorInterface_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQDesignerActionEditorInterface_HasHeightForWidth(const_cast(this)) != 0; }; int heightForWidth(int w) const { return callbackQDesignerActionEditorInterface_HeightForWidth(const_cast(this), w); }; void hide() { callbackQDesignerActionEditorInterface_Hide(this); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQDesignerActionEditorInterface_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQDesignerActionEditorInterface_InputMethodQuery(const_cast(this), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQDesignerActionEditorInterface_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQDesignerActionEditorInterface_KeyReleaseEvent(this, event); }; void lower() { callbackQDesignerActionEditorInterface_Lower(this); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQDesignerActionEditorInterface_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQDesignerActionEditorInterface_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQDesignerActionEditorInterface_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQDesignerActionEditorInterface_MouseReleaseEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQDesignerActionEditorInterface_NativeEvent(this, const_cast(eventType.toHex().constData()), message, *result) != 0; }; void raise() { callbackQDesignerActionEditorInterface_Raise(this); }; void repaint() { callbackQDesignerActionEditorInterface_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQDesignerActionEditorInterface_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQDesignerActionEditorInterface_SetDisabled(this, disable); }; void setFocus() { callbackQDesignerActionEditorInterface_SetFocus2(this); }; void setHidden(bool hidden) { callbackQDesignerActionEditorInterface_SetHidden(this, hidden); }; void show() { callbackQDesignerActionEditorInterface_Show(this); }; void showFullScreen() { callbackQDesignerActionEditorInterface_ShowFullScreen(this); }; void showMaximized() { callbackQDesignerActionEditorInterface_ShowMaximized(this); }; void showMinimized() { callbackQDesignerActionEditorInterface_ShowMinimized(this); }; void showNormal() { callbackQDesignerActionEditorInterface_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQDesignerActionEditorInterface_TabletEvent(this, event); }; void update() { callbackQDesignerActionEditorInterface_Update(this); }; void updateMicroFocus() { callbackQDesignerActionEditorInterface_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQDesignerActionEditorInterface_WheelEvent(this, event); }; void timerEvent(QTimerEvent * event) { callbackQDesignerActionEditorInterface_TimerEvent(this, event); }; void childEvent(QChildEvent * event) { callbackQDesignerActionEditorInterface_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQDesignerActionEditorInterface_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQDesignerActionEditorInterface_CustomEvent(this, event); }; void deleteLater() { callbackQDesignerActionEditorInterface_DeleteLater(this); }; void disconnectNotify(const QMetaMethod & sign) { callbackQDesignerActionEditorInterface_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQDesignerActionEditorInterface_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQDesignerActionEditorInterface_MetaObject(const_cast(this))); }; }; void* QDesignerActionEditorInterface_NewQDesignerActionEditorInterface(void* parent, long long flags) { return new MyQDesignerActionEditorInterface(static_cast(parent), static_cast(flags)); } void* QDesignerActionEditorInterface_Core(void* ptr) { return static_cast(ptr)->core(); } void* QDesignerActionEditorInterface_CoreDefault(void* ptr) { return static_cast(ptr)->QDesignerActionEditorInterface::core(); } void QDesignerActionEditorInterface_ManageAction(void* ptr, void* action) { static_cast(ptr)->manageAction(static_cast(action)); } void QDesignerActionEditorInterface_SetFormWindow(void* ptr, void* formWindow) { QMetaObject::invokeMethod(static_cast(ptr), "setFormWindow", Q_ARG(QDesignerFormWindowInterface*, static_cast(formWindow))); } void QDesignerActionEditorInterface_UnmanageAction(void* ptr, void* action) { static_cast(ptr)->unmanageAction(static_cast(action)); } void QDesignerActionEditorInterface_DestroyQDesignerActionEditorInterface(void* ptr) { static_cast(ptr)->~QDesignerActionEditorInterface(); } void QDesignerActionEditorInterface_DestroyQDesignerActionEditorInterfaceDefault(void* ptr) { } void QDesignerActionEditorInterface_ActionEvent(void* ptr, void* event) { static_cast(ptr)->actionEvent(static_cast(event)); } void QDesignerActionEditorInterface_ActionEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::actionEvent(static_cast(event)); } void QDesignerActionEditorInterface_DragEnterEvent(void* ptr, void* event) { static_cast(ptr)->dragEnterEvent(static_cast(event)); } void QDesignerActionEditorInterface_DragEnterEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::dragEnterEvent(static_cast(event)); } void QDesignerActionEditorInterface_DragLeaveEvent(void* ptr, void* event) { static_cast(ptr)->dragLeaveEvent(static_cast(event)); } void QDesignerActionEditorInterface_DragLeaveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::dragLeaveEvent(static_cast(event)); } void QDesignerActionEditorInterface_DragMoveEvent(void* ptr, void* event) { static_cast(ptr)->dragMoveEvent(static_cast(event)); } void QDesignerActionEditorInterface_DragMoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::dragMoveEvent(static_cast(event)); } void QDesignerActionEditorInterface_DropEvent(void* ptr, void* event) { static_cast(ptr)->dropEvent(static_cast(event)); } void QDesignerActionEditorInterface_DropEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::dropEvent(static_cast(event)); } void QDesignerActionEditorInterface_EnterEvent(void* ptr, void* event) { static_cast(ptr)->enterEvent(static_cast(event)); } void QDesignerActionEditorInterface_EnterEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::enterEvent(static_cast(event)); } void QDesignerActionEditorInterface_FocusInEvent(void* ptr, void* event) { static_cast(ptr)->focusInEvent(static_cast(event)); } void QDesignerActionEditorInterface_FocusInEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::focusInEvent(static_cast(event)); } void QDesignerActionEditorInterface_FocusOutEvent(void* ptr, void* event) { static_cast(ptr)->focusOutEvent(static_cast(event)); } void QDesignerActionEditorInterface_FocusOutEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::focusOutEvent(static_cast(event)); } void QDesignerActionEditorInterface_HideEvent(void* ptr, void* event) { static_cast(ptr)->hideEvent(static_cast(event)); } void QDesignerActionEditorInterface_HideEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::hideEvent(static_cast(event)); } void QDesignerActionEditorInterface_LeaveEvent(void* ptr, void* event) { static_cast(ptr)->leaveEvent(static_cast(event)); } void QDesignerActionEditorInterface_LeaveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::leaveEvent(static_cast(event)); } void* QDesignerActionEditorInterface_MinimumSizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QDesignerActionEditorInterface_MinimumSizeHintDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QDesignerActionEditorInterface::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QDesignerActionEditorInterface_MoveEvent(void* ptr, void* event) { static_cast(ptr)->moveEvent(static_cast(event)); } void QDesignerActionEditorInterface_MoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::moveEvent(static_cast(event)); } void QDesignerActionEditorInterface_PaintEvent(void* ptr, void* event) { static_cast(ptr)->paintEvent(static_cast(event)); } void QDesignerActionEditorInterface_PaintEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::paintEvent(static_cast(event)); } void QDesignerActionEditorInterface_SetEnabled(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setEnabled", Q_ARG(bool, vbo != 0)); } void QDesignerActionEditorInterface_SetEnabledDefault(void* ptr, char vbo) { static_cast(ptr)->QDesignerActionEditorInterface::setEnabled(vbo != 0); } void QDesignerActionEditorInterface_SetStyleSheet(void* ptr, char* styleSheet) { QMetaObject::invokeMethod(static_cast(ptr), "setStyleSheet", Q_ARG(QString, QString(styleSheet))); } void QDesignerActionEditorInterface_SetStyleSheetDefault(void* ptr, char* styleSheet) { static_cast(ptr)->QDesignerActionEditorInterface::setStyleSheet(QString(styleSheet)); } void QDesignerActionEditorInterface_SetVisible(void* ptr, char visible) { QMetaObject::invokeMethod(static_cast(ptr), "setVisible", Q_ARG(bool, visible != 0)); } void QDesignerActionEditorInterface_SetVisibleDefault(void* ptr, char visible) { static_cast(ptr)->QDesignerActionEditorInterface::setVisible(visible != 0); } void QDesignerActionEditorInterface_SetWindowModified(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setWindowModified", Q_ARG(bool, vbo != 0)); } void QDesignerActionEditorInterface_SetWindowModifiedDefault(void* ptr, char vbo) { static_cast(ptr)->QDesignerActionEditorInterface::setWindowModified(vbo != 0); } void QDesignerActionEditorInterface_SetWindowTitle(void* ptr, char* vqs) { QMetaObject::invokeMethod(static_cast(ptr), "setWindowTitle", Q_ARG(QString, QString(vqs))); } void QDesignerActionEditorInterface_SetWindowTitleDefault(void* ptr, char* vqs) { static_cast(ptr)->QDesignerActionEditorInterface::setWindowTitle(QString(vqs)); } void QDesignerActionEditorInterface_ShowEvent(void* ptr, void* event) { static_cast(ptr)->showEvent(static_cast(event)); } void QDesignerActionEditorInterface_ShowEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::showEvent(static_cast(event)); } void* QDesignerActionEditorInterface_SizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QDesignerActionEditorInterface_SizeHintDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QDesignerActionEditorInterface::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QDesignerActionEditorInterface_ChangeEvent(void* ptr, void* event) { static_cast(ptr)->changeEvent(static_cast(event)); } void QDesignerActionEditorInterface_ChangeEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::changeEvent(static_cast(event)); } char QDesignerActionEditorInterface_Close(void* ptr) { bool returnArg; QMetaObject::invokeMethod(static_cast(ptr), "close", Q_RETURN_ARG(bool, returnArg)); return returnArg; } char QDesignerActionEditorInterface_CloseDefault(void* ptr) { return static_cast(ptr)->QDesignerActionEditorInterface::close(); } void QDesignerActionEditorInterface_CloseEvent(void* ptr, void* event) { static_cast(ptr)->closeEvent(static_cast(event)); } void QDesignerActionEditorInterface_CloseEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::closeEvent(static_cast(event)); } void QDesignerActionEditorInterface_ContextMenuEvent(void* ptr, void* event) { static_cast(ptr)->contextMenuEvent(static_cast(event)); } void QDesignerActionEditorInterface_ContextMenuEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::contextMenuEvent(static_cast(event)); } char QDesignerActionEditorInterface_FocusNextPrevChild(void* ptr, char next) { return static_cast(ptr)->focusNextPrevChild(next != 0); } char QDesignerActionEditorInterface_FocusNextPrevChildDefault(void* ptr, char next) { return static_cast(ptr)->QDesignerActionEditorInterface::focusNextPrevChild(next != 0); } char QDesignerActionEditorInterface_HasHeightForWidth(void* ptr) { return static_cast(ptr)->hasHeightForWidth(); } char QDesignerActionEditorInterface_HasHeightForWidthDefault(void* ptr) { return static_cast(ptr)->QDesignerActionEditorInterface::hasHeightForWidth(); } int QDesignerActionEditorInterface_HeightForWidth(void* ptr, int w) { return static_cast(ptr)->heightForWidth(w); } int QDesignerActionEditorInterface_HeightForWidthDefault(void* ptr, int w) { return static_cast(ptr)->QDesignerActionEditorInterface::heightForWidth(w); } void QDesignerActionEditorInterface_Hide(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "hide"); } void QDesignerActionEditorInterface_HideDefault(void* ptr) { static_cast(ptr)->QDesignerActionEditorInterface::hide(); } void QDesignerActionEditorInterface_InputMethodEvent(void* ptr, void* event) { static_cast(ptr)->inputMethodEvent(static_cast(event)); } void QDesignerActionEditorInterface_InputMethodEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::inputMethodEvent(static_cast(event)); } void* QDesignerActionEditorInterface_InputMethodQuery(void* ptr, long long query) { return new QVariant(static_cast(ptr)->inputMethodQuery(static_cast(query))); } void* QDesignerActionEditorInterface_InputMethodQueryDefault(void* ptr, long long query) { return new QVariant(static_cast(ptr)->QDesignerActionEditorInterface::inputMethodQuery(static_cast(query))); } void QDesignerActionEditorInterface_KeyPressEvent(void* ptr, void* event) { static_cast(ptr)->keyPressEvent(static_cast(event)); } void QDesignerActionEditorInterface_KeyPressEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::keyPressEvent(static_cast(event)); } void QDesignerActionEditorInterface_KeyReleaseEvent(void* ptr, void* event) { static_cast(ptr)->keyReleaseEvent(static_cast(event)); } void QDesignerActionEditorInterface_KeyReleaseEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::keyReleaseEvent(static_cast(event)); } void QDesignerActionEditorInterface_Lower(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "lower"); } void QDesignerActionEditorInterface_LowerDefault(void* ptr) { static_cast(ptr)->QDesignerActionEditorInterface::lower(); } void QDesignerActionEditorInterface_MouseDoubleClickEvent(void* ptr, void* event) { static_cast(ptr)->mouseDoubleClickEvent(static_cast(event)); } void QDesignerActionEditorInterface_MouseDoubleClickEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::mouseDoubleClickEvent(static_cast(event)); } void QDesignerActionEditorInterface_MouseMoveEvent(void* ptr, void* event) { static_cast(ptr)->mouseMoveEvent(static_cast(event)); } void QDesignerActionEditorInterface_MouseMoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::mouseMoveEvent(static_cast(event)); } void QDesignerActionEditorInterface_MousePressEvent(void* ptr, void* event) { static_cast(ptr)->mousePressEvent(static_cast(event)); } void QDesignerActionEditorInterface_MousePressEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::mousePressEvent(static_cast(event)); } void QDesignerActionEditorInterface_MouseReleaseEvent(void* ptr, void* event) { static_cast(ptr)->mouseReleaseEvent(static_cast(event)); } void QDesignerActionEditorInterface_MouseReleaseEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::mouseReleaseEvent(static_cast(event)); } char QDesignerActionEditorInterface_NativeEvent(void* ptr, char* eventType, void* message, long result) { return static_cast(ptr)->nativeEvent(QByteArray::fromHex(QString(eventType).toUtf8()), message, &result); } char QDesignerActionEditorInterface_NativeEventDefault(void* ptr, char* eventType, void* message, long result) { return static_cast(ptr)->QDesignerActionEditorInterface::nativeEvent(QByteArray::fromHex(QString(eventType).toUtf8()), message, &result); } void QDesignerActionEditorInterface_Raise(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "raise"); } void QDesignerActionEditorInterface_RaiseDefault(void* ptr) { static_cast(ptr)->QDesignerActionEditorInterface::raise(); } void QDesignerActionEditorInterface_Repaint(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "repaint"); } void QDesignerActionEditorInterface_RepaintDefault(void* ptr) { static_cast(ptr)->QDesignerActionEditorInterface::repaint(); } void QDesignerActionEditorInterface_ResizeEvent(void* ptr, void* event) { static_cast(ptr)->resizeEvent(static_cast(event)); } void QDesignerActionEditorInterface_ResizeEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::resizeEvent(static_cast(event)); } void QDesignerActionEditorInterface_SetDisabled(void* ptr, char disable) { QMetaObject::invokeMethod(static_cast(ptr), "setDisabled", Q_ARG(bool, disable != 0)); } void QDesignerActionEditorInterface_SetDisabledDefault(void* ptr, char disable) { static_cast(ptr)->QDesignerActionEditorInterface::setDisabled(disable != 0); } void QDesignerActionEditorInterface_SetFocus2(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "setFocus"); } void QDesignerActionEditorInterface_SetFocus2Default(void* ptr) { static_cast(ptr)->QDesignerActionEditorInterface::setFocus(); } void QDesignerActionEditorInterface_SetHidden(void* ptr, char hidden) { QMetaObject::invokeMethod(static_cast(ptr), "setHidden", Q_ARG(bool, hidden != 0)); } void QDesignerActionEditorInterface_SetHiddenDefault(void* ptr, char hidden) { static_cast(ptr)->QDesignerActionEditorInterface::setHidden(hidden != 0); } void QDesignerActionEditorInterface_Show(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "show"); } void QDesignerActionEditorInterface_ShowDefault(void* ptr) { static_cast(ptr)->QDesignerActionEditorInterface::show(); } void QDesignerActionEditorInterface_ShowFullScreen(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showFullScreen"); } void QDesignerActionEditorInterface_ShowFullScreenDefault(void* ptr) { static_cast(ptr)->QDesignerActionEditorInterface::showFullScreen(); } void QDesignerActionEditorInterface_ShowMaximized(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showMaximized"); } void QDesignerActionEditorInterface_ShowMaximizedDefault(void* ptr) { static_cast(ptr)->QDesignerActionEditorInterface::showMaximized(); } void QDesignerActionEditorInterface_ShowMinimized(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showMinimized"); } void QDesignerActionEditorInterface_ShowMinimizedDefault(void* ptr) { static_cast(ptr)->QDesignerActionEditorInterface::showMinimized(); } void QDesignerActionEditorInterface_ShowNormal(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showNormal"); } void QDesignerActionEditorInterface_ShowNormalDefault(void* ptr) { static_cast(ptr)->QDesignerActionEditorInterface::showNormal(); } void QDesignerActionEditorInterface_TabletEvent(void* ptr, void* event) { static_cast(ptr)->tabletEvent(static_cast(event)); } void QDesignerActionEditorInterface_TabletEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::tabletEvent(static_cast(event)); } void QDesignerActionEditorInterface_Update(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "update"); } void QDesignerActionEditorInterface_UpdateDefault(void* ptr) { static_cast(ptr)->QDesignerActionEditorInterface::update(); } void QDesignerActionEditorInterface_UpdateMicroFocus(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "updateMicroFocus"); } void QDesignerActionEditorInterface_UpdateMicroFocusDefault(void* ptr) { static_cast(ptr)->QDesignerActionEditorInterface::updateMicroFocus(); } void QDesignerActionEditorInterface_WheelEvent(void* ptr, void* event) { static_cast(ptr)->wheelEvent(static_cast(event)); } void QDesignerActionEditorInterface_WheelEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::wheelEvent(static_cast(event)); } void QDesignerActionEditorInterface_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QDesignerActionEditorInterface_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::timerEvent(static_cast(event)); } void QDesignerActionEditorInterface_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QDesignerActionEditorInterface_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::childEvent(static_cast(event)); } void QDesignerActionEditorInterface_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QDesignerActionEditorInterface_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDesignerActionEditorInterface::connectNotify(*static_cast(sign)); } void QDesignerActionEditorInterface_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QDesignerActionEditorInterface_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerActionEditorInterface::customEvent(static_cast(event)); } void QDesignerActionEditorInterface_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QDesignerActionEditorInterface_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QDesignerActionEditorInterface::deleteLater(); } void QDesignerActionEditorInterface_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QDesignerActionEditorInterface_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDesignerActionEditorInterface::disconnectNotify(*static_cast(sign)); } char QDesignerActionEditorInterface_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } char QDesignerActionEditorInterface_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QDesignerActionEditorInterface::eventFilter(static_cast(watched), static_cast(event)); } void* QDesignerActionEditorInterface_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QDesignerActionEditorInterface_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QDesignerActionEditorInterface::metaObject()); } class MyQDesignerContainerExtension: public QDesignerContainerExtension { public: void addWidget(QWidget * page) { callbackQDesignerContainerExtension_AddWidget(this, page); }; bool canAddWidget() const { return callbackQDesignerContainerExtension_CanAddWidget(const_cast(this)) != 0; }; bool canRemove(int index) const { return callbackQDesignerContainerExtension_CanRemove(const_cast(this), index) != 0; }; int count() const { return callbackQDesignerContainerExtension_Count(const_cast(this)); }; int currentIndex() const { return callbackQDesignerContainerExtension_CurrentIndex(const_cast(this)); }; void insertWidget(int index, QWidget * page) { callbackQDesignerContainerExtension_InsertWidget(this, index, page); }; void remove(int index) { callbackQDesignerContainerExtension_Remove(this, index); }; void setCurrentIndex(int index) { callbackQDesignerContainerExtension_SetCurrentIndex(this, index); }; QWidget * widget(int index) const { return static_cast(callbackQDesignerContainerExtension_Widget(const_cast(this), index)); }; ~MyQDesignerContainerExtension() { callbackQDesignerContainerExtension_DestroyQDesignerContainerExtension(this); }; }; void QDesignerContainerExtension_AddWidget(void* ptr, void* page) { static_cast(ptr)->addWidget(static_cast(page)); } char QDesignerContainerExtension_CanAddWidget(void* ptr) { return static_cast(ptr)->canAddWidget(); } char QDesignerContainerExtension_CanAddWidgetDefault(void* ptr) { return static_cast(ptr)->QDesignerContainerExtension::canAddWidget(); } char QDesignerContainerExtension_CanRemove(void* ptr, int index) { return static_cast(ptr)->canRemove(index); } char QDesignerContainerExtension_CanRemoveDefault(void* ptr, int index) { return static_cast(ptr)->QDesignerContainerExtension::canRemove(index); } int QDesignerContainerExtension_Count(void* ptr) { return static_cast(ptr)->count(); } int QDesignerContainerExtension_CurrentIndex(void* ptr) { return static_cast(ptr)->currentIndex(); } void QDesignerContainerExtension_InsertWidget(void* ptr, int index, void* page) { static_cast(ptr)->insertWidget(index, static_cast(page)); } void QDesignerContainerExtension_Remove(void* ptr, int index) { static_cast(ptr)->remove(index); } void QDesignerContainerExtension_SetCurrentIndex(void* ptr, int index) { static_cast(ptr)->setCurrentIndex(index); } void* QDesignerContainerExtension_Widget(void* ptr, int index) { return static_cast(ptr)->widget(index); } void QDesignerContainerExtension_DestroyQDesignerContainerExtension(void* ptr) { static_cast(ptr)->~QDesignerContainerExtension(); } void QDesignerContainerExtension_DestroyQDesignerContainerExtensionDefault(void* ptr) { } class MyQDesignerCustomWidgetCollectionInterface: public QDesignerCustomWidgetCollectionInterface { public: ~MyQDesignerCustomWidgetCollectionInterface() { callbackQDesignerCustomWidgetCollectionInterface_DestroyQDesignerCustomWidgetCollectionInterface(this); }; }; void QDesignerCustomWidgetCollectionInterface_DestroyQDesignerCustomWidgetCollectionInterface(void* ptr) { static_cast(ptr)->~QDesignerCustomWidgetCollectionInterface(); } void QDesignerCustomWidgetCollectionInterface_DestroyQDesignerCustomWidgetCollectionInterfaceDefault(void* ptr) { } class MyQDesignerCustomWidgetInterface: public QDesignerCustomWidgetInterface { public: QString codeTemplate() const { return QString(callbackQDesignerCustomWidgetInterface_CodeTemplate(const_cast(this))); }; QWidget * createWidget(QWidget * parent) { return static_cast(callbackQDesignerCustomWidgetInterface_CreateWidget(this, parent)); }; QString domXml() const { return QString(callbackQDesignerCustomWidgetInterface_DomXml(const_cast(this))); }; QString group() const { return QString(callbackQDesignerCustomWidgetInterface_Group(const_cast(this))); }; QIcon icon() const { return *static_cast(callbackQDesignerCustomWidgetInterface_Icon(const_cast(this))); }; QString includeFile() const { return QString(callbackQDesignerCustomWidgetInterface_IncludeFile(const_cast(this))); }; void initialize(QDesignerFormEditorInterface * formEditor) { callbackQDesignerCustomWidgetInterface_Initialize(this, formEditor); }; bool isContainer() const { return callbackQDesignerCustomWidgetInterface_IsContainer(const_cast(this)) != 0; }; bool isInitialized() const { return callbackQDesignerCustomWidgetInterface_IsInitialized(const_cast(this)) != 0; }; QString name() const { return QString(callbackQDesignerCustomWidgetInterface_Name(const_cast(this))); }; QString toolTip() const { return QString(callbackQDesignerCustomWidgetInterface_ToolTip(const_cast(this))); }; QString whatsThis() const { return QString(callbackQDesignerCustomWidgetInterface_WhatsThis(const_cast(this))); }; ~MyQDesignerCustomWidgetInterface() { callbackQDesignerCustomWidgetInterface_DestroyQDesignerCustomWidgetInterface(this); }; }; char* QDesignerCustomWidgetInterface_CodeTemplate(void* ptr) { return const_cast(static_cast(ptr)->codeTemplate().toUtf8().constData()); } char* QDesignerCustomWidgetInterface_CodeTemplateDefault(void* ptr) { return const_cast(static_cast(ptr)->QDesignerCustomWidgetInterface::codeTemplate().toUtf8().constData()); } void* QDesignerCustomWidgetInterface_CreateWidget(void* ptr, void* parent) { return static_cast(ptr)->createWidget(static_cast(parent)); } char* QDesignerCustomWidgetInterface_DomXml(void* ptr) { return const_cast(static_cast(ptr)->domXml().toUtf8().constData()); } char* QDesignerCustomWidgetInterface_DomXmlDefault(void* ptr) { return const_cast(static_cast(ptr)->QDesignerCustomWidgetInterface::domXml().toUtf8().constData()); } char* QDesignerCustomWidgetInterface_Group(void* ptr) { return const_cast(static_cast(ptr)->group().toUtf8().constData()); } void* QDesignerCustomWidgetInterface_Icon(void* ptr) { return new QIcon(static_cast(ptr)->icon()); } char* QDesignerCustomWidgetInterface_IncludeFile(void* ptr) { return const_cast(static_cast(ptr)->includeFile().toUtf8().constData()); } void QDesignerCustomWidgetInterface_Initialize(void* ptr, void* formEditor) { static_cast(ptr)->initialize(static_cast(formEditor)); } void QDesignerCustomWidgetInterface_InitializeDefault(void* ptr, void* formEditor) { static_cast(ptr)->QDesignerCustomWidgetInterface::initialize(static_cast(formEditor)); } char QDesignerCustomWidgetInterface_IsContainer(void* ptr) { return static_cast(ptr)->isContainer(); } char QDesignerCustomWidgetInterface_IsInitialized(void* ptr) { return static_cast(ptr)->isInitialized(); } char QDesignerCustomWidgetInterface_IsInitializedDefault(void* ptr) { return static_cast(ptr)->QDesignerCustomWidgetInterface::isInitialized(); } char* QDesignerCustomWidgetInterface_Name(void* ptr) { return const_cast(static_cast(ptr)->name().toUtf8().constData()); } char* QDesignerCustomWidgetInterface_ToolTip(void* ptr) { return const_cast(static_cast(ptr)->toolTip().toUtf8().constData()); } char* QDesignerCustomWidgetInterface_WhatsThis(void* ptr) { return const_cast(static_cast(ptr)->whatsThis().toUtf8().constData()); } void QDesignerCustomWidgetInterface_DestroyQDesignerCustomWidgetInterface(void* ptr) { static_cast(ptr)->~QDesignerCustomWidgetInterface(); } void QDesignerCustomWidgetInterface_DestroyQDesignerCustomWidgetInterfaceDefault(void* ptr) { } class MyQDesignerDynamicPropertySheetExtension: public QDesignerDynamicPropertySheetExtension { public: int addDynamicProperty(const QString & propertyName, const QVariant & value) { return callbackQDesignerDynamicPropertySheetExtension_AddDynamicProperty(this, const_cast(propertyName.toUtf8().constData()), const_cast(&value)); }; bool canAddDynamicProperty(const QString & propertyName) const { return callbackQDesignerDynamicPropertySheetExtension_CanAddDynamicProperty(const_cast(this), const_cast(propertyName.toUtf8().constData())) != 0; }; bool dynamicPropertiesAllowed() const { return callbackQDesignerDynamicPropertySheetExtension_DynamicPropertiesAllowed(const_cast(this)) != 0; }; bool isDynamicProperty(int index) const { return callbackQDesignerDynamicPropertySheetExtension_IsDynamicProperty(const_cast(this), index) != 0; }; bool removeDynamicProperty(int index) { return callbackQDesignerDynamicPropertySheetExtension_RemoveDynamicProperty(this, index) != 0; }; ~MyQDesignerDynamicPropertySheetExtension() { callbackQDesignerDynamicPropertySheetExtension_DestroyQDesignerDynamicPropertySheetExtension(this); }; }; int QDesignerDynamicPropertySheetExtension_AddDynamicProperty(void* ptr, char* propertyName, void* value) { return static_cast(ptr)->addDynamicProperty(QString(propertyName), *static_cast(value)); } char QDesignerDynamicPropertySheetExtension_CanAddDynamicProperty(void* ptr, char* propertyName) { return static_cast(ptr)->canAddDynamicProperty(QString(propertyName)); } char QDesignerDynamicPropertySheetExtension_DynamicPropertiesAllowed(void* ptr) { return static_cast(ptr)->dynamicPropertiesAllowed(); } char QDesignerDynamicPropertySheetExtension_IsDynamicProperty(void* ptr, int index) { return static_cast(ptr)->isDynamicProperty(index); } char QDesignerDynamicPropertySheetExtension_RemoveDynamicProperty(void* ptr, int index) { return static_cast(ptr)->removeDynamicProperty(index); } void QDesignerDynamicPropertySheetExtension_DestroyQDesignerDynamicPropertySheetExtension(void* ptr) { static_cast(ptr)->~QDesignerDynamicPropertySheetExtension(); } void QDesignerDynamicPropertySheetExtension_DestroyQDesignerDynamicPropertySheetExtensionDefault(void* ptr) { } class MyQDesignerFormEditorInterface: public QDesignerFormEditorInterface { public: MyQDesignerFormEditorInterface(QObject *parent) : QDesignerFormEditorInterface(parent) {}; ~MyQDesignerFormEditorInterface() { callbackQDesignerFormEditorInterface_DestroyQDesignerFormEditorInterface(this); }; void timerEvent(QTimerEvent * event) { callbackQDesignerFormEditorInterface_TimerEvent(this, event); }; void childEvent(QChildEvent * event) { callbackQDesignerFormEditorInterface_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQDesignerFormEditorInterface_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQDesignerFormEditorInterface_CustomEvent(this, event); }; void deleteLater() { callbackQDesignerFormEditorInterface_DeleteLater(this); }; void disconnectNotify(const QMetaMethod & sign) { callbackQDesignerFormEditorInterface_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQDesignerFormEditorInterface_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQDesignerFormEditorInterface_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQDesignerFormEditorInterface_MetaObject(const_cast(this))); }; }; void* QDesignerFormEditorInterface_NewQDesignerFormEditorInterface(void* parent) { return new MyQDesignerFormEditorInterface(static_cast(parent)); } void* QDesignerFormEditorInterface_ActionEditor(void* ptr) { return static_cast(ptr)->actionEditor(); } void* QDesignerFormEditorInterface_ExtensionManager(void* ptr) { return static_cast(ptr)->extensionManager(); } void* QDesignerFormEditorInterface_FormWindowManager(void* ptr) { return static_cast(ptr)->formWindowManager(); } void* QDesignerFormEditorInterface_ObjectInspector(void* ptr) { return static_cast(ptr)->objectInspector(); } void* QDesignerFormEditorInterface_PropertyEditor(void* ptr) { return static_cast(ptr)->propertyEditor(); } void QDesignerFormEditorInterface_SetActionEditor(void* ptr, void* actionEditor) { static_cast(ptr)->setActionEditor(static_cast(actionEditor)); } void QDesignerFormEditorInterface_SetObjectInspector(void* ptr, void* objectInspector) { static_cast(ptr)->setObjectInspector(static_cast(objectInspector)); } void QDesignerFormEditorInterface_SetPropertyEditor(void* ptr, void* propertyEditor) { static_cast(ptr)->setPropertyEditor(static_cast(propertyEditor)); } void QDesignerFormEditorInterface_SetWidgetBox(void* ptr, void* widgetBox) { static_cast(ptr)->setWidgetBox(static_cast(widgetBox)); } void* QDesignerFormEditorInterface_TopLevel(void* ptr) { return static_cast(ptr)->topLevel(); } void* QDesignerFormEditorInterface_WidgetBox(void* ptr) { return static_cast(ptr)->widgetBox(); } void QDesignerFormEditorInterface_DestroyQDesignerFormEditorInterface(void* ptr) { static_cast(ptr)->~QDesignerFormEditorInterface(); } void QDesignerFormEditorInterface_DestroyQDesignerFormEditorInterfaceDefault(void* ptr) { } void QDesignerFormEditorInterface_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QDesignerFormEditorInterface_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormEditorInterface::timerEvent(static_cast(event)); } void QDesignerFormEditorInterface_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QDesignerFormEditorInterface_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormEditorInterface::childEvent(static_cast(event)); } void QDesignerFormEditorInterface_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QDesignerFormEditorInterface_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDesignerFormEditorInterface::connectNotify(*static_cast(sign)); } void QDesignerFormEditorInterface_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QDesignerFormEditorInterface_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormEditorInterface::customEvent(static_cast(event)); } void QDesignerFormEditorInterface_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QDesignerFormEditorInterface_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QDesignerFormEditorInterface::deleteLater(); } void QDesignerFormEditorInterface_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QDesignerFormEditorInterface_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDesignerFormEditorInterface::disconnectNotify(*static_cast(sign)); } char QDesignerFormEditorInterface_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } char QDesignerFormEditorInterface_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QDesignerFormEditorInterface::event(static_cast(e)); } char QDesignerFormEditorInterface_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } char QDesignerFormEditorInterface_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QDesignerFormEditorInterface::eventFilter(static_cast(watched), static_cast(event)); } void* QDesignerFormEditorInterface_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QDesignerFormEditorInterface_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QDesignerFormEditorInterface::metaObject()); } class MyQDesignerFormWindowCursorInterface: public QDesignerFormWindowCursorInterface { public: QWidget * current() const { return static_cast(callbackQDesignerFormWindowCursorInterface_Current(const_cast(this))); }; QDesignerFormWindowInterface * formWindow() const { return static_cast(callbackQDesignerFormWindowCursorInterface_FormWindow(const_cast(this))); }; bool hasSelection() const { return callbackQDesignerFormWindowCursorInterface_HasSelection(const_cast(this)) != 0; }; bool movePosition(QDesignerFormWindowCursorInterface::MoveOperation operation, QDesignerFormWindowCursorInterface::MoveMode mode) { return callbackQDesignerFormWindowCursorInterface_MovePosition(this, operation, mode) != 0; }; int position() const { return callbackQDesignerFormWindowCursorInterface_Position(const_cast(this)); }; void resetWidgetProperty(QWidget * widget, const QString & name) { callbackQDesignerFormWindowCursorInterface_ResetWidgetProperty(this, widget, const_cast(name.toUtf8().constData())); }; QWidget * selectedWidget(int index) const { return static_cast(callbackQDesignerFormWindowCursorInterface_SelectedWidget(const_cast(this), index)); }; int selectedWidgetCount() const { return callbackQDesignerFormWindowCursorInterface_SelectedWidgetCount(const_cast(this)); }; void setPosition(int position, QDesignerFormWindowCursorInterface::MoveMode mode) { callbackQDesignerFormWindowCursorInterface_SetPosition(this, position, mode); }; void setProperty(const QString & name, const QVariant & value) { callbackQDesignerFormWindowCursorInterface_SetProperty(this, const_cast(name.toUtf8().constData()), const_cast(&value)); }; void setWidgetProperty(QWidget * widget, const QString & name, const QVariant & value) { callbackQDesignerFormWindowCursorInterface_SetWidgetProperty(this, widget, const_cast(name.toUtf8().constData()), const_cast(&value)); }; QWidget * widget(int index) const { return static_cast(callbackQDesignerFormWindowCursorInterface_Widget(const_cast(this), index)); }; int widgetCount() const { return callbackQDesignerFormWindowCursorInterface_WidgetCount(const_cast(this)); }; ~MyQDesignerFormWindowCursorInterface() { callbackQDesignerFormWindowCursorInterface_DestroyQDesignerFormWindowCursorInterface(this); }; }; void* QDesignerFormWindowCursorInterface_Current(void* ptr) { return static_cast(ptr)->current(); } void* QDesignerFormWindowCursorInterface_FormWindow(void* ptr) { return static_cast(ptr)->formWindow(); } char QDesignerFormWindowCursorInterface_HasSelection(void* ptr) { return static_cast(ptr)->hasSelection(); } char QDesignerFormWindowCursorInterface_IsWidgetSelected(void* ptr, void* widget) { return static_cast(ptr)->isWidgetSelected(static_cast(widget)); } char QDesignerFormWindowCursorInterface_MovePosition(void* ptr, long long operation, long long mode) { return static_cast(ptr)->movePosition(static_cast(operation), static_cast(mode)); } int QDesignerFormWindowCursorInterface_Position(void* ptr) { return static_cast(ptr)->position(); } void QDesignerFormWindowCursorInterface_ResetWidgetProperty(void* ptr, void* widget, char* name) { static_cast(ptr)->resetWidgetProperty(static_cast(widget), QString(name)); } void* QDesignerFormWindowCursorInterface_SelectedWidget(void* ptr, int index) { return static_cast(ptr)->selectedWidget(index); } int QDesignerFormWindowCursorInterface_SelectedWidgetCount(void* ptr) { return static_cast(ptr)->selectedWidgetCount(); } void QDesignerFormWindowCursorInterface_SetPosition(void* ptr, int position, long long mode) { static_cast(ptr)->setPosition(position, static_cast(mode)); } void QDesignerFormWindowCursorInterface_SetProperty(void* ptr, char* name, void* value) { static_cast(ptr)->setProperty(QString(name), *static_cast(value)); } void QDesignerFormWindowCursorInterface_SetWidgetProperty(void* ptr, void* widget, char* name, void* value) { static_cast(ptr)->setWidgetProperty(static_cast(widget), QString(name), *static_cast(value)); } void* QDesignerFormWindowCursorInterface_Widget(void* ptr, int index) { return static_cast(ptr)->widget(index); } int QDesignerFormWindowCursorInterface_WidgetCount(void* ptr) { return static_cast(ptr)->widgetCount(); } void QDesignerFormWindowCursorInterface_DestroyQDesignerFormWindowCursorInterface(void* ptr) { static_cast(ptr)->~QDesignerFormWindowCursorInterface(); } void QDesignerFormWindowCursorInterface_DestroyQDesignerFormWindowCursorInterfaceDefault(void* ptr) { } class MyQDesignerFormWindowInterface: public QDesignerFormWindowInterface { public: void Signal_AboutToUnmanageWidget(QWidget * widget) { callbackQDesignerFormWindowInterface_AboutToUnmanageWidget(this, widget); }; QDir absoluteDir() const { return *static_cast(callbackQDesignerFormWindowInterface_AbsoluteDir(const_cast(this))); }; void activateResourceFilePaths(const QStringList & paths, int * errorCount, QString * errorMessages) { callbackQDesignerFormWindowInterface_ActivateResourceFilePaths(this, const_cast(paths.join("|").toUtf8().constData()), *errorCount, const_cast(errorMessages->toUtf8().constData())); }; void Signal_Activated(QWidget * widget) { callbackQDesignerFormWindowInterface_Activated(this, widget); }; void addResourceFile(const QString & path) { callbackQDesignerFormWindowInterface_AddResourceFile(this, const_cast(path.toUtf8().constData())); }; QString author() const { return QString(callbackQDesignerFormWindowInterface_Author(const_cast(this))); }; void Signal_Changed() { callbackQDesignerFormWindowInterface_Changed(this); }; QStringList checkContents() const { return QString(callbackQDesignerFormWindowInterface_CheckContents(const_cast(this))).split("|", QString::SkipEmptyParts); }; void clearSelection(bool update) { callbackQDesignerFormWindowInterface_ClearSelection(this, update); }; QString comment() const { return QString(callbackQDesignerFormWindowInterface_Comment(const_cast(this))); }; QString contents() const { return QString(callbackQDesignerFormWindowInterface_Contents(const_cast(this))); }; QDesignerFormEditorInterface * core() const { return static_cast(callbackQDesignerFormWindowInterface_Core(const_cast(this))); }; QDesignerFormWindowCursorInterface * cursor() const { return static_cast(callbackQDesignerFormWindowInterface_Cursor(const_cast(this))); }; void emitSelectionChanged() { callbackQDesignerFormWindowInterface_EmitSelectionChanged(this); }; QString exportMacro() const { return QString(callbackQDesignerFormWindowInterface_ExportMacro(const_cast(this))); }; void Signal_FeatureChanged(QDesignerFormWindowInterface::Feature feature) { callbackQDesignerFormWindowInterface_FeatureChanged(this, feature); }; Feature features() const { return static_cast(callbackQDesignerFormWindowInterface_Features(const_cast(this))); }; QString fileName() const { return QString(callbackQDesignerFormWindowInterface_FileName(const_cast(this))); }; void Signal_FileNameChanged(const QString & fileName) { callbackQDesignerFormWindowInterface_FileNameChanged(this, const_cast(fileName.toUtf8().constData())); }; QWidget * formContainer() const { return static_cast(callbackQDesignerFormWindowInterface_FormContainer(const_cast(this))); }; void Signal_GeometryChanged() { callbackQDesignerFormWindowInterface_GeometryChanged(this); }; QPoint grid() const { return *static_cast(callbackQDesignerFormWindowInterface_Grid(const_cast(this))); }; bool hasFeature(QDesignerFormWindowInterface::Feature feature) const { return callbackQDesignerFormWindowInterface_HasFeature(const_cast(this), feature) != 0; }; QStringList includeHints() const { return QString(callbackQDesignerFormWindowInterface_IncludeHints(const_cast(this))).split("|", QString::SkipEmptyParts); }; bool isDirty() const { return callbackQDesignerFormWindowInterface_IsDirty(const_cast(this)) != 0; }; bool isManaged(QWidget * widget) const { return callbackQDesignerFormWindowInterface_IsManaged(const_cast(this), widget) != 0; }; void layoutDefault(int * margin, int * spacing) { callbackQDesignerFormWindowInterface_LayoutDefault(this, *margin, *spacing); }; void layoutFunction(QString * margin, QString * spacing) { callbackQDesignerFormWindowInterface_LayoutFunction(this, const_cast(margin->toUtf8().constData()), const_cast(spacing->toUtf8().constData())); }; void Signal_MainContainerChanged(QWidget * mainContainer) { callbackQDesignerFormWindowInterface_MainContainerChanged(this, mainContainer); }; void manageWidget(QWidget * widget) { callbackQDesignerFormWindowInterface_ManageWidget(this, widget); }; void Signal_ObjectRemoved(QObject * object) { callbackQDesignerFormWindowInterface_ObjectRemoved(this, object); }; QString pixmapFunction() const { return QString(callbackQDesignerFormWindowInterface_PixmapFunction(const_cast(this))); }; void removeResourceFile(const QString & path) { callbackQDesignerFormWindowInterface_RemoveResourceFile(this, const_cast(path.toUtf8().constData())); }; ResourceFileSaveMode resourceFileSaveMode() const { return static_cast(callbackQDesignerFormWindowInterface_ResourceFileSaveMode(const_cast(this))); }; QStringList resourceFiles() const { return QString(callbackQDesignerFormWindowInterface_ResourceFiles(const_cast(this))).split("|", QString::SkipEmptyParts); }; void Signal_ResourceFilesChanged() { callbackQDesignerFormWindowInterface_ResourceFilesChanged(this); }; void selectWidget(QWidget * widget, bool sele) { callbackQDesignerFormWindowInterface_SelectWidget(this, widget, sele); }; void Signal_SelectionChanged() { callbackQDesignerFormWindowInterface_SelectionChanged(this); }; void setAuthor(const QString & author) { callbackQDesignerFormWindowInterface_SetAuthor(this, const_cast(author.toUtf8().constData())); }; void setComment(const QString & comment) { callbackQDesignerFormWindowInterface_SetComment(this, const_cast(comment.toUtf8().constData())); }; bool setContents(QIODevice * device, QString * errorMessage) { return callbackQDesignerFormWindowInterface_SetContents(this, device, const_cast(errorMessage->toUtf8().constData())) != 0; }; bool setContents(const QString & contents) { return callbackQDesignerFormWindowInterface_SetContents2(this, const_cast(contents.toUtf8().constData())) != 0; }; void setDirty(bool dirty) { callbackQDesignerFormWindowInterface_SetDirty(this, dirty); }; void setExportMacro(const QString & exportMacro) { callbackQDesignerFormWindowInterface_SetExportMacro(this, const_cast(exportMacro.toUtf8().constData())); }; void setFeatures(QDesignerFormWindowInterface::Feature features) { callbackQDesignerFormWindowInterface_SetFeatures(this, features); }; void setFileName(const QString & fileName) { callbackQDesignerFormWindowInterface_SetFileName(this, const_cast(fileName.toUtf8().constData())); }; void setGrid(const QPoint & grid) { callbackQDesignerFormWindowInterface_SetGrid(this, const_cast(&grid)); }; void setIncludeHints(const QStringList & includeHints) { callbackQDesignerFormWindowInterface_SetIncludeHints(this, const_cast(includeHints.join("|").toUtf8().constData())); }; void setLayoutDefault(int margin, int spacing) { callbackQDesignerFormWindowInterface_SetLayoutDefault(this, margin, spacing); }; void setLayoutFunction(const QString & margin, const QString & spacing) { callbackQDesignerFormWindowInterface_SetLayoutFunction(this, const_cast(margin.toUtf8().constData()), const_cast(spacing.toUtf8().constData())); }; void setMainContainer(QWidget * mainContainer) { callbackQDesignerFormWindowInterface_SetMainContainer(this, mainContainer); }; void setPixmapFunction(const QString & pixmapFunction) { callbackQDesignerFormWindowInterface_SetPixmapFunction(this, const_cast(pixmapFunction.toUtf8().constData())); }; void setResourceFileSaveMode(QDesignerFormWindowInterface::ResourceFileSaveMode behaviour) { callbackQDesignerFormWindowInterface_SetResourceFileSaveMode(this, behaviour); }; void unmanageWidget(QWidget * widget) { callbackQDesignerFormWindowInterface_UnmanageWidget(this, widget); }; void Signal_WidgetManaged(QWidget * widget) { callbackQDesignerFormWindowInterface_WidgetManaged(this, widget); }; void Signal_WidgetRemoved(QWidget * widget) { callbackQDesignerFormWindowInterface_WidgetRemoved(this, widget); }; void Signal_WidgetUnmanaged(QWidget * widget) { callbackQDesignerFormWindowInterface_WidgetUnmanaged(this, widget); }; ~MyQDesignerFormWindowInterface() { callbackQDesignerFormWindowInterface_DestroyQDesignerFormWindowInterface(this); }; void actionEvent(QActionEvent * event) { callbackQDesignerFormWindowInterface_ActionEvent(this, event); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQDesignerFormWindowInterface_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQDesignerFormWindowInterface_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQDesignerFormWindowInterface_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQDesignerFormWindowInterface_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQDesignerFormWindowInterface_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQDesignerFormWindowInterface_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQDesignerFormWindowInterface_FocusOutEvent(this, event); }; void hideEvent(QHideEvent * event) { callbackQDesignerFormWindowInterface_HideEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQDesignerFormWindowInterface_LeaveEvent(this, event); }; QSize minimumSizeHint() const { return *static_cast(callbackQDesignerFormWindowInterface_MinimumSizeHint(const_cast(this))); }; void moveEvent(QMoveEvent * event) { callbackQDesignerFormWindowInterface_MoveEvent(this, event); }; void paintEvent(QPaintEvent * event) { callbackQDesignerFormWindowInterface_PaintEvent(this, event); }; void setEnabled(bool vbo) { callbackQDesignerFormWindowInterface_SetEnabled(this, vbo); }; void setStyleSheet(const QString & styleSheet) { callbackQDesignerFormWindowInterface_SetStyleSheet(this, const_cast(styleSheet.toUtf8().constData())); }; void setVisible(bool visible) { callbackQDesignerFormWindowInterface_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQDesignerFormWindowInterface_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { callbackQDesignerFormWindowInterface_SetWindowTitle(this, const_cast(vqs.toUtf8().constData())); }; void showEvent(QShowEvent * event) { callbackQDesignerFormWindowInterface_ShowEvent(this, event); }; QSize sizeHint() const { return *static_cast(callbackQDesignerFormWindowInterface_SizeHint(const_cast(this))); }; void changeEvent(QEvent * event) { callbackQDesignerFormWindowInterface_ChangeEvent(this, event); }; bool close() { return callbackQDesignerFormWindowInterface_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQDesignerFormWindowInterface_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQDesignerFormWindowInterface_ContextMenuEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQDesignerFormWindowInterface_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQDesignerFormWindowInterface_HasHeightForWidth(const_cast(this)) != 0; }; int heightForWidth(int w) const { return callbackQDesignerFormWindowInterface_HeightForWidth(const_cast(this), w); }; void hide() { callbackQDesignerFormWindowInterface_Hide(this); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQDesignerFormWindowInterface_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQDesignerFormWindowInterface_InputMethodQuery(const_cast(this), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQDesignerFormWindowInterface_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQDesignerFormWindowInterface_KeyReleaseEvent(this, event); }; void lower() { callbackQDesignerFormWindowInterface_Lower(this); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQDesignerFormWindowInterface_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQDesignerFormWindowInterface_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQDesignerFormWindowInterface_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQDesignerFormWindowInterface_MouseReleaseEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQDesignerFormWindowInterface_NativeEvent(this, const_cast(eventType.toHex().constData()), message, *result) != 0; }; void raise() { callbackQDesignerFormWindowInterface_Raise(this); }; void repaint() { callbackQDesignerFormWindowInterface_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQDesignerFormWindowInterface_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQDesignerFormWindowInterface_SetDisabled(this, disable); }; void setFocus() { callbackQDesignerFormWindowInterface_SetFocus2(this); }; void setHidden(bool hidden) { callbackQDesignerFormWindowInterface_SetHidden(this, hidden); }; void show() { callbackQDesignerFormWindowInterface_Show(this); }; void showFullScreen() { callbackQDesignerFormWindowInterface_ShowFullScreen(this); }; void showMaximized() { callbackQDesignerFormWindowInterface_ShowMaximized(this); }; void showMinimized() { callbackQDesignerFormWindowInterface_ShowMinimized(this); }; void showNormal() { callbackQDesignerFormWindowInterface_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQDesignerFormWindowInterface_TabletEvent(this, event); }; void update() { callbackQDesignerFormWindowInterface_Update(this); }; void updateMicroFocus() { callbackQDesignerFormWindowInterface_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQDesignerFormWindowInterface_WheelEvent(this, event); }; void timerEvent(QTimerEvent * event) { callbackQDesignerFormWindowInterface_TimerEvent(this, event); }; void childEvent(QChildEvent * event) { callbackQDesignerFormWindowInterface_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQDesignerFormWindowInterface_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQDesignerFormWindowInterface_CustomEvent(this, event); }; void deleteLater() { callbackQDesignerFormWindowInterface_DeleteLater(this); }; void disconnectNotify(const QMetaMethod & sign) { callbackQDesignerFormWindowInterface_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQDesignerFormWindowInterface_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQDesignerFormWindowInterface_MetaObject(const_cast(this))); }; }; void* QDesignerFormWindowInterface_QDesignerFormWindowInterface_FindFormWindow2(void* object) { return QDesignerFormWindowInterface::findFormWindow(static_cast(object)); } void* QDesignerFormWindowInterface_QDesignerFormWindowInterface_FindFormWindow(void* widget) { return QDesignerFormWindowInterface::findFormWindow(static_cast(widget)); } void QDesignerFormWindowInterface_ConnectAboutToUnmanageWidget(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::aboutToUnmanageWidget), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_AboutToUnmanageWidget)); } void QDesignerFormWindowInterface_DisconnectAboutToUnmanageWidget(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::aboutToUnmanageWidget), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_AboutToUnmanageWidget)); } void QDesignerFormWindowInterface_AboutToUnmanageWidget(void* ptr, void* widget) { static_cast(ptr)->aboutToUnmanageWidget(static_cast(widget)); } void* QDesignerFormWindowInterface_AbsoluteDir(void* ptr) { return new QDir(static_cast(ptr)->absoluteDir()); } void QDesignerFormWindowInterface_ActivateResourceFilePaths(void* ptr, char* paths, int errorCount, char* errorMessages) { QMetaObject::invokeMethod(static_cast(ptr), "activateResourceFilePaths", Q_ARG(QStringList, QString(paths).split("|", QString::SkipEmptyParts)), Q_ARG(int*, &errorCount), Q_ARG(QString*, new QString(errorMessages))); } void QDesignerFormWindowInterface_ConnectActivated(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::activated), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_Activated)); } void QDesignerFormWindowInterface_DisconnectActivated(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::activated), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_Activated)); } void QDesignerFormWindowInterface_Activated(void* ptr, void* widget) { static_cast(ptr)->activated(static_cast(widget)); } char* QDesignerFormWindowInterface_ActiveResourceFilePaths(void* ptr) { return const_cast(static_cast(ptr)->activeResourceFilePaths().join("|").toUtf8().constData()); } void QDesignerFormWindowInterface_AddResourceFile(void* ptr, char* path) { static_cast(ptr)->addResourceFile(QString(path)); } char* QDesignerFormWindowInterface_Author(void* ptr) { return const_cast(static_cast(ptr)->author().toUtf8().constData()); } void QDesignerFormWindowInterface_ConnectChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::changed), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_Changed)); } void QDesignerFormWindowInterface_DisconnectChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::changed), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_Changed)); } void QDesignerFormWindowInterface_Changed(void* ptr) { static_cast(ptr)->changed(); } char* QDesignerFormWindowInterface_CheckContents(void* ptr) { return const_cast(static_cast(ptr)->checkContents().join("|").toUtf8().constData()); } void QDesignerFormWindowInterface_ClearSelection(void* ptr, char update) { QMetaObject::invokeMethod(static_cast(ptr), "clearSelection", Q_ARG(bool, update != 0)); } char* QDesignerFormWindowInterface_Comment(void* ptr) { return const_cast(static_cast(ptr)->comment().toUtf8().constData()); } char* QDesignerFormWindowInterface_Contents(void* ptr) { return const_cast(static_cast(ptr)->contents().toUtf8().constData()); } void* QDesignerFormWindowInterface_Core(void* ptr) { return static_cast(ptr)->core(); } void* QDesignerFormWindowInterface_CoreDefault(void* ptr) { return static_cast(ptr)->QDesignerFormWindowInterface::core(); } void* QDesignerFormWindowInterface_Cursor(void* ptr) { return static_cast(ptr)->cursor(); } void QDesignerFormWindowInterface_EmitSelectionChanged(void* ptr) { static_cast(ptr)->emitSelectionChanged(); } char* QDesignerFormWindowInterface_ExportMacro(void* ptr) { return const_cast(static_cast(ptr)->exportMacro().toUtf8().constData()); } void QDesignerFormWindowInterface_ConnectFeatureChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::featureChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_FeatureChanged)); } void QDesignerFormWindowInterface_DisconnectFeatureChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::featureChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_FeatureChanged)); } void QDesignerFormWindowInterface_FeatureChanged(void* ptr, long long feature) { static_cast(ptr)->featureChanged(static_cast(feature)); } long long QDesignerFormWindowInterface_Features(void* ptr) { return static_cast(ptr)->features(); } char* QDesignerFormWindowInterface_FileName(void* ptr) { return const_cast(static_cast(ptr)->fileName().toUtf8().constData()); } void QDesignerFormWindowInterface_ConnectFileNameChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::fileNameChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_FileNameChanged)); } void QDesignerFormWindowInterface_DisconnectFileNameChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::fileNameChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_FileNameChanged)); } void QDesignerFormWindowInterface_FileNameChanged(void* ptr, char* fileName) { static_cast(ptr)->fileNameChanged(QString(fileName)); } void* QDesignerFormWindowInterface_FormContainer(void* ptr) { return static_cast(ptr)->formContainer(); } void QDesignerFormWindowInterface_ConnectGeometryChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::geometryChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_GeometryChanged)); } void QDesignerFormWindowInterface_DisconnectGeometryChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::geometryChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_GeometryChanged)); } void QDesignerFormWindowInterface_GeometryChanged(void* ptr) { static_cast(ptr)->geometryChanged(); } void* QDesignerFormWindowInterface_Grid(void* ptr) { return ({ QPoint tmpValue = static_cast(ptr)->grid(); new QPoint(tmpValue.x(), tmpValue.y()); }); } char QDesignerFormWindowInterface_HasFeature(void* ptr, long long feature) { return static_cast(ptr)->hasFeature(static_cast(feature)); } char* QDesignerFormWindowInterface_IncludeHints(void* ptr) { return const_cast(static_cast(ptr)->includeHints().join("|").toUtf8().constData()); } char QDesignerFormWindowInterface_IsDirty(void* ptr) { return static_cast(ptr)->isDirty(); } char QDesignerFormWindowInterface_IsManaged(void* ptr, void* widget) { return static_cast(ptr)->isManaged(static_cast(widget)); } void QDesignerFormWindowInterface_LayoutDefault(void* ptr, int margin, int spacing) { static_cast(ptr)->layoutDefault(&margin, &spacing); } void QDesignerFormWindowInterface_LayoutFunction(void* ptr, char* margin, char* spacing) { static_cast(ptr)->layoutFunction(new QString(margin), new QString(spacing)); } void QDesignerFormWindowInterface_ConnectMainContainerChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::mainContainerChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_MainContainerChanged)); } void QDesignerFormWindowInterface_DisconnectMainContainerChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::mainContainerChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_MainContainerChanged)); } void QDesignerFormWindowInterface_MainContainerChanged(void* ptr, void* mainContainer) { static_cast(ptr)->mainContainerChanged(static_cast(mainContainer)); } void QDesignerFormWindowInterface_ManageWidget(void* ptr, void* widget) { QMetaObject::invokeMethod(static_cast(ptr), "manageWidget", Q_ARG(QWidget*, static_cast(widget))); } void QDesignerFormWindowInterface_ConnectObjectRemoved(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::objectRemoved), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_ObjectRemoved)); } void QDesignerFormWindowInterface_DisconnectObjectRemoved(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::objectRemoved), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_ObjectRemoved)); } void QDesignerFormWindowInterface_ObjectRemoved(void* ptr, void* object) { static_cast(ptr)->objectRemoved(static_cast(object)); } char* QDesignerFormWindowInterface_PixmapFunction(void* ptr) { return const_cast(static_cast(ptr)->pixmapFunction().toUtf8().constData()); } void QDesignerFormWindowInterface_RemoveResourceFile(void* ptr, char* path) { static_cast(ptr)->removeResourceFile(QString(path)); } long long QDesignerFormWindowInterface_ResourceFileSaveMode(void* ptr) { return static_cast(ptr)->resourceFileSaveMode(); } char* QDesignerFormWindowInterface_ResourceFiles(void* ptr) { return const_cast(static_cast(ptr)->resourceFiles().join("|").toUtf8().constData()); } void QDesignerFormWindowInterface_ConnectResourceFilesChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::resourceFilesChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_ResourceFilesChanged)); } void QDesignerFormWindowInterface_DisconnectResourceFilesChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::resourceFilesChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_ResourceFilesChanged)); } void QDesignerFormWindowInterface_ResourceFilesChanged(void* ptr) { static_cast(ptr)->resourceFilesChanged(); } void QDesignerFormWindowInterface_SelectWidget(void* ptr, void* widget, char sele) { QMetaObject::invokeMethod(static_cast(ptr), "selectWidget", Q_ARG(QWidget*, static_cast(widget)), Q_ARG(bool, sele != 0)); } void QDesignerFormWindowInterface_ConnectSelectionChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::selectionChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_SelectionChanged)); } void QDesignerFormWindowInterface_DisconnectSelectionChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::selectionChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_SelectionChanged)); } void QDesignerFormWindowInterface_SelectionChanged(void* ptr) { static_cast(ptr)->selectionChanged(); } void QDesignerFormWindowInterface_SetAuthor(void* ptr, char* author) { static_cast(ptr)->setAuthor(QString(author)); } void QDesignerFormWindowInterface_SetComment(void* ptr, char* comment) { static_cast(ptr)->setComment(QString(comment)); } char QDesignerFormWindowInterface_SetContents(void* ptr, void* device, char* errorMessage) { return static_cast(ptr)->setContents(static_cast(device), new QString(errorMessage)); } char QDesignerFormWindowInterface_SetContents2(void* ptr, char* contents) { bool returnArg; QMetaObject::invokeMethod(static_cast(ptr), "setContents", Q_RETURN_ARG(bool, returnArg), Q_ARG(QString, QString(contents))); return returnArg; } void QDesignerFormWindowInterface_SetDirty(void* ptr, char dirty) { QMetaObject::invokeMethod(static_cast(ptr), "setDirty", Q_ARG(bool, dirty != 0)); } void QDesignerFormWindowInterface_SetExportMacro(void* ptr, char* exportMacro) { static_cast(ptr)->setExportMacro(QString(exportMacro)); } void QDesignerFormWindowInterface_SetFeatures(void* ptr, long long features) { QMetaObject::invokeMethod(static_cast(ptr), "setFeatures", Q_ARG(QDesignerFormWindowInterface::FeatureFlag, static_cast(features))); } void QDesignerFormWindowInterface_SetFileName(void* ptr, char* fileName) { QMetaObject::invokeMethod(static_cast(ptr), "setFileName", Q_ARG(QString, QString(fileName))); } void QDesignerFormWindowInterface_SetGrid(void* ptr, void* grid) { QMetaObject::invokeMethod(static_cast(ptr), "setGrid", Q_ARG(QPoint, *static_cast(grid))); } void QDesignerFormWindowInterface_SetIncludeHints(void* ptr, char* includeHints) { static_cast(ptr)->setIncludeHints(QString(includeHints).split("|", QString::SkipEmptyParts)); } void QDesignerFormWindowInterface_SetLayoutDefault(void* ptr, int margin, int spacing) { static_cast(ptr)->setLayoutDefault(margin, spacing); } void QDesignerFormWindowInterface_SetLayoutFunction(void* ptr, char* margin, char* spacing) { static_cast(ptr)->setLayoutFunction(QString(margin), QString(spacing)); } void QDesignerFormWindowInterface_SetMainContainer(void* ptr, void* mainContainer) { static_cast(ptr)->setMainContainer(static_cast(mainContainer)); } void QDesignerFormWindowInterface_SetPixmapFunction(void* ptr, char* pixmapFunction) { static_cast(ptr)->setPixmapFunction(QString(pixmapFunction)); } void QDesignerFormWindowInterface_SetResourceFileSaveMode(void* ptr, long long behaviour) { static_cast(ptr)->setResourceFileSaveMode(static_cast(behaviour)); } void QDesignerFormWindowInterface_UnmanageWidget(void* ptr, void* widget) { QMetaObject::invokeMethod(static_cast(ptr), "unmanageWidget", Q_ARG(QWidget*, static_cast(widget))); } void QDesignerFormWindowInterface_ConnectWidgetManaged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::widgetManaged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_WidgetManaged)); } void QDesignerFormWindowInterface_DisconnectWidgetManaged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::widgetManaged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_WidgetManaged)); } void QDesignerFormWindowInterface_WidgetManaged(void* ptr, void* widget) { static_cast(ptr)->widgetManaged(static_cast(widget)); } void QDesignerFormWindowInterface_ConnectWidgetRemoved(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::widgetRemoved), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_WidgetRemoved)); } void QDesignerFormWindowInterface_DisconnectWidgetRemoved(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::widgetRemoved), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_WidgetRemoved)); } void QDesignerFormWindowInterface_WidgetRemoved(void* ptr, void* widget) { static_cast(ptr)->widgetRemoved(static_cast(widget)); } void QDesignerFormWindowInterface_ConnectWidgetUnmanaged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::widgetUnmanaged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_WidgetUnmanaged)); } void QDesignerFormWindowInterface_DisconnectWidgetUnmanaged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowInterface::widgetUnmanaged), static_cast(ptr), static_cast(&MyQDesignerFormWindowInterface::Signal_WidgetUnmanaged)); } void QDesignerFormWindowInterface_WidgetUnmanaged(void* ptr, void* widget) { static_cast(ptr)->widgetUnmanaged(static_cast(widget)); } void QDesignerFormWindowInterface_DestroyQDesignerFormWindowInterface(void* ptr) { static_cast(ptr)->~QDesignerFormWindowInterface(); } void QDesignerFormWindowInterface_DestroyQDesignerFormWindowInterfaceDefault(void* ptr) { } void QDesignerFormWindowInterface_ActionEvent(void* ptr, void* event) { static_cast(ptr)->actionEvent(static_cast(event)); } void QDesignerFormWindowInterface_ActionEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::actionEvent(static_cast(event)); } void QDesignerFormWindowInterface_DragEnterEvent(void* ptr, void* event) { static_cast(ptr)->dragEnterEvent(static_cast(event)); } void QDesignerFormWindowInterface_DragEnterEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::dragEnterEvent(static_cast(event)); } void QDesignerFormWindowInterface_DragLeaveEvent(void* ptr, void* event) { static_cast(ptr)->dragLeaveEvent(static_cast(event)); } void QDesignerFormWindowInterface_DragLeaveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::dragLeaveEvent(static_cast(event)); } void QDesignerFormWindowInterface_DragMoveEvent(void* ptr, void* event) { static_cast(ptr)->dragMoveEvent(static_cast(event)); } void QDesignerFormWindowInterface_DragMoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::dragMoveEvent(static_cast(event)); } void QDesignerFormWindowInterface_DropEvent(void* ptr, void* event) { static_cast(ptr)->dropEvent(static_cast(event)); } void QDesignerFormWindowInterface_DropEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::dropEvent(static_cast(event)); } void QDesignerFormWindowInterface_EnterEvent(void* ptr, void* event) { static_cast(ptr)->enterEvent(static_cast(event)); } void QDesignerFormWindowInterface_EnterEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::enterEvent(static_cast(event)); } void QDesignerFormWindowInterface_FocusInEvent(void* ptr, void* event) { static_cast(ptr)->focusInEvent(static_cast(event)); } void QDesignerFormWindowInterface_FocusInEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::focusInEvent(static_cast(event)); } void QDesignerFormWindowInterface_FocusOutEvent(void* ptr, void* event) { static_cast(ptr)->focusOutEvent(static_cast(event)); } void QDesignerFormWindowInterface_FocusOutEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::focusOutEvent(static_cast(event)); } void QDesignerFormWindowInterface_HideEvent(void* ptr, void* event) { static_cast(ptr)->hideEvent(static_cast(event)); } void QDesignerFormWindowInterface_HideEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::hideEvent(static_cast(event)); } void QDesignerFormWindowInterface_LeaveEvent(void* ptr, void* event) { static_cast(ptr)->leaveEvent(static_cast(event)); } void QDesignerFormWindowInterface_LeaveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::leaveEvent(static_cast(event)); } void* QDesignerFormWindowInterface_MinimumSizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QDesignerFormWindowInterface_MinimumSizeHintDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QDesignerFormWindowInterface::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QDesignerFormWindowInterface_MoveEvent(void* ptr, void* event) { static_cast(ptr)->moveEvent(static_cast(event)); } void QDesignerFormWindowInterface_MoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::moveEvent(static_cast(event)); } void QDesignerFormWindowInterface_PaintEvent(void* ptr, void* event) { static_cast(ptr)->paintEvent(static_cast(event)); } void QDesignerFormWindowInterface_PaintEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::paintEvent(static_cast(event)); } void QDesignerFormWindowInterface_SetEnabled(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setEnabled", Q_ARG(bool, vbo != 0)); } void QDesignerFormWindowInterface_SetEnabledDefault(void* ptr, char vbo) { static_cast(ptr)->QDesignerFormWindowInterface::setEnabled(vbo != 0); } void QDesignerFormWindowInterface_SetStyleSheet(void* ptr, char* styleSheet) { QMetaObject::invokeMethod(static_cast(ptr), "setStyleSheet", Q_ARG(QString, QString(styleSheet))); } void QDesignerFormWindowInterface_SetStyleSheetDefault(void* ptr, char* styleSheet) { static_cast(ptr)->QDesignerFormWindowInterface::setStyleSheet(QString(styleSheet)); } void QDesignerFormWindowInterface_SetVisible(void* ptr, char visible) { QMetaObject::invokeMethod(static_cast(ptr), "setVisible", Q_ARG(bool, visible != 0)); } void QDesignerFormWindowInterface_SetVisibleDefault(void* ptr, char visible) { static_cast(ptr)->QDesignerFormWindowInterface::setVisible(visible != 0); } void QDesignerFormWindowInterface_SetWindowModified(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setWindowModified", Q_ARG(bool, vbo != 0)); } void QDesignerFormWindowInterface_SetWindowModifiedDefault(void* ptr, char vbo) { static_cast(ptr)->QDesignerFormWindowInterface::setWindowModified(vbo != 0); } void QDesignerFormWindowInterface_SetWindowTitle(void* ptr, char* vqs) { QMetaObject::invokeMethod(static_cast(ptr), "setWindowTitle", Q_ARG(QString, QString(vqs))); } void QDesignerFormWindowInterface_SetWindowTitleDefault(void* ptr, char* vqs) { static_cast(ptr)->QDesignerFormWindowInterface::setWindowTitle(QString(vqs)); } void QDesignerFormWindowInterface_ShowEvent(void* ptr, void* event) { static_cast(ptr)->showEvent(static_cast(event)); } void QDesignerFormWindowInterface_ShowEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::showEvent(static_cast(event)); } void* QDesignerFormWindowInterface_SizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QDesignerFormWindowInterface_SizeHintDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QDesignerFormWindowInterface::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QDesignerFormWindowInterface_ChangeEvent(void* ptr, void* event) { static_cast(ptr)->changeEvent(static_cast(event)); } void QDesignerFormWindowInterface_ChangeEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::changeEvent(static_cast(event)); } char QDesignerFormWindowInterface_Close(void* ptr) { bool returnArg; QMetaObject::invokeMethod(static_cast(ptr), "close", Q_RETURN_ARG(bool, returnArg)); return returnArg; } char QDesignerFormWindowInterface_CloseDefault(void* ptr) { return static_cast(ptr)->QDesignerFormWindowInterface::close(); } void QDesignerFormWindowInterface_CloseEvent(void* ptr, void* event) { static_cast(ptr)->closeEvent(static_cast(event)); } void QDesignerFormWindowInterface_CloseEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::closeEvent(static_cast(event)); } void QDesignerFormWindowInterface_ContextMenuEvent(void* ptr, void* event) { static_cast(ptr)->contextMenuEvent(static_cast(event)); } void QDesignerFormWindowInterface_ContextMenuEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::contextMenuEvent(static_cast(event)); } char QDesignerFormWindowInterface_FocusNextPrevChild(void* ptr, char next) { return static_cast(ptr)->focusNextPrevChild(next != 0); } char QDesignerFormWindowInterface_FocusNextPrevChildDefault(void* ptr, char next) { return static_cast(ptr)->QDesignerFormWindowInterface::focusNextPrevChild(next != 0); } char QDesignerFormWindowInterface_HasHeightForWidth(void* ptr) { return static_cast(ptr)->hasHeightForWidth(); } char QDesignerFormWindowInterface_HasHeightForWidthDefault(void* ptr) { return static_cast(ptr)->QDesignerFormWindowInterface::hasHeightForWidth(); } int QDesignerFormWindowInterface_HeightForWidth(void* ptr, int w) { return static_cast(ptr)->heightForWidth(w); } int QDesignerFormWindowInterface_HeightForWidthDefault(void* ptr, int w) { return static_cast(ptr)->QDesignerFormWindowInterface::heightForWidth(w); } void QDesignerFormWindowInterface_Hide(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "hide"); } void QDesignerFormWindowInterface_HideDefault(void* ptr) { static_cast(ptr)->QDesignerFormWindowInterface::hide(); } void QDesignerFormWindowInterface_InputMethodEvent(void* ptr, void* event) { static_cast(ptr)->inputMethodEvent(static_cast(event)); } void QDesignerFormWindowInterface_InputMethodEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::inputMethodEvent(static_cast(event)); } void* QDesignerFormWindowInterface_InputMethodQuery(void* ptr, long long query) { return new QVariant(static_cast(ptr)->inputMethodQuery(static_cast(query))); } void* QDesignerFormWindowInterface_InputMethodQueryDefault(void* ptr, long long query) { return new QVariant(static_cast(ptr)->QDesignerFormWindowInterface::inputMethodQuery(static_cast(query))); } void QDesignerFormWindowInterface_KeyPressEvent(void* ptr, void* event) { static_cast(ptr)->keyPressEvent(static_cast(event)); } void QDesignerFormWindowInterface_KeyPressEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::keyPressEvent(static_cast(event)); } void QDesignerFormWindowInterface_KeyReleaseEvent(void* ptr, void* event) { static_cast(ptr)->keyReleaseEvent(static_cast(event)); } void QDesignerFormWindowInterface_KeyReleaseEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::keyReleaseEvent(static_cast(event)); } void QDesignerFormWindowInterface_Lower(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "lower"); } void QDesignerFormWindowInterface_LowerDefault(void* ptr) { static_cast(ptr)->QDesignerFormWindowInterface::lower(); } void QDesignerFormWindowInterface_MouseDoubleClickEvent(void* ptr, void* event) { static_cast(ptr)->mouseDoubleClickEvent(static_cast(event)); } void QDesignerFormWindowInterface_MouseDoubleClickEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::mouseDoubleClickEvent(static_cast(event)); } void QDesignerFormWindowInterface_MouseMoveEvent(void* ptr, void* event) { static_cast(ptr)->mouseMoveEvent(static_cast(event)); } void QDesignerFormWindowInterface_MouseMoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::mouseMoveEvent(static_cast(event)); } void QDesignerFormWindowInterface_MousePressEvent(void* ptr, void* event) { static_cast(ptr)->mousePressEvent(static_cast(event)); } void QDesignerFormWindowInterface_MousePressEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::mousePressEvent(static_cast(event)); } void QDesignerFormWindowInterface_MouseReleaseEvent(void* ptr, void* event) { static_cast(ptr)->mouseReleaseEvent(static_cast(event)); } void QDesignerFormWindowInterface_MouseReleaseEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::mouseReleaseEvent(static_cast(event)); } char QDesignerFormWindowInterface_NativeEvent(void* ptr, char* eventType, void* message, long result) { return static_cast(ptr)->nativeEvent(QByteArray::fromHex(QString(eventType).toUtf8()), message, &result); } char QDesignerFormWindowInterface_NativeEventDefault(void* ptr, char* eventType, void* message, long result) { return static_cast(ptr)->QDesignerFormWindowInterface::nativeEvent(QByteArray::fromHex(QString(eventType).toUtf8()), message, &result); } void QDesignerFormWindowInterface_Raise(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "raise"); } void QDesignerFormWindowInterface_RaiseDefault(void* ptr) { static_cast(ptr)->QDesignerFormWindowInterface::raise(); } void QDesignerFormWindowInterface_Repaint(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "repaint"); } void QDesignerFormWindowInterface_RepaintDefault(void* ptr) { static_cast(ptr)->QDesignerFormWindowInterface::repaint(); } void QDesignerFormWindowInterface_ResizeEvent(void* ptr, void* event) { static_cast(ptr)->resizeEvent(static_cast(event)); } void QDesignerFormWindowInterface_ResizeEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::resizeEvent(static_cast(event)); } void QDesignerFormWindowInterface_SetDisabled(void* ptr, char disable) { QMetaObject::invokeMethod(static_cast(ptr), "setDisabled", Q_ARG(bool, disable != 0)); } void QDesignerFormWindowInterface_SetDisabledDefault(void* ptr, char disable) { static_cast(ptr)->QDesignerFormWindowInterface::setDisabled(disable != 0); } void QDesignerFormWindowInterface_SetFocus2(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "setFocus"); } void QDesignerFormWindowInterface_SetFocus2Default(void* ptr) { static_cast(ptr)->QDesignerFormWindowInterface::setFocus(); } void QDesignerFormWindowInterface_SetHidden(void* ptr, char hidden) { QMetaObject::invokeMethod(static_cast(ptr), "setHidden", Q_ARG(bool, hidden != 0)); } void QDesignerFormWindowInterface_SetHiddenDefault(void* ptr, char hidden) { static_cast(ptr)->QDesignerFormWindowInterface::setHidden(hidden != 0); } void QDesignerFormWindowInterface_Show(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "show"); } void QDesignerFormWindowInterface_ShowDefault(void* ptr) { static_cast(ptr)->QDesignerFormWindowInterface::show(); } void QDesignerFormWindowInterface_ShowFullScreen(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showFullScreen"); } void QDesignerFormWindowInterface_ShowFullScreenDefault(void* ptr) { static_cast(ptr)->QDesignerFormWindowInterface::showFullScreen(); } void QDesignerFormWindowInterface_ShowMaximized(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showMaximized"); } void QDesignerFormWindowInterface_ShowMaximizedDefault(void* ptr) { static_cast(ptr)->QDesignerFormWindowInterface::showMaximized(); } void QDesignerFormWindowInterface_ShowMinimized(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showMinimized"); } void QDesignerFormWindowInterface_ShowMinimizedDefault(void* ptr) { static_cast(ptr)->QDesignerFormWindowInterface::showMinimized(); } void QDesignerFormWindowInterface_ShowNormal(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showNormal"); } void QDesignerFormWindowInterface_ShowNormalDefault(void* ptr) { static_cast(ptr)->QDesignerFormWindowInterface::showNormal(); } void QDesignerFormWindowInterface_TabletEvent(void* ptr, void* event) { static_cast(ptr)->tabletEvent(static_cast(event)); } void QDesignerFormWindowInterface_TabletEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::tabletEvent(static_cast(event)); } void QDesignerFormWindowInterface_Update(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "update"); } void QDesignerFormWindowInterface_UpdateDefault(void* ptr) { static_cast(ptr)->QDesignerFormWindowInterface::update(); } void QDesignerFormWindowInterface_UpdateMicroFocus(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "updateMicroFocus"); } void QDesignerFormWindowInterface_UpdateMicroFocusDefault(void* ptr) { static_cast(ptr)->QDesignerFormWindowInterface::updateMicroFocus(); } void QDesignerFormWindowInterface_WheelEvent(void* ptr, void* event) { static_cast(ptr)->wheelEvent(static_cast(event)); } void QDesignerFormWindowInterface_WheelEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::wheelEvent(static_cast(event)); } void QDesignerFormWindowInterface_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QDesignerFormWindowInterface_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::timerEvent(static_cast(event)); } void QDesignerFormWindowInterface_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QDesignerFormWindowInterface_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::childEvent(static_cast(event)); } void QDesignerFormWindowInterface_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QDesignerFormWindowInterface_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDesignerFormWindowInterface::connectNotify(*static_cast(sign)); } void QDesignerFormWindowInterface_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QDesignerFormWindowInterface_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowInterface::customEvent(static_cast(event)); } void QDesignerFormWindowInterface_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QDesignerFormWindowInterface_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QDesignerFormWindowInterface::deleteLater(); } void QDesignerFormWindowInterface_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QDesignerFormWindowInterface_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDesignerFormWindowInterface::disconnectNotify(*static_cast(sign)); } char QDesignerFormWindowInterface_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } char QDesignerFormWindowInterface_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QDesignerFormWindowInterface::eventFilter(static_cast(watched), static_cast(event)); } void* QDesignerFormWindowInterface_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QDesignerFormWindowInterface_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QDesignerFormWindowInterface::metaObject()); } class MyQDesignerFormWindowManagerInterface: public QDesignerFormWindowManagerInterface { public: QAction * action(QDesignerFormWindowManagerInterface::Action action) const { return static_cast(callbackQDesignerFormWindowManagerInterface_Action(const_cast(this), action)); }; QActionGroup * actionGroup(QDesignerFormWindowManagerInterface::ActionGroup actionGroup) const { return static_cast(callbackQDesignerFormWindowManagerInterface_ActionGroup(const_cast(this), actionGroup)); }; QDesignerFormWindowInterface * activeFormWindow() const { return static_cast(callbackQDesignerFormWindowManagerInterface_ActiveFormWindow(const_cast(this))); }; void Signal_ActiveFormWindowChanged(QDesignerFormWindowInterface * formWindow) { callbackQDesignerFormWindowManagerInterface_ActiveFormWindowChanged(this, formWindow); }; void addFormWindow(QDesignerFormWindowInterface * formWindow) { callbackQDesignerFormWindowManagerInterface_AddFormWindow(this, formWindow); }; void closeAllPreviews() { callbackQDesignerFormWindowManagerInterface_CloseAllPreviews(this); }; QDesignerFormEditorInterface * core() const { return static_cast(callbackQDesignerFormWindowManagerInterface_Core(const_cast(this))); }; QDesignerFormWindowInterface * createFormWindow(QWidget * parent, Qt::WindowFlags flags) { return static_cast(callbackQDesignerFormWindowManagerInterface_CreateFormWindow(this, parent, flags)); }; QPixmap createPreviewPixmap() const { return *static_cast(callbackQDesignerFormWindowManagerInterface_CreatePreviewPixmap(const_cast(this))); }; QDesignerFormWindowInterface * formWindow(int index) const { return static_cast(callbackQDesignerFormWindowManagerInterface_FormWindow(const_cast(this), index)); }; void Signal_FormWindowAdded(QDesignerFormWindowInterface * formWindow) { callbackQDesignerFormWindowManagerInterface_FormWindowAdded(this, formWindow); }; int formWindowCount() const { return callbackQDesignerFormWindowManagerInterface_FormWindowCount(const_cast(this)); }; void Signal_FormWindowRemoved(QDesignerFormWindowInterface * formWindow) { callbackQDesignerFormWindowManagerInterface_FormWindowRemoved(this, formWindow); }; void Signal_FormWindowSettingsChanged(QDesignerFormWindowInterface * formWindow) { callbackQDesignerFormWindowManagerInterface_FormWindowSettingsChanged(this, formWindow); }; void removeFormWindow(QDesignerFormWindowInterface * formWindow) { callbackQDesignerFormWindowManagerInterface_RemoveFormWindow(this, formWindow); }; void setActiveFormWindow(QDesignerFormWindowInterface * formWindow) { callbackQDesignerFormWindowManagerInterface_SetActiveFormWindow(this, formWindow); }; void showPluginDialog() { callbackQDesignerFormWindowManagerInterface_ShowPluginDialog(this); }; void showPreview() { callbackQDesignerFormWindowManagerInterface_ShowPreview(this); }; ~MyQDesignerFormWindowManagerInterface() { callbackQDesignerFormWindowManagerInterface_DestroyQDesignerFormWindowManagerInterface(this); }; void timerEvent(QTimerEvent * event) { callbackQDesignerFormWindowManagerInterface_TimerEvent(this, event); }; void childEvent(QChildEvent * event) { callbackQDesignerFormWindowManagerInterface_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQDesignerFormWindowManagerInterface_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQDesignerFormWindowManagerInterface_CustomEvent(this, event); }; void deleteLater() { callbackQDesignerFormWindowManagerInterface_DeleteLater(this); }; void disconnectNotify(const QMetaMethod & sign) { callbackQDesignerFormWindowManagerInterface_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQDesignerFormWindowManagerInterface_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQDesignerFormWindowManagerInterface_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQDesignerFormWindowManagerInterface_MetaObject(const_cast(this))); }; }; void* QDesignerFormWindowManagerInterface_Action(void* ptr, long long action) { return static_cast(ptr)->action(static_cast(action)); } void* QDesignerFormWindowManagerInterface_ActionGroup(void* ptr, long long actionGroup) { return static_cast(ptr)->actionGroup(static_cast(actionGroup)); } void* QDesignerFormWindowManagerInterface_ActiveFormWindow(void* ptr) { return static_cast(ptr)->activeFormWindow(); } void QDesignerFormWindowManagerInterface_ConnectActiveFormWindowChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowManagerInterface::activeFormWindowChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowManagerInterface::Signal_ActiveFormWindowChanged)); } void QDesignerFormWindowManagerInterface_DisconnectActiveFormWindowChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowManagerInterface::activeFormWindowChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowManagerInterface::Signal_ActiveFormWindowChanged)); } void QDesignerFormWindowManagerInterface_ActiveFormWindowChanged(void* ptr, void* formWindow) { static_cast(ptr)->activeFormWindowChanged(static_cast(formWindow)); } void QDesignerFormWindowManagerInterface_AddFormWindow(void* ptr, void* formWindow) { QMetaObject::invokeMethod(static_cast(ptr), "addFormWindow", Q_ARG(QDesignerFormWindowInterface*, static_cast(formWindow))); } void QDesignerFormWindowManagerInterface_CloseAllPreviews(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "closeAllPreviews"); } void* QDesignerFormWindowManagerInterface_Core(void* ptr) { return static_cast(ptr)->core(); } void* QDesignerFormWindowManagerInterface_CreateFormWindow(void* ptr, void* parent, long long flags) { return static_cast(ptr)->createFormWindow(static_cast(parent), static_cast(flags)); } void* QDesignerFormWindowManagerInterface_CreatePreviewPixmap(void* ptr) { return new QPixmap(static_cast(ptr)->createPreviewPixmap()); } void* QDesignerFormWindowManagerInterface_FormWindow(void* ptr, int index) { return static_cast(ptr)->formWindow(index); } void QDesignerFormWindowManagerInterface_ConnectFormWindowAdded(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowManagerInterface::formWindowAdded), static_cast(ptr), static_cast(&MyQDesignerFormWindowManagerInterface::Signal_FormWindowAdded)); } void QDesignerFormWindowManagerInterface_DisconnectFormWindowAdded(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowManagerInterface::formWindowAdded), static_cast(ptr), static_cast(&MyQDesignerFormWindowManagerInterface::Signal_FormWindowAdded)); } void QDesignerFormWindowManagerInterface_FormWindowAdded(void* ptr, void* formWindow) { static_cast(ptr)->formWindowAdded(static_cast(formWindow)); } int QDesignerFormWindowManagerInterface_FormWindowCount(void* ptr) { return static_cast(ptr)->formWindowCount(); } void QDesignerFormWindowManagerInterface_ConnectFormWindowRemoved(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowManagerInterface::formWindowRemoved), static_cast(ptr), static_cast(&MyQDesignerFormWindowManagerInterface::Signal_FormWindowRemoved)); } void QDesignerFormWindowManagerInterface_DisconnectFormWindowRemoved(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowManagerInterface::formWindowRemoved), static_cast(ptr), static_cast(&MyQDesignerFormWindowManagerInterface::Signal_FormWindowRemoved)); } void QDesignerFormWindowManagerInterface_FormWindowRemoved(void* ptr, void* formWindow) { static_cast(ptr)->formWindowRemoved(static_cast(formWindow)); } void QDesignerFormWindowManagerInterface_ConnectFormWindowSettingsChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerFormWindowManagerInterface::formWindowSettingsChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowManagerInterface::Signal_FormWindowSettingsChanged)); } void QDesignerFormWindowManagerInterface_DisconnectFormWindowSettingsChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerFormWindowManagerInterface::formWindowSettingsChanged), static_cast(ptr), static_cast(&MyQDesignerFormWindowManagerInterface::Signal_FormWindowSettingsChanged)); } void QDesignerFormWindowManagerInterface_FormWindowSettingsChanged(void* ptr, void* formWindow) { static_cast(ptr)->formWindowSettingsChanged(static_cast(formWindow)); } void QDesignerFormWindowManagerInterface_RemoveFormWindow(void* ptr, void* formWindow) { QMetaObject::invokeMethod(static_cast(ptr), "removeFormWindow", Q_ARG(QDesignerFormWindowInterface*, static_cast(formWindow))); } void QDesignerFormWindowManagerInterface_SetActiveFormWindow(void* ptr, void* formWindow) { QMetaObject::invokeMethod(static_cast(ptr), "setActiveFormWindow", Q_ARG(QDesignerFormWindowInterface*, static_cast(formWindow))); } void QDesignerFormWindowManagerInterface_ShowPluginDialog(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showPluginDialog"); } void QDesignerFormWindowManagerInterface_ShowPreview(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showPreview"); } void QDesignerFormWindowManagerInterface_DestroyQDesignerFormWindowManagerInterface(void* ptr) { static_cast(ptr)->~QDesignerFormWindowManagerInterface(); } void QDesignerFormWindowManagerInterface_DestroyQDesignerFormWindowManagerInterfaceDefault(void* ptr) { } void QDesignerFormWindowManagerInterface_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QDesignerFormWindowManagerInterface_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowManagerInterface::timerEvent(static_cast(event)); } void QDesignerFormWindowManagerInterface_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QDesignerFormWindowManagerInterface_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowManagerInterface::childEvent(static_cast(event)); } void QDesignerFormWindowManagerInterface_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QDesignerFormWindowManagerInterface_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDesignerFormWindowManagerInterface::connectNotify(*static_cast(sign)); } void QDesignerFormWindowManagerInterface_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QDesignerFormWindowManagerInterface_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerFormWindowManagerInterface::customEvent(static_cast(event)); } void QDesignerFormWindowManagerInterface_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QDesignerFormWindowManagerInterface_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QDesignerFormWindowManagerInterface::deleteLater(); } void QDesignerFormWindowManagerInterface_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QDesignerFormWindowManagerInterface_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDesignerFormWindowManagerInterface::disconnectNotify(*static_cast(sign)); } char QDesignerFormWindowManagerInterface_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } char QDesignerFormWindowManagerInterface_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QDesignerFormWindowManagerInterface::event(static_cast(e)); } char QDesignerFormWindowManagerInterface_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } char QDesignerFormWindowManagerInterface_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QDesignerFormWindowManagerInterface::eventFilter(static_cast(watched), static_cast(event)); } void* QDesignerFormWindowManagerInterface_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QDesignerFormWindowManagerInterface_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QDesignerFormWindowManagerInterface::metaObject()); } class MyQDesignerMemberSheetExtension: public QDesignerMemberSheetExtension { public: int count() const { return callbackQDesignerMemberSheetExtension_Count(const_cast(this)); }; QString declaredInClass(int index) const { return QString(callbackQDesignerMemberSheetExtension_DeclaredInClass(const_cast(this), index)); }; int indexOf(const QString & name) const { return callbackQDesignerMemberSheetExtension_IndexOf(const_cast(this), const_cast(name.toUtf8().constData())); }; bool inheritedFromWidget(int index) const { return callbackQDesignerMemberSheetExtension_InheritedFromWidget(const_cast(this), index) != 0; }; bool isSignal(int index) const { return callbackQDesignerMemberSheetExtension_IsSignal(const_cast(this), index) != 0; }; bool isSlot(int index) const { return callbackQDesignerMemberSheetExtension_IsSlot(const_cast(this), index) != 0; }; bool isVisible(int index) const { return callbackQDesignerMemberSheetExtension_IsVisible(const_cast(this), index) != 0; }; QString memberGroup(int index) const { return QString(callbackQDesignerMemberSheetExtension_MemberGroup(const_cast(this), index)); }; QString memberName(int index) const { return QString(callbackQDesignerMemberSheetExtension_MemberName(const_cast(this), index)); }; void setMemberGroup(int index, const QString & group) { callbackQDesignerMemberSheetExtension_SetMemberGroup(this, index, const_cast(group.toUtf8().constData())); }; void setVisible(int index, bool visible) { callbackQDesignerMemberSheetExtension_SetVisible(this, index, visible); }; QString signature(int index) const { return QString(callbackQDesignerMemberSheetExtension_Signature(const_cast(this), index)); }; ~MyQDesignerMemberSheetExtension() { callbackQDesignerMemberSheetExtension_DestroyQDesignerMemberSheetExtension(this); }; }; int QDesignerMemberSheetExtension_Count(void* ptr) { return static_cast(ptr)->count(); } char* QDesignerMemberSheetExtension_DeclaredInClass(void* ptr, int index) { return const_cast(static_cast(ptr)->declaredInClass(index).toUtf8().constData()); } int QDesignerMemberSheetExtension_IndexOf(void* ptr, char* name) { return static_cast(ptr)->indexOf(QString(name)); } char QDesignerMemberSheetExtension_InheritedFromWidget(void* ptr, int index) { return static_cast(ptr)->inheritedFromWidget(index); } char QDesignerMemberSheetExtension_IsSignal(void* ptr, int index) { return static_cast(ptr)->isSignal(index); } char QDesignerMemberSheetExtension_IsSlot(void* ptr, int index) { return static_cast(ptr)->isSlot(index); } char QDesignerMemberSheetExtension_IsVisible(void* ptr, int index) { return static_cast(ptr)->isVisible(index); } char* QDesignerMemberSheetExtension_MemberGroup(void* ptr, int index) { return const_cast(static_cast(ptr)->memberGroup(index).toUtf8().constData()); } char* QDesignerMemberSheetExtension_MemberName(void* ptr, int index) { return const_cast(static_cast(ptr)->memberName(index).toUtf8().constData()); } void QDesignerMemberSheetExtension_SetMemberGroup(void* ptr, int index, char* group) { static_cast(ptr)->setMemberGroup(index, QString(group)); } void QDesignerMemberSheetExtension_SetVisible(void* ptr, int index, char visible) { static_cast(ptr)->setVisible(index, visible != 0); } char* QDesignerMemberSheetExtension_Signature(void* ptr, int index) { return const_cast(static_cast(ptr)->signature(index).toUtf8().constData()); } void QDesignerMemberSheetExtension_DestroyQDesignerMemberSheetExtension(void* ptr) { static_cast(ptr)->~QDesignerMemberSheetExtension(); } void QDesignerMemberSheetExtension_DestroyQDesignerMemberSheetExtensionDefault(void* ptr) { } class MyQDesignerObjectInspectorInterface: public QDesignerObjectInspectorInterface { public: MyQDesignerObjectInspectorInterface(QWidget *parent, Qt::WindowFlags flags) : QDesignerObjectInspectorInterface(parent, flags) {}; QDesignerFormEditorInterface * core() const { return static_cast(callbackQDesignerObjectInspectorInterface_Core(const_cast(this))); }; void setFormWindow(QDesignerFormWindowInterface * formWindow) { callbackQDesignerObjectInspectorInterface_SetFormWindow(this, formWindow); }; ~MyQDesignerObjectInspectorInterface() { callbackQDesignerObjectInspectorInterface_DestroyQDesignerObjectInspectorInterface(this); }; void actionEvent(QActionEvent * event) { callbackQDesignerObjectInspectorInterface_ActionEvent(this, event); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQDesignerObjectInspectorInterface_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQDesignerObjectInspectorInterface_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQDesignerObjectInspectorInterface_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQDesignerObjectInspectorInterface_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQDesignerObjectInspectorInterface_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQDesignerObjectInspectorInterface_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQDesignerObjectInspectorInterface_FocusOutEvent(this, event); }; void hideEvent(QHideEvent * event) { callbackQDesignerObjectInspectorInterface_HideEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQDesignerObjectInspectorInterface_LeaveEvent(this, event); }; QSize minimumSizeHint() const { return *static_cast(callbackQDesignerObjectInspectorInterface_MinimumSizeHint(const_cast(this))); }; void moveEvent(QMoveEvent * event) { callbackQDesignerObjectInspectorInterface_MoveEvent(this, event); }; void paintEvent(QPaintEvent * event) { callbackQDesignerObjectInspectorInterface_PaintEvent(this, event); }; void setEnabled(bool vbo) { callbackQDesignerObjectInspectorInterface_SetEnabled(this, vbo); }; void setStyleSheet(const QString & styleSheet) { callbackQDesignerObjectInspectorInterface_SetStyleSheet(this, const_cast(styleSheet.toUtf8().constData())); }; void setVisible(bool visible) { callbackQDesignerObjectInspectorInterface_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQDesignerObjectInspectorInterface_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { callbackQDesignerObjectInspectorInterface_SetWindowTitle(this, const_cast(vqs.toUtf8().constData())); }; void showEvent(QShowEvent * event) { callbackQDesignerObjectInspectorInterface_ShowEvent(this, event); }; QSize sizeHint() const { return *static_cast(callbackQDesignerObjectInspectorInterface_SizeHint(const_cast(this))); }; void changeEvent(QEvent * event) { callbackQDesignerObjectInspectorInterface_ChangeEvent(this, event); }; bool close() { return callbackQDesignerObjectInspectorInterface_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQDesignerObjectInspectorInterface_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQDesignerObjectInspectorInterface_ContextMenuEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQDesignerObjectInspectorInterface_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQDesignerObjectInspectorInterface_HasHeightForWidth(const_cast(this)) != 0; }; int heightForWidth(int w) const { return callbackQDesignerObjectInspectorInterface_HeightForWidth(const_cast(this), w); }; void hide() { callbackQDesignerObjectInspectorInterface_Hide(this); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQDesignerObjectInspectorInterface_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQDesignerObjectInspectorInterface_InputMethodQuery(const_cast(this), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQDesignerObjectInspectorInterface_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQDesignerObjectInspectorInterface_KeyReleaseEvent(this, event); }; void lower() { callbackQDesignerObjectInspectorInterface_Lower(this); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQDesignerObjectInspectorInterface_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQDesignerObjectInspectorInterface_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQDesignerObjectInspectorInterface_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQDesignerObjectInspectorInterface_MouseReleaseEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQDesignerObjectInspectorInterface_NativeEvent(this, const_cast(eventType.toHex().constData()), message, *result) != 0; }; void raise() { callbackQDesignerObjectInspectorInterface_Raise(this); }; void repaint() { callbackQDesignerObjectInspectorInterface_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQDesignerObjectInspectorInterface_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQDesignerObjectInspectorInterface_SetDisabled(this, disable); }; void setFocus() { callbackQDesignerObjectInspectorInterface_SetFocus2(this); }; void setHidden(bool hidden) { callbackQDesignerObjectInspectorInterface_SetHidden(this, hidden); }; void show() { callbackQDesignerObjectInspectorInterface_Show(this); }; void showFullScreen() { callbackQDesignerObjectInspectorInterface_ShowFullScreen(this); }; void showMaximized() { callbackQDesignerObjectInspectorInterface_ShowMaximized(this); }; void showMinimized() { callbackQDesignerObjectInspectorInterface_ShowMinimized(this); }; void showNormal() { callbackQDesignerObjectInspectorInterface_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQDesignerObjectInspectorInterface_TabletEvent(this, event); }; void update() { callbackQDesignerObjectInspectorInterface_Update(this); }; void updateMicroFocus() { callbackQDesignerObjectInspectorInterface_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQDesignerObjectInspectorInterface_WheelEvent(this, event); }; void timerEvent(QTimerEvent * event) { callbackQDesignerObjectInspectorInterface_TimerEvent(this, event); }; void childEvent(QChildEvent * event) { callbackQDesignerObjectInspectorInterface_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQDesignerObjectInspectorInterface_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQDesignerObjectInspectorInterface_CustomEvent(this, event); }; void deleteLater() { callbackQDesignerObjectInspectorInterface_DeleteLater(this); }; void disconnectNotify(const QMetaMethod & sign) { callbackQDesignerObjectInspectorInterface_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQDesignerObjectInspectorInterface_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQDesignerObjectInspectorInterface_MetaObject(const_cast(this))); }; }; void* QDesignerObjectInspectorInterface_NewQDesignerObjectInspectorInterface(void* parent, long long flags) { return new MyQDesignerObjectInspectorInterface(static_cast(parent), static_cast(flags)); } void* QDesignerObjectInspectorInterface_Core(void* ptr) { return static_cast(ptr)->core(); } void* QDesignerObjectInspectorInterface_CoreDefault(void* ptr) { return static_cast(ptr)->QDesignerObjectInspectorInterface::core(); } void QDesignerObjectInspectorInterface_SetFormWindow(void* ptr, void* formWindow) { QMetaObject::invokeMethod(static_cast(ptr), "setFormWindow", Q_ARG(QDesignerFormWindowInterface*, static_cast(formWindow))); } void QDesignerObjectInspectorInterface_DestroyQDesignerObjectInspectorInterface(void* ptr) { static_cast(ptr)->~QDesignerObjectInspectorInterface(); } void QDesignerObjectInspectorInterface_DestroyQDesignerObjectInspectorInterfaceDefault(void* ptr) { } void QDesignerObjectInspectorInterface_ActionEvent(void* ptr, void* event) { static_cast(ptr)->actionEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_ActionEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::actionEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_DragEnterEvent(void* ptr, void* event) { static_cast(ptr)->dragEnterEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_DragEnterEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::dragEnterEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_DragLeaveEvent(void* ptr, void* event) { static_cast(ptr)->dragLeaveEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_DragLeaveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::dragLeaveEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_DragMoveEvent(void* ptr, void* event) { static_cast(ptr)->dragMoveEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_DragMoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::dragMoveEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_DropEvent(void* ptr, void* event) { static_cast(ptr)->dropEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_DropEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::dropEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_EnterEvent(void* ptr, void* event) { static_cast(ptr)->enterEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_EnterEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::enterEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_FocusInEvent(void* ptr, void* event) { static_cast(ptr)->focusInEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_FocusInEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::focusInEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_FocusOutEvent(void* ptr, void* event) { static_cast(ptr)->focusOutEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_FocusOutEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::focusOutEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_HideEvent(void* ptr, void* event) { static_cast(ptr)->hideEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_HideEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::hideEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_LeaveEvent(void* ptr, void* event) { static_cast(ptr)->leaveEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_LeaveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::leaveEvent(static_cast(event)); } void* QDesignerObjectInspectorInterface_MinimumSizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QDesignerObjectInspectorInterface_MinimumSizeHintDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QDesignerObjectInspectorInterface::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QDesignerObjectInspectorInterface_MoveEvent(void* ptr, void* event) { static_cast(ptr)->moveEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_MoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::moveEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_PaintEvent(void* ptr, void* event) { static_cast(ptr)->paintEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_PaintEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::paintEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_SetEnabled(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setEnabled", Q_ARG(bool, vbo != 0)); } void QDesignerObjectInspectorInterface_SetEnabledDefault(void* ptr, char vbo) { static_cast(ptr)->QDesignerObjectInspectorInterface::setEnabled(vbo != 0); } void QDesignerObjectInspectorInterface_SetStyleSheet(void* ptr, char* styleSheet) { QMetaObject::invokeMethod(static_cast(ptr), "setStyleSheet", Q_ARG(QString, QString(styleSheet))); } void QDesignerObjectInspectorInterface_SetStyleSheetDefault(void* ptr, char* styleSheet) { static_cast(ptr)->QDesignerObjectInspectorInterface::setStyleSheet(QString(styleSheet)); } void QDesignerObjectInspectorInterface_SetVisible(void* ptr, char visible) { QMetaObject::invokeMethod(static_cast(ptr), "setVisible", Q_ARG(bool, visible != 0)); } void QDesignerObjectInspectorInterface_SetVisibleDefault(void* ptr, char visible) { static_cast(ptr)->QDesignerObjectInspectorInterface::setVisible(visible != 0); } void QDesignerObjectInspectorInterface_SetWindowModified(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setWindowModified", Q_ARG(bool, vbo != 0)); } void QDesignerObjectInspectorInterface_SetWindowModifiedDefault(void* ptr, char vbo) { static_cast(ptr)->QDesignerObjectInspectorInterface::setWindowModified(vbo != 0); } void QDesignerObjectInspectorInterface_SetWindowTitle(void* ptr, char* vqs) { QMetaObject::invokeMethod(static_cast(ptr), "setWindowTitle", Q_ARG(QString, QString(vqs))); } void QDesignerObjectInspectorInterface_SetWindowTitleDefault(void* ptr, char* vqs) { static_cast(ptr)->QDesignerObjectInspectorInterface::setWindowTitle(QString(vqs)); } void QDesignerObjectInspectorInterface_ShowEvent(void* ptr, void* event) { static_cast(ptr)->showEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_ShowEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::showEvent(static_cast(event)); } void* QDesignerObjectInspectorInterface_SizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QDesignerObjectInspectorInterface_SizeHintDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QDesignerObjectInspectorInterface::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QDesignerObjectInspectorInterface_ChangeEvent(void* ptr, void* event) { static_cast(ptr)->changeEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_ChangeEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::changeEvent(static_cast(event)); } char QDesignerObjectInspectorInterface_Close(void* ptr) { bool returnArg; QMetaObject::invokeMethod(static_cast(ptr), "close", Q_RETURN_ARG(bool, returnArg)); return returnArg; } char QDesignerObjectInspectorInterface_CloseDefault(void* ptr) { return static_cast(ptr)->QDesignerObjectInspectorInterface::close(); } void QDesignerObjectInspectorInterface_CloseEvent(void* ptr, void* event) { static_cast(ptr)->closeEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_CloseEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::closeEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_ContextMenuEvent(void* ptr, void* event) { static_cast(ptr)->contextMenuEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_ContextMenuEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::contextMenuEvent(static_cast(event)); } char QDesignerObjectInspectorInterface_FocusNextPrevChild(void* ptr, char next) { return static_cast(ptr)->focusNextPrevChild(next != 0); } char QDesignerObjectInspectorInterface_FocusNextPrevChildDefault(void* ptr, char next) { return static_cast(ptr)->QDesignerObjectInspectorInterface::focusNextPrevChild(next != 0); } char QDesignerObjectInspectorInterface_HasHeightForWidth(void* ptr) { return static_cast(ptr)->hasHeightForWidth(); } char QDesignerObjectInspectorInterface_HasHeightForWidthDefault(void* ptr) { return static_cast(ptr)->QDesignerObjectInspectorInterface::hasHeightForWidth(); } int QDesignerObjectInspectorInterface_HeightForWidth(void* ptr, int w) { return static_cast(ptr)->heightForWidth(w); } int QDesignerObjectInspectorInterface_HeightForWidthDefault(void* ptr, int w) { return static_cast(ptr)->QDesignerObjectInspectorInterface::heightForWidth(w); } void QDesignerObjectInspectorInterface_Hide(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "hide"); } void QDesignerObjectInspectorInterface_HideDefault(void* ptr) { static_cast(ptr)->QDesignerObjectInspectorInterface::hide(); } void QDesignerObjectInspectorInterface_InputMethodEvent(void* ptr, void* event) { static_cast(ptr)->inputMethodEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_InputMethodEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::inputMethodEvent(static_cast(event)); } void* QDesignerObjectInspectorInterface_InputMethodQuery(void* ptr, long long query) { return new QVariant(static_cast(ptr)->inputMethodQuery(static_cast(query))); } void* QDesignerObjectInspectorInterface_InputMethodQueryDefault(void* ptr, long long query) { return new QVariant(static_cast(ptr)->QDesignerObjectInspectorInterface::inputMethodQuery(static_cast(query))); } void QDesignerObjectInspectorInterface_KeyPressEvent(void* ptr, void* event) { static_cast(ptr)->keyPressEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_KeyPressEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::keyPressEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_KeyReleaseEvent(void* ptr, void* event) { static_cast(ptr)->keyReleaseEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_KeyReleaseEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::keyReleaseEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_Lower(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "lower"); } void QDesignerObjectInspectorInterface_LowerDefault(void* ptr) { static_cast(ptr)->QDesignerObjectInspectorInterface::lower(); } void QDesignerObjectInspectorInterface_MouseDoubleClickEvent(void* ptr, void* event) { static_cast(ptr)->mouseDoubleClickEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_MouseDoubleClickEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::mouseDoubleClickEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_MouseMoveEvent(void* ptr, void* event) { static_cast(ptr)->mouseMoveEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_MouseMoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::mouseMoveEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_MousePressEvent(void* ptr, void* event) { static_cast(ptr)->mousePressEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_MousePressEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::mousePressEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_MouseReleaseEvent(void* ptr, void* event) { static_cast(ptr)->mouseReleaseEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_MouseReleaseEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::mouseReleaseEvent(static_cast(event)); } char QDesignerObjectInspectorInterface_NativeEvent(void* ptr, char* eventType, void* message, long result) { return static_cast(ptr)->nativeEvent(QByteArray::fromHex(QString(eventType).toUtf8()), message, &result); } char QDesignerObjectInspectorInterface_NativeEventDefault(void* ptr, char* eventType, void* message, long result) { return static_cast(ptr)->QDesignerObjectInspectorInterface::nativeEvent(QByteArray::fromHex(QString(eventType).toUtf8()), message, &result); } void QDesignerObjectInspectorInterface_Raise(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "raise"); } void QDesignerObjectInspectorInterface_RaiseDefault(void* ptr) { static_cast(ptr)->QDesignerObjectInspectorInterface::raise(); } void QDesignerObjectInspectorInterface_Repaint(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "repaint"); } void QDesignerObjectInspectorInterface_RepaintDefault(void* ptr) { static_cast(ptr)->QDesignerObjectInspectorInterface::repaint(); } void QDesignerObjectInspectorInterface_ResizeEvent(void* ptr, void* event) { static_cast(ptr)->resizeEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_ResizeEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::resizeEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_SetDisabled(void* ptr, char disable) { QMetaObject::invokeMethod(static_cast(ptr), "setDisabled", Q_ARG(bool, disable != 0)); } void QDesignerObjectInspectorInterface_SetDisabledDefault(void* ptr, char disable) { static_cast(ptr)->QDesignerObjectInspectorInterface::setDisabled(disable != 0); } void QDesignerObjectInspectorInterface_SetFocus2(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "setFocus"); } void QDesignerObjectInspectorInterface_SetFocus2Default(void* ptr) { static_cast(ptr)->QDesignerObjectInspectorInterface::setFocus(); } void QDesignerObjectInspectorInterface_SetHidden(void* ptr, char hidden) { QMetaObject::invokeMethod(static_cast(ptr), "setHidden", Q_ARG(bool, hidden != 0)); } void QDesignerObjectInspectorInterface_SetHiddenDefault(void* ptr, char hidden) { static_cast(ptr)->QDesignerObjectInspectorInterface::setHidden(hidden != 0); } void QDesignerObjectInspectorInterface_Show(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "show"); } void QDesignerObjectInspectorInterface_ShowDefault(void* ptr) { static_cast(ptr)->QDesignerObjectInspectorInterface::show(); } void QDesignerObjectInspectorInterface_ShowFullScreen(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showFullScreen"); } void QDesignerObjectInspectorInterface_ShowFullScreenDefault(void* ptr) { static_cast(ptr)->QDesignerObjectInspectorInterface::showFullScreen(); } void QDesignerObjectInspectorInterface_ShowMaximized(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showMaximized"); } void QDesignerObjectInspectorInterface_ShowMaximizedDefault(void* ptr) { static_cast(ptr)->QDesignerObjectInspectorInterface::showMaximized(); } void QDesignerObjectInspectorInterface_ShowMinimized(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showMinimized"); } void QDesignerObjectInspectorInterface_ShowMinimizedDefault(void* ptr) { static_cast(ptr)->QDesignerObjectInspectorInterface::showMinimized(); } void QDesignerObjectInspectorInterface_ShowNormal(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showNormal"); } void QDesignerObjectInspectorInterface_ShowNormalDefault(void* ptr) { static_cast(ptr)->QDesignerObjectInspectorInterface::showNormal(); } void QDesignerObjectInspectorInterface_TabletEvent(void* ptr, void* event) { static_cast(ptr)->tabletEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_TabletEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::tabletEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_Update(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "update"); } void QDesignerObjectInspectorInterface_UpdateDefault(void* ptr) { static_cast(ptr)->QDesignerObjectInspectorInterface::update(); } void QDesignerObjectInspectorInterface_UpdateMicroFocus(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "updateMicroFocus"); } void QDesignerObjectInspectorInterface_UpdateMicroFocusDefault(void* ptr) { static_cast(ptr)->QDesignerObjectInspectorInterface::updateMicroFocus(); } void QDesignerObjectInspectorInterface_WheelEvent(void* ptr, void* event) { static_cast(ptr)->wheelEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_WheelEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::wheelEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::timerEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::childEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QDesignerObjectInspectorInterface_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDesignerObjectInspectorInterface::connectNotify(*static_cast(sign)); } void QDesignerObjectInspectorInterface_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerObjectInspectorInterface::customEvent(static_cast(event)); } void QDesignerObjectInspectorInterface_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QDesignerObjectInspectorInterface_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QDesignerObjectInspectorInterface::deleteLater(); } void QDesignerObjectInspectorInterface_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QDesignerObjectInspectorInterface_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDesignerObjectInspectorInterface::disconnectNotify(*static_cast(sign)); } char QDesignerObjectInspectorInterface_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } char QDesignerObjectInspectorInterface_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QDesignerObjectInspectorInterface::eventFilter(static_cast(watched), static_cast(event)); } void* QDesignerObjectInspectorInterface_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QDesignerObjectInspectorInterface_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QDesignerObjectInspectorInterface::metaObject()); } class MyQDesignerPropertyEditorInterface: public QDesignerPropertyEditorInterface { public: MyQDesignerPropertyEditorInterface(QWidget *parent, Qt::WindowFlags flags) : QDesignerPropertyEditorInterface(parent, flags) {}; QDesignerFormEditorInterface * core() const { return static_cast(callbackQDesignerPropertyEditorInterface_Core(const_cast(this))); }; QString currentPropertyName() const { return QString(callbackQDesignerPropertyEditorInterface_CurrentPropertyName(const_cast(this))); }; bool isReadOnly() const { return callbackQDesignerPropertyEditorInterface_IsReadOnly(const_cast(this)) != 0; }; QObject * object() const { return static_cast(callbackQDesignerPropertyEditorInterface_Object(const_cast(this))); }; void Signal_PropertyChanged(const QString & name, const QVariant & value) { callbackQDesignerPropertyEditorInterface_PropertyChanged(this, const_cast(name.toUtf8().constData()), const_cast(&value)); }; void setObject(QObject * object) { callbackQDesignerPropertyEditorInterface_SetObject(this, object); }; void setPropertyValue(const QString & name, const QVariant & value, bool changed) { callbackQDesignerPropertyEditorInterface_SetPropertyValue(this, const_cast(name.toUtf8().constData()), const_cast(&value), changed); }; void setReadOnly(bool readOnly) { callbackQDesignerPropertyEditorInterface_SetReadOnly(this, readOnly); }; ~MyQDesignerPropertyEditorInterface() { callbackQDesignerPropertyEditorInterface_DestroyQDesignerPropertyEditorInterface(this); }; void actionEvent(QActionEvent * event) { callbackQDesignerPropertyEditorInterface_ActionEvent(this, event); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQDesignerPropertyEditorInterface_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQDesignerPropertyEditorInterface_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQDesignerPropertyEditorInterface_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQDesignerPropertyEditorInterface_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQDesignerPropertyEditorInterface_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQDesignerPropertyEditorInterface_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQDesignerPropertyEditorInterface_FocusOutEvent(this, event); }; void hideEvent(QHideEvent * event) { callbackQDesignerPropertyEditorInterface_HideEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQDesignerPropertyEditorInterface_LeaveEvent(this, event); }; QSize minimumSizeHint() const { return *static_cast(callbackQDesignerPropertyEditorInterface_MinimumSizeHint(const_cast(this))); }; void moveEvent(QMoveEvent * event) { callbackQDesignerPropertyEditorInterface_MoveEvent(this, event); }; void paintEvent(QPaintEvent * event) { callbackQDesignerPropertyEditorInterface_PaintEvent(this, event); }; void setEnabled(bool vbo) { callbackQDesignerPropertyEditorInterface_SetEnabled(this, vbo); }; void setStyleSheet(const QString & styleSheet) { callbackQDesignerPropertyEditorInterface_SetStyleSheet(this, const_cast(styleSheet.toUtf8().constData())); }; void setVisible(bool visible) { callbackQDesignerPropertyEditorInterface_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQDesignerPropertyEditorInterface_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { callbackQDesignerPropertyEditorInterface_SetWindowTitle(this, const_cast(vqs.toUtf8().constData())); }; void showEvent(QShowEvent * event) { callbackQDesignerPropertyEditorInterface_ShowEvent(this, event); }; QSize sizeHint() const { return *static_cast(callbackQDesignerPropertyEditorInterface_SizeHint(const_cast(this))); }; void changeEvent(QEvent * event) { callbackQDesignerPropertyEditorInterface_ChangeEvent(this, event); }; bool close() { return callbackQDesignerPropertyEditorInterface_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQDesignerPropertyEditorInterface_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQDesignerPropertyEditorInterface_ContextMenuEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQDesignerPropertyEditorInterface_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQDesignerPropertyEditorInterface_HasHeightForWidth(const_cast(this)) != 0; }; int heightForWidth(int w) const { return callbackQDesignerPropertyEditorInterface_HeightForWidth(const_cast(this), w); }; void hide() { callbackQDesignerPropertyEditorInterface_Hide(this); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQDesignerPropertyEditorInterface_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQDesignerPropertyEditorInterface_InputMethodQuery(const_cast(this), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQDesignerPropertyEditorInterface_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQDesignerPropertyEditorInterface_KeyReleaseEvent(this, event); }; void lower() { callbackQDesignerPropertyEditorInterface_Lower(this); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQDesignerPropertyEditorInterface_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQDesignerPropertyEditorInterface_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQDesignerPropertyEditorInterface_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQDesignerPropertyEditorInterface_MouseReleaseEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQDesignerPropertyEditorInterface_NativeEvent(this, const_cast(eventType.toHex().constData()), message, *result) != 0; }; void raise() { callbackQDesignerPropertyEditorInterface_Raise(this); }; void repaint() { callbackQDesignerPropertyEditorInterface_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQDesignerPropertyEditorInterface_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQDesignerPropertyEditorInterface_SetDisabled(this, disable); }; void setFocus() { callbackQDesignerPropertyEditorInterface_SetFocus2(this); }; void setHidden(bool hidden) { callbackQDesignerPropertyEditorInterface_SetHidden(this, hidden); }; void show() { callbackQDesignerPropertyEditorInterface_Show(this); }; void showFullScreen() { callbackQDesignerPropertyEditorInterface_ShowFullScreen(this); }; void showMaximized() { callbackQDesignerPropertyEditorInterface_ShowMaximized(this); }; void showMinimized() { callbackQDesignerPropertyEditorInterface_ShowMinimized(this); }; void showNormal() { callbackQDesignerPropertyEditorInterface_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQDesignerPropertyEditorInterface_TabletEvent(this, event); }; void update() { callbackQDesignerPropertyEditorInterface_Update(this); }; void updateMicroFocus() { callbackQDesignerPropertyEditorInterface_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQDesignerPropertyEditorInterface_WheelEvent(this, event); }; void timerEvent(QTimerEvent * event) { callbackQDesignerPropertyEditorInterface_TimerEvent(this, event); }; void childEvent(QChildEvent * event) { callbackQDesignerPropertyEditorInterface_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQDesignerPropertyEditorInterface_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQDesignerPropertyEditorInterface_CustomEvent(this, event); }; void deleteLater() { callbackQDesignerPropertyEditorInterface_DeleteLater(this); }; void disconnectNotify(const QMetaMethod & sign) { callbackQDesignerPropertyEditorInterface_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQDesignerPropertyEditorInterface_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQDesignerPropertyEditorInterface_MetaObject(const_cast(this))); }; }; void* QDesignerPropertyEditorInterface_NewQDesignerPropertyEditorInterface(void* parent, long long flags) { return new MyQDesignerPropertyEditorInterface(static_cast(parent), static_cast(flags)); } void* QDesignerPropertyEditorInterface_Core(void* ptr) { return static_cast(ptr)->core(); } void* QDesignerPropertyEditorInterface_CoreDefault(void* ptr) { return static_cast(ptr)->QDesignerPropertyEditorInterface::core(); } char* QDesignerPropertyEditorInterface_CurrentPropertyName(void* ptr) { return const_cast(static_cast(ptr)->currentPropertyName().toUtf8().constData()); } char QDesignerPropertyEditorInterface_IsReadOnly(void* ptr) { return static_cast(ptr)->isReadOnly(); } void* QDesignerPropertyEditorInterface_Object(void* ptr) { return static_cast(ptr)->object(); } void QDesignerPropertyEditorInterface_ConnectPropertyChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QDesignerPropertyEditorInterface::propertyChanged), static_cast(ptr), static_cast(&MyQDesignerPropertyEditorInterface::Signal_PropertyChanged)); } void QDesignerPropertyEditorInterface_DisconnectPropertyChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesignerPropertyEditorInterface::propertyChanged), static_cast(ptr), static_cast(&MyQDesignerPropertyEditorInterface::Signal_PropertyChanged)); } void QDesignerPropertyEditorInterface_PropertyChanged(void* ptr, char* name, void* value) { static_cast(ptr)->propertyChanged(QString(name), *static_cast(value)); } void QDesignerPropertyEditorInterface_SetObject(void* ptr, void* object) { QMetaObject::invokeMethod(static_cast(ptr), "setObject", Q_ARG(QObject*, static_cast(object))); } void QDesignerPropertyEditorInterface_SetPropertyValue(void* ptr, char* name, void* value, char changed) { QMetaObject::invokeMethod(static_cast(ptr), "setPropertyValue", Q_ARG(QString, QString(name)), Q_ARG(QVariant, *static_cast(value)), Q_ARG(bool, changed != 0)); } void QDesignerPropertyEditorInterface_SetReadOnly(void* ptr, char readOnly) { QMetaObject::invokeMethod(static_cast(ptr), "setReadOnly", Q_ARG(bool, readOnly != 0)); } void QDesignerPropertyEditorInterface_DestroyQDesignerPropertyEditorInterface(void* ptr) { static_cast(ptr)->~QDesignerPropertyEditorInterface(); } void QDesignerPropertyEditorInterface_DestroyQDesignerPropertyEditorInterfaceDefault(void* ptr) { } void QDesignerPropertyEditorInterface_ActionEvent(void* ptr, void* event) { static_cast(ptr)->actionEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_ActionEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::actionEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_DragEnterEvent(void* ptr, void* event) { static_cast(ptr)->dragEnterEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_DragEnterEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::dragEnterEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_DragLeaveEvent(void* ptr, void* event) { static_cast(ptr)->dragLeaveEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_DragLeaveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::dragLeaveEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_DragMoveEvent(void* ptr, void* event) { static_cast(ptr)->dragMoveEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_DragMoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::dragMoveEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_DropEvent(void* ptr, void* event) { static_cast(ptr)->dropEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_DropEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::dropEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_EnterEvent(void* ptr, void* event) { static_cast(ptr)->enterEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_EnterEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::enterEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_FocusInEvent(void* ptr, void* event) { static_cast(ptr)->focusInEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_FocusInEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::focusInEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_FocusOutEvent(void* ptr, void* event) { static_cast(ptr)->focusOutEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_FocusOutEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::focusOutEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_HideEvent(void* ptr, void* event) { static_cast(ptr)->hideEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_HideEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::hideEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_LeaveEvent(void* ptr, void* event) { static_cast(ptr)->leaveEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_LeaveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::leaveEvent(static_cast(event)); } void* QDesignerPropertyEditorInterface_MinimumSizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QDesignerPropertyEditorInterface_MinimumSizeHintDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QDesignerPropertyEditorInterface::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QDesignerPropertyEditorInterface_MoveEvent(void* ptr, void* event) { static_cast(ptr)->moveEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_MoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::moveEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_PaintEvent(void* ptr, void* event) { static_cast(ptr)->paintEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_PaintEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::paintEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_SetEnabled(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setEnabled", Q_ARG(bool, vbo != 0)); } void QDesignerPropertyEditorInterface_SetEnabledDefault(void* ptr, char vbo) { static_cast(ptr)->QDesignerPropertyEditorInterface::setEnabled(vbo != 0); } void QDesignerPropertyEditorInterface_SetStyleSheet(void* ptr, char* styleSheet) { QMetaObject::invokeMethod(static_cast(ptr), "setStyleSheet", Q_ARG(QString, QString(styleSheet))); } void QDesignerPropertyEditorInterface_SetStyleSheetDefault(void* ptr, char* styleSheet) { static_cast(ptr)->QDesignerPropertyEditorInterface::setStyleSheet(QString(styleSheet)); } void QDesignerPropertyEditorInterface_SetVisible(void* ptr, char visible) { QMetaObject::invokeMethod(static_cast(ptr), "setVisible", Q_ARG(bool, visible != 0)); } void QDesignerPropertyEditorInterface_SetVisibleDefault(void* ptr, char visible) { static_cast(ptr)->QDesignerPropertyEditorInterface::setVisible(visible != 0); } void QDesignerPropertyEditorInterface_SetWindowModified(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setWindowModified", Q_ARG(bool, vbo != 0)); } void QDesignerPropertyEditorInterface_SetWindowModifiedDefault(void* ptr, char vbo) { static_cast(ptr)->QDesignerPropertyEditorInterface::setWindowModified(vbo != 0); } void QDesignerPropertyEditorInterface_SetWindowTitle(void* ptr, char* vqs) { QMetaObject::invokeMethod(static_cast(ptr), "setWindowTitle", Q_ARG(QString, QString(vqs))); } void QDesignerPropertyEditorInterface_SetWindowTitleDefault(void* ptr, char* vqs) { static_cast(ptr)->QDesignerPropertyEditorInterface::setWindowTitle(QString(vqs)); } void QDesignerPropertyEditorInterface_ShowEvent(void* ptr, void* event) { static_cast(ptr)->showEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_ShowEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::showEvent(static_cast(event)); } void* QDesignerPropertyEditorInterface_SizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QDesignerPropertyEditorInterface_SizeHintDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QDesignerPropertyEditorInterface::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QDesignerPropertyEditorInterface_ChangeEvent(void* ptr, void* event) { static_cast(ptr)->changeEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_ChangeEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::changeEvent(static_cast(event)); } char QDesignerPropertyEditorInterface_Close(void* ptr) { bool returnArg; QMetaObject::invokeMethod(static_cast(ptr), "close", Q_RETURN_ARG(bool, returnArg)); return returnArg; } char QDesignerPropertyEditorInterface_CloseDefault(void* ptr) { return static_cast(ptr)->QDesignerPropertyEditorInterface::close(); } void QDesignerPropertyEditorInterface_CloseEvent(void* ptr, void* event) { static_cast(ptr)->closeEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_CloseEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::closeEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_ContextMenuEvent(void* ptr, void* event) { static_cast(ptr)->contextMenuEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_ContextMenuEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::contextMenuEvent(static_cast(event)); } char QDesignerPropertyEditorInterface_FocusNextPrevChild(void* ptr, char next) { return static_cast(ptr)->focusNextPrevChild(next != 0); } char QDesignerPropertyEditorInterface_FocusNextPrevChildDefault(void* ptr, char next) { return static_cast(ptr)->QDesignerPropertyEditorInterface::focusNextPrevChild(next != 0); } char QDesignerPropertyEditorInterface_HasHeightForWidth(void* ptr) { return static_cast(ptr)->hasHeightForWidth(); } char QDesignerPropertyEditorInterface_HasHeightForWidthDefault(void* ptr) { return static_cast(ptr)->QDesignerPropertyEditorInterface::hasHeightForWidth(); } int QDesignerPropertyEditorInterface_HeightForWidth(void* ptr, int w) { return static_cast(ptr)->heightForWidth(w); } int QDesignerPropertyEditorInterface_HeightForWidthDefault(void* ptr, int w) { return static_cast(ptr)->QDesignerPropertyEditorInterface::heightForWidth(w); } void QDesignerPropertyEditorInterface_Hide(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "hide"); } void QDesignerPropertyEditorInterface_HideDefault(void* ptr) { static_cast(ptr)->QDesignerPropertyEditorInterface::hide(); } void QDesignerPropertyEditorInterface_InputMethodEvent(void* ptr, void* event) { static_cast(ptr)->inputMethodEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_InputMethodEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::inputMethodEvent(static_cast(event)); } void* QDesignerPropertyEditorInterface_InputMethodQuery(void* ptr, long long query) { return new QVariant(static_cast(ptr)->inputMethodQuery(static_cast(query))); } void* QDesignerPropertyEditorInterface_InputMethodQueryDefault(void* ptr, long long query) { return new QVariant(static_cast(ptr)->QDesignerPropertyEditorInterface::inputMethodQuery(static_cast(query))); } void QDesignerPropertyEditorInterface_KeyPressEvent(void* ptr, void* event) { static_cast(ptr)->keyPressEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_KeyPressEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::keyPressEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_KeyReleaseEvent(void* ptr, void* event) { static_cast(ptr)->keyReleaseEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_KeyReleaseEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::keyReleaseEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_Lower(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "lower"); } void QDesignerPropertyEditorInterface_LowerDefault(void* ptr) { static_cast(ptr)->QDesignerPropertyEditorInterface::lower(); } void QDesignerPropertyEditorInterface_MouseDoubleClickEvent(void* ptr, void* event) { static_cast(ptr)->mouseDoubleClickEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_MouseDoubleClickEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::mouseDoubleClickEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_MouseMoveEvent(void* ptr, void* event) { static_cast(ptr)->mouseMoveEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_MouseMoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::mouseMoveEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_MousePressEvent(void* ptr, void* event) { static_cast(ptr)->mousePressEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_MousePressEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::mousePressEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_MouseReleaseEvent(void* ptr, void* event) { static_cast(ptr)->mouseReleaseEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_MouseReleaseEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::mouseReleaseEvent(static_cast(event)); } char QDesignerPropertyEditorInterface_NativeEvent(void* ptr, char* eventType, void* message, long result) { return static_cast(ptr)->nativeEvent(QByteArray::fromHex(QString(eventType).toUtf8()), message, &result); } char QDesignerPropertyEditorInterface_NativeEventDefault(void* ptr, char* eventType, void* message, long result) { return static_cast(ptr)->QDesignerPropertyEditorInterface::nativeEvent(QByteArray::fromHex(QString(eventType).toUtf8()), message, &result); } void QDesignerPropertyEditorInterface_Raise(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "raise"); } void QDesignerPropertyEditorInterface_RaiseDefault(void* ptr) { static_cast(ptr)->QDesignerPropertyEditorInterface::raise(); } void QDesignerPropertyEditorInterface_Repaint(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "repaint"); } void QDesignerPropertyEditorInterface_RepaintDefault(void* ptr) { static_cast(ptr)->QDesignerPropertyEditorInterface::repaint(); } void QDesignerPropertyEditorInterface_ResizeEvent(void* ptr, void* event) { static_cast(ptr)->resizeEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_ResizeEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::resizeEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_SetDisabled(void* ptr, char disable) { QMetaObject::invokeMethod(static_cast(ptr), "setDisabled", Q_ARG(bool, disable != 0)); } void QDesignerPropertyEditorInterface_SetDisabledDefault(void* ptr, char disable) { static_cast(ptr)->QDesignerPropertyEditorInterface::setDisabled(disable != 0); } void QDesignerPropertyEditorInterface_SetFocus2(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "setFocus"); } void QDesignerPropertyEditorInterface_SetFocus2Default(void* ptr) { static_cast(ptr)->QDesignerPropertyEditorInterface::setFocus(); } void QDesignerPropertyEditorInterface_SetHidden(void* ptr, char hidden) { QMetaObject::invokeMethod(static_cast(ptr), "setHidden", Q_ARG(bool, hidden != 0)); } void QDesignerPropertyEditorInterface_SetHiddenDefault(void* ptr, char hidden) { static_cast(ptr)->QDesignerPropertyEditorInterface::setHidden(hidden != 0); } void QDesignerPropertyEditorInterface_Show(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "show"); } void QDesignerPropertyEditorInterface_ShowDefault(void* ptr) { static_cast(ptr)->QDesignerPropertyEditorInterface::show(); } void QDesignerPropertyEditorInterface_ShowFullScreen(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showFullScreen"); } void QDesignerPropertyEditorInterface_ShowFullScreenDefault(void* ptr) { static_cast(ptr)->QDesignerPropertyEditorInterface::showFullScreen(); } void QDesignerPropertyEditorInterface_ShowMaximized(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showMaximized"); } void QDesignerPropertyEditorInterface_ShowMaximizedDefault(void* ptr) { static_cast(ptr)->QDesignerPropertyEditorInterface::showMaximized(); } void QDesignerPropertyEditorInterface_ShowMinimized(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showMinimized"); } void QDesignerPropertyEditorInterface_ShowMinimizedDefault(void* ptr) { static_cast(ptr)->QDesignerPropertyEditorInterface::showMinimized(); } void QDesignerPropertyEditorInterface_ShowNormal(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showNormal"); } void QDesignerPropertyEditorInterface_ShowNormalDefault(void* ptr) { static_cast(ptr)->QDesignerPropertyEditorInterface::showNormal(); } void QDesignerPropertyEditorInterface_TabletEvent(void* ptr, void* event) { static_cast(ptr)->tabletEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_TabletEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::tabletEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_Update(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "update"); } void QDesignerPropertyEditorInterface_UpdateDefault(void* ptr) { static_cast(ptr)->QDesignerPropertyEditorInterface::update(); } void QDesignerPropertyEditorInterface_UpdateMicroFocus(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "updateMicroFocus"); } void QDesignerPropertyEditorInterface_UpdateMicroFocusDefault(void* ptr) { static_cast(ptr)->QDesignerPropertyEditorInterface::updateMicroFocus(); } void QDesignerPropertyEditorInterface_WheelEvent(void* ptr, void* event) { static_cast(ptr)->wheelEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_WheelEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::wheelEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::timerEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::childEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QDesignerPropertyEditorInterface_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDesignerPropertyEditorInterface::connectNotify(*static_cast(sign)); } void QDesignerPropertyEditorInterface_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerPropertyEditorInterface::customEvent(static_cast(event)); } void QDesignerPropertyEditorInterface_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QDesignerPropertyEditorInterface_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QDesignerPropertyEditorInterface::deleteLater(); } void QDesignerPropertyEditorInterface_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QDesignerPropertyEditorInterface_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDesignerPropertyEditorInterface::disconnectNotify(*static_cast(sign)); } char QDesignerPropertyEditorInterface_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } char QDesignerPropertyEditorInterface_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QDesignerPropertyEditorInterface::eventFilter(static_cast(watched), static_cast(event)); } void* QDesignerPropertyEditorInterface_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QDesignerPropertyEditorInterface_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QDesignerPropertyEditorInterface::metaObject()); } class MyQDesignerPropertySheetExtension: public QDesignerPropertySheetExtension { public: int count() const { return callbackQDesignerPropertySheetExtension_Count(const_cast(this)); }; bool hasReset(int index) const { return callbackQDesignerPropertySheetExtension_HasReset(const_cast(this), index) != 0; }; int indexOf(const QString & name) const { return callbackQDesignerPropertySheetExtension_IndexOf(const_cast(this), const_cast(name.toUtf8().constData())); }; bool isAttribute(int index) const { return callbackQDesignerPropertySheetExtension_IsAttribute(const_cast(this), index) != 0; }; bool isChanged(int index) const { return callbackQDesignerPropertySheetExtension_IsChanged(const_cast(this), index) != 0; }; bool isEnabled(int index) const { return callbackQDesignerPropertySheetExtension_IsEnabled(const_cast(this), index) != 0; }; bool isVisible(int index) const { return callbackQDesignerPropertySheetExtension_IsVisible(const_cast(this), index) != 0; }; QVariant property(int index) const { return *static_cast(callbackQDesignerPropertySheetExtension_Property(const_cast(this), index)); }; QString propertyGroup(int index) const { return QString(callbackQDesignerPropertySheetExtension_PropertyGroup(const_cast(this), index)); }; QString propertyName(int index) const { return QString(callbackQDesignerPropertySheetExtension_PropertyName(const_cast(this), index)); }; bool reset(int index) { return callbackQDesignerPropertySheetExtension_Reset(this, index) != 0; }; void setAttribute(int index, bool attribute) { callbackQDesignerPropertySheetExtension_SetAttribute(this, index, attribute); }; void setChanged(int index, bool changed) { callbackQDesignerPropertySheetExtension_SetChanged(this, index, changed); }; void setProperty(int index, const QVariant & value) { callbackQDesignerPropertySheetExtension_SetProperty(this, index, const_cast(&value)); }; void setPropertyGroup(int index, const QString & group) { callbackQDesignerPropertySheetExtension_SetPropertyGroup(this, index, const_cast(group.toUtf8().constData())); }; void setVisible(int index, bool visible) { callbackQDesignerPropertySheetExtension_SetVisible(this, index, visible); }; ~MyQDesignerPropertySheetExtension() { callbackQDesignerPropertySheetExtension_DestroyQDesignerPropertySheetExtension(this); }; }; int QDesignerPropertySheetExtension_Count(void* ptr) { return static_cast(ptr)->count(); } char QDesignerPropertySheetExtension_HasReset(void* ptr, int index) { return static_cast(ptr)->hasReset(index); } int QDesignerPropertySheetExtension_IndexOf(void* ptr, char* name) { return static_cast(ptr)->indexOf(QString(name)); } char QDesignerPropertySheetExtension_IsAttribute(void* ptr, int index) { return static_cast(ptr)->isAttribute(index); } char QDesignerPropertySheetExtension_IsChanged(void* ptr, int index) { return static_cast(ptr)->isChanged(index); } char QDesignerPropertySheetExtension_IsEnabled(void* ptr, int index) { return static_cast(ptr)->isEnabled(index); } char QDesignerPropertySheetExtension_IsEnabledDefault(void* ptr, int index) { return static_cast(ptr)->QDesignerPropertySheetExtension::isEnabled(index); } char QDesignerPropertySheetExtension_IsVisible(void* ptr, int index) { return static_cast(ptr)->isVisible(index); } void* QDesignerPropertySheetExtension_Property(void* ptr, int index) { return new QVariant(static_cast(ptr)->property(index)); } char* QDesignerPropertySheetExtension_PropertyGroup(void* ptr, int index) { return const_cast(static_cast(ptr)->propertyGroup(index).toUtf8().constData()); } char* QDesignerPropertySheetExtension_PropertyName(void* ptr, int index) { return const_cast(static_cast(ptr)->propertyName(index).toUtf8().constData()); } char QDesignerPropertySheetExtension_Reset(void* ptr, int index) { return static_cast(ptr)->reset(index); } void QDesignerPropertySheetExtension_SetAttribute(void* ptr, int index, char attribute) { static_cast(ptr)->setAttribute(index, attribute != 0); } void QDesignerPropertySheetExtension_SetChanged(void* ptr, int index, char changed) { static_cast(ptr)->setChanged(index, changed != 0); } void QDesignerPropertySheetExtension_SetProperty(void* ptr, int index, void* value) { static_cast(ptr)->setProperty(index, *static_cast(value)); } void QDesignerPropertySheetExtension_SetPropertyGroup(void* ptr, int index, char* group) { static_cast(ptr)->setPropertyGroup(index, QString(group)); } void QDesignerPropertySheetExtension_SetVisible(void* ptr, int index, char visible) { static_cast(ptr)->setVisible(index, visible != 0); } void QDesignerPropertySheetExtension_DestroyQDesignerPropertySheetExtension(void* ptr) { static_cast(ptr)->~QDesignerPropertySheetExtension(); } void QDesignerPropertySheetExtension_DestroyQDesignerPropertySheetExtensionDefault(void* ptr) { } class MyQDesignerTaskMenuExtension: public QDesignerTaskMenuExtension { public: QAction * preferredEditAction() const { return static_cast(callbackQDesignerTaskMenuExtension_PreferredEditAction(const_cast(this))); }; ~MyQDesignerTaskMenuExtension() { callbackQDesignerTaskMenuExtension_DestroyQDesignerTaskMenuExtension(this); }; }; void* QDesignerTaskMenuExtension_PreferredEditAction(void* ptr) { return static_cast(ptr)->preferredEditAction(); } void* QDesignerTaskMenuExtension_PreferredEditActionDefault(void* ptr) { return static_cast(ptr)->QDesignerTaskMenuExtension::preferredEditAction(); } void QDesignerTaskMenuExtension_DestroyQDesignerTaskMenuExtension(void* ptr) { static_cast(ptr)->~QDesignerTaskMenuExtension(); } void QDesignerTaskMenuExtension_DestroyQDesignerTaskMenuExtensionDefault(void* ptr) { } class MyQDesignerWidgetBoxInterface: public QDesignerWidgetBoxInterface { public: QString fileName() const { return QString(callbackQDesignerWidgetBoxInterface_FileName(const_cast(this))); }; bool load() { return callbackQDesignerWidgetBoxInterface_Load(this) != 0; }; bool save() { return callbackQDesignerWidgetBoxInterface_Save(this) != 0; }; void setFileName(const QString & fileName) { callbackQDesignerWidgetBoxInterface_SetFileName(this, const_cast(fileName.toUtf8().constData())); }; ~MyQDesignerWidgetBoxInterface() { callbackQDesignerWidgetBoxInterface_DestroyQDesignerWidgetBoxInterface(this); }; void actionEvent(QActionEvent * event) { callbackQDesignerWidgetBoxInterface_ActionEvent(this, event); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQDesignerWidgetBoxInterface_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQDesignerWidgetBoxInterface_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQDesignerWidgetBoxInterface_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQDesignerWidgetBoxInterface_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQDesignerWidgetBoxInterface_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQDesignerWidgetBoxInterface_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQDesignerWidgetBoxInterface_FocusOutEvent(this, event); }; void hideEvent(QHideEvent * event) { callbackQDesignerWidgetBoxInterface_HideEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQDesignerWidgetBoxInterface_LeaveEvent(this, event); }; QSize minimumSizeHint() const { return *static_cast(callbackQDesignerWidgetBoxInterface_MinimumSizeHint(const_cast(this))); }; void moveEvent(QMoveEvent * event) { callbackQDesignerWidgetBoxInterface_MoveEvent(this, event); }; void paintEvent(QPaintEvent * event) { callbackQDesignerWidgetBoxInterface_PaintEvent(this, event); }; void setEnabled(bool vbo) { callbackQDesignerWidgetBoxInterface_SetEnabled(this, vbo); }; void setStyleSheet(const QString & styleSheet) { callbackQDesignerWidgetBoxInterface_SetStyleSheet(this, const_cast(styleSheet.toUtf8().constData())); }; void setVisible(bool visible) { callbackQDesignerWidgetBoxInterface_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQDesignerWidgetBoxInterface_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { callbackQDesignerWidgetBoxInterface_SetWindowTitle(this, const_cast(vqs.toUtf8().constData())); }; void showEvent(QShowEvent * event) { callbackQDesignerWidgetBoxInterface_ShowEvent(this, event); }; QSize sizeHint() const { return *static_cast(callbackQDesignerWidgetBoxInterface_SizeHint(const_cast(this))); }; void changeEvent(QEvent * event) { callbackQDesignerWidgetBoxInterface_ChangeEvent(this, event); }; bool close() { return callbackQDesignerWidgetBoxInterface_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQDesignerWidgetBoxInterface_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQDesignerWidgetBoxInterface_ContextMenuEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQDesignerWidgetBoxInterface_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQDesignerWidgetBoxInterface_HasHeightForWidth(const_cast(this)) != 0; }; int heightForWidth(int w) const { return callbackQDesignerWidgetBoxInterface_HeightForWidth(const_cast(this), w); }; void hide() { callbackQDesignerWidgetBoxInterface_Hide(this); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQDesignerWidgetBoxInterface_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQDesignerWidgetBoxInterface_InputMethodQuery(const_cast(this), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQDesignerWidgetBoxInterface_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQDesignerWidgetBoxInterface_KeyReleaseEvent(this, event); }; void lower() { callbackQDesignerWidgetBoxInterface_Lower(this); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQDesignerWidgetBoxInterface_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQDesignerWidgetBoxInterface_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQDesignerWidgetBoxInterface_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQDesignerWidgetBoxInterface_MouseReleaseEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQDesignerWidgetBoxInterface_NativeEvent(this, const_cast(eventType.toHex().constData()), message, *result) != 0; }; void raise() { callbackQDesignerWidgetBoxInterface_Raise(this); }; void repaint() { callbackQDesignerWidgetBoxInterface_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQDesignerWidgetBoxInterface_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQDesignerWidgetBoxInterface_SetDisabled(this, disable); }; void setFocus() { callbackQDesignerWidgetBoxInterface_SetFocus2(this); }; void setHidden(bool hidden) { callbackQDesignerWidgetBoxInterface_SetHidden(this, hidden); }; void show() { callbackQDesignerWidgetBoxInterface_Show(this); }; void showFullScreen() { callbackQDesignerWidgetBoxInterface_ShowFullScreen(this); }; void showMaximized() { callbackQDesignerWidgetBoxInterface_ShowMaximized(this); }; void showMinimized() { callbackQDesignerWidgetBoxInterface_ShowMinimized(this); }; void showNormal() { callbackQDesignerWidgetBoxInterface_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQDesignerWidgetBoxInterface_TabletEvent(this, event); }; void update() { callbackQDesignerWidgetBoxInterface_Update(this); }; void updateMicroFocus() { callbackQDesignerWidgetBoxInterface_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQDesignerWidgetBoxInterface_WheelEvent(this, event); }; void timerEvent(QTimerEvent * event) { callbackQDesignerWidgetBoxInterface_TimerEvent(this, event); }; void childEvent(QChildEvent * event) { callbackQDesignerWidgetBoxInterface_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQDesignerWidgetBoxInterface_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQDesignerWidgetBoxInterface_CustomEvent(this, event); }; void deleteLater() { callbackQDesignerWidgetBoxInterface_DeleteLater(this); }; void disconnectNotify(const QMetaMethod & sign) { callbackQDesignerWidgetBoxInterface_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQDesignerWidgetBoxInterface_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQDesignerWidgetBoxInterface_MetaObject(const_cast(this))); }; }; char* QDesignerWidgetBoxInterface_FileName(void* ptr) { return const_cast(static_cast(ptr)->fileName().toUtf8().constData()); } char QDesignerWidgetBoxInterface_Load(void* ptr) { return static_cast(ptr)->load(); } char QDesignerWidgetBoxInterface_Save(void* ptr) { return static_cast(ptr)->save(); } void QDesignerWidgetBoxInterface_SetFileName(void* ptr, char* fileName) { static_cast(ptr)->setFileName(QString(fileName)); } void QDesignerWidgetBoxInterface_DestroyQDesignerWidgetBoxInterface(void* ptr) { static_cast(ptr)->~QDesignerWidgetBoxInterface(); } void QDesignerWidgetBoxInterface_DestroyQDesignerWidgetBoxInterfaceDefault(void* ptr) { } void QDesignerWidgetBoxInterface_ActionEvent(void* ptr, void* event) { static_cast(ptr)->actionEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_ActionEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::actionEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_DragEnterEvent(void* ptr, void* event) { static_cast(ptr)->dragEnterEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_DragEnterEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::dragEnterEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_DragLeaveEvent(void* ptr, void* event) { static_cast(ptr)->dragLeaveEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_DragLeaveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::dragLeaveEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_DragMoveEvent(void* ptr, void* event) { static_cast(ptr)->dragMoveEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_DragMoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::dragMoveEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_DropEvent(void* ptr, void* event) { static_cast(ptr)->dropEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_DropEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::dropEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_EnterEvent(void* ptr, void* event) { static_cast(ptr)->enterEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_EnterEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::enterEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_FocusInEvent(void* ptr, void* event) { static_cast(ptr)->focusInEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_FocusInEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::focusInEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_FocusOutEvent(void* ptr, void* event) { static_cast(ptr)->focusOutEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_FocusOutEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::focusOutEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_HideEvent(void* ptr, void* event) { static_cast(ptr)->hideEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_HideEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::hideEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_LeaveEvent(void* ptr, void* event) { static_cast(ptr)->leaveEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_LeaveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::leaveEvent(static_cast(event)); } void* QDesignerWidgetBoxInterface_MinimumSizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QDesignerWidgetBoxInterface_MinimumSizeHintDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QDesignerWidgetBoxInterface::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QDesignerWidgetBoxInterface_MoveEvent(void* ptr, void* event) { static_cast(ptr)->moveEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_MoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::moveEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_PaintEvent(void* ptr, void* event) { static_cast(ptr)->paintEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_PaintEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::paintEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_SetEnabled(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setEnabled", Q_ARG(bool, vbo != 0)); } void QDesignerWidgetBoxInterface_SetEnabledDefault(void* ptr, char vbo) { static_cast(ptr)->QDesignerWidgetBoxInterface::setEnabled(vbo != 0); } void QDesignerWidgetBoxInterface_SetStyleSheet(void* ptr, char* styleSheet) { QMetaObject::invokeMethod(static_cast(ptr), "setStyleSheet", Q_ARG(QString, QString(styleSheet))); } void QDesignerWidgetBoxInterface_SetStyleSheetDefault(void* ptr, char* styleSheet) { static_cast(ptr)->QDesignerWidgetBoxInterface::setStyleSheet(QString(styleSheet)); } void QDesignerWidgetBoxInterface_SetVisible(void* ptr, char visible) { QMetaObject::invokeMethod(static_cast(ptr), "setVisible", Q_ARG(bool, visible != 0)); } void QDesignerWidgetBoxInterface_SetVisibleDefault(void* ptr, char visible) { static_cast(ptr)->QDesignerWidgetBoxInterface::setVisible(visible != 0); } void QDesignerWidgetBoxInterface_SetWindowModified(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setWindowModified", Q_ARG(bool, vbo != 0)); } void QDesignerWidgetBoxInterface_SetWindowModifiedDefault(void* ptr, char vbo) { static_cast(ptr)->QDesignerWidgetBoxInterface::setWindowModified(vbo != 0); } void QDesignerWidgetBoxInterface_SetWindowTitle(void* ptr, char* vqs) { QMetaObject::invokeMethod(static_cast(ptr), "setWindowTitle", Q_ARG(QString, QString(vqs))); } void QDesignerWidgetBoxInterface_SetWindowTitleDefault(void* ptr, char* vqs) { static_cast(ptr)->QDesignerWidgetBoxInterface::setWindowTitle(QString(vqs)); } void QDesignerWidgetBoxInterface_ShowEvent(void* ptr, void* event) { static_cast(ptr)->showEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_ShowEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::showEvent(static_cast(event)); } void* QDesignerWidgetBoxInterface_SizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QDesignerWidgetBoxInterface_SizeHintDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QDesignerWidgetBoxInterface::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QDesignerWidgetBoxInterface_ChangeEvent(void* ptr, void* event) { static_cast(ptr)->changeEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_ChangeEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::changeEvent(static_cast(event)); } char QDesignerWidgetBoxInterface_Close(void* ptr) { bool returnArg; QMetaObject::invokeMethod(static_cast(ptr), "close", Q_RETURN_ARG(bool, returnArg)); return returnArg; } char QDesignerWidgetBoxInterface_CloseDefault(void* ptr) { return static_cast(ptr)->QDesignerWidgetBoxInterface::close(); } void QDesignerWidgetBoxInterface_CloseEvent(void* ptr, void* event) { static_cast(ptr)->closeEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_CloseEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::closeEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_ContextMenuEvent(void* ptr, void* event) { static_cast(ptr)->contextMenuEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_ContextMenuEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::contextMenuEvent(static_cast(event)); } char QDesignerWidgetBoxInterface_FocusNextPrevChild(void* ptr, char next) { return static_cast(ptr)->focusNextPrevChild(next != 0); } char QDesignerWidgetBoxInterface_FocusNextPrevChildDefault(void* ptr, char next) { return static_cast(ptr)->QDesignerWidgetBoxInterface::focusNextPrevChild(next != 0); } char QDesignerWidgetBoxInterface_HasHeightForWidth(void* ptr) { return static_cast(ptr)->hasHeightForWidth(); } char QDesignerWidgetBoxInterface_HasHeightForWidthDefault(void* ptr) { return static_cast(ptr)->QDesignerWidgetBoxInterface::hasHeightForWidth(); } int QDesignerWidgetBoxInterface_HeightForWidth(void* ptr, int w) { return static_cast(ptr)->heightForWidth(w); } int QDesignerWidgetBoxInterface_HeightForWidthDefault(void* ptr, int w) { return static_cast(ptr)->QDesignerWidgetBoxInterface::heightForWidth(w); } void QDesignerWidgetBoxInterface_Hide(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "hide"); } void QDesignerWidgetBoxInterface_HideDefault(void* ptr) { static_cast(ptr)->QDesignerWidgetBoxInterface::hide(); } void QDesignerWidgetBoxInterface_InputMethodEvent(void* ptr, void* event) { static_cast(ptr)->inputMethodEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_InputMethodEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::inputMethodEvent(static_cast(event)); } void* QDesignerWidgetBoxInterface_InputMethodQuery(void* ptr, long long query) { return new QVariant(static_cast(ptr)->inputMethodQuery(static_cast(query))); } void* QDesignerWidgetBoxInterface_InputMethodQueryDefault(void* ptr, long long query) { return new QVariant(static_cast(ptr)->QDesignerWidgetBoxInterface::inputMethodQuery(static_cast(query))); } void QDesignerWidgetBoxInterface_KeyPressEvent(void* ptr, void* event) { static_cast(ptr)->keyPressEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_KeyPressEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::keyPressEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_KeyReleaseEvent(void* ptr, void* event) { static_cast(ptr)->keyReleaseEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_KeyReleaseEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::keyReleaseEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_Lower(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "lower"); } void QDesignerWidgetBoxInterface_LowerDefault(void* ptr) { static_cast(ptr)->QDesignerWidgetBoxInterface::lower(); } void QDesignerWidgetBoxInterface_MouseDoubleClickEvent(void* ptr, void* event) { static_cast(ptr)->mouseDoubleClickEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_MouseDoubleClickEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::mouseDoubleClickEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_MouseMoveEvent(void* ptr, void* event) { static_cast(ptr)->mouseMoveEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_MouseMoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::mouseMoveEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_MousePressEvent(void* ptr, void* event) { static_cast(ptr)->mousePressEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_MousePressEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::mousePressEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_MouseReleaseEvent(void* ptr, void* event) { static_cast(ptr)->mouseReleaseEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_MouseReleaseEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::mouseReleaseEvent(static_cast(event)); } char QDesignerWidgetBoxInterface_NativeEvent(void* ptr, char* eventType, void* message, long result) { return static_cast(ptr)->nativeEvent(QByteArray::fromHex(QString(eventType).toUtf8()), message, &result); } char QDesignerWidgetBoxInterface_NativeEventDefault(void* ptr, char* eventType, void* message, long result) { return static_cast(ptr)->QDesignerWidgetBoxInterface::nativeEvent(QByteArray::fromHex(QString(eventType).toUtf8()), message, &result); } void QDesignerWidgetBoxInterface_Raise(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "raise"); } void QDesignerWidgetBoxInterface_RaiseDefault(void* ptr) { static_cast(ptr)->QDesignerWidgetBoxInterface::raise(); } void QDesignerWidgetBoxInterface_Repaint(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "repaint"); } void QDesignerWidgetBoxInterface_RepaintDefault(void* ptr) { static_cast(ptr)->QDesignerWidgetBoxInterface::repaint(); } void QDesignerWidgetBoxInterface_ResizeEvent(void* ptr, void* event) { static_cast(ptr)->resizeEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_ResizeEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::resizeEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_SetDisabled(void* ptr, char disable) { QMetaObject::invokeMethod(static_cast(ptr), "setDisabled", Q_ARG(bool, disable != 0)); } void QDesignerWidgetBoxInterface_SetDisabledDefault(void* ptr, char disable) { static_cast(ptr)->QDesignerWidgetBoxInterface::setDisabled(disable != 0); } void QDesignerWidgetBoxInterface_SetFocus2(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "setFocus"); } void QDesignerWidgetBoxInterface_SetFocus2Default(void* ptr) { static_cast(ptr)->QDesignerWidgetBoxInterface::setFocus(); } void QDesignerWidgetBoxInterface_SetHidden(void* ptr, char hidden) { QMetaObject::invokeMethod(static_cast(ptr), "setHidden", Q_ARG(bool, hidden != 0)); } void QDesignerWidgetBoxInterface_SetHiddenDefault(void* ptr, char hidden) { static_cast(ptr)->QDesignerWidgetBoxInterface::setHidden(hidden != 0); } void QDesignerWidgetBoxInterface_Show(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "show"); } void QDesignerWidgetBoxInterface_ShowDefault(void* ptr) { static_cast(ptr)->QDesignerWidgetBoxInterface::show(); } void QDesignerWidgetBoxInterface_ShowFullScreen(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showFullScreen"); } void QDesignerWidgetBoxInterface_ShowFullScreenDefault(void* ptr) { static_cast(ptr)->QDesignerWidgetBoxInterface::showFullScreen(); } void QDesignerWidgetBoxInterface_ShowMaximized(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showMaximized"); } void QDesignerWidgetBoxInterface_ShowMaximizedDefault(void* ptr) { static_cast(ptr)->QDesignerWidgetBoxInterface::showMaximized(); } void QDesignerWidgetBoxInterface_ShowMinimized(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showMinimized"); } void QDesignerWidgetBoxInterface_ShowMinimizedDefault(void* ptr) { static_cast(ptr)->QDesignerWidgetBoxInterface::showMinimized(); } void QDesignerWidgetBoxInterface_ShowNormal(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showNormal"); } void QDesignerWidgetBoxInterface_ShowNormalDefault(void* ptr) { static_cast(ptr)->QDesignerWidgetBoxInterface::showNormal(); } void QDesignerWidgetBoxInterface_TabletEvent(void* ptr, void* event) { static_cast(ptr)->tabletEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_TabletEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::tabletEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_Update(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "update"); } void QDesignerWidgetBoxInterface_UpdateDefault(void* ptr) { static_cast(ptr)->QDesignerWidgetBoxInterface::update(); } void QDesignerWidgetBoxInterface_UpdateMicroFocus(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "updateMicroFocus"); } void QDesignerWidgetBoxInterface_UpdateMicroFocusDefault(void* ptr) { static_cast(ptr)->QDesignerWidgetBoxInterface::updateMicroFocus(); } void QDesignerWidgetBoxInterface_WheelEvent(void* ptr, void* event) { static_cast(ptr)->wheelEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_WheelEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::wheelEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::timerEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::childEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QDesignerWidgetBoxInterface_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDesignerWidgetBoxInterface::connectNotify(*static_cast(sign)); } void QDesignerWidgetBoxInterface_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QDesignerWidgetBoxInterface::customEvent(static_cast(event)); } void QDesignerWidgetBoxInterface_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QDesignerWidgetBoxInterface_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QDesignerWidgetBoxInterface::deleteLater(); } void QDesignerWidgetBoxInterface_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QDesignerWidgetBoxInterface_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDesignerWidgetBoxInterface::disconnectNotify(*static_cast(sign)); } char QDesignerWidgetBoxInterface_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } char QDesignerWidgetBoxInterface_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QDesignerWidgetBoxInterface::eventFilter(static_cast(watched), static_cast(event)); } void* QDesignerWidgetBoxInterface_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QDesignerWidgetBoxInterface_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QDesignerWidgetBoxInterface::metaObject()); } class MyQExtensionFactory: public QExtensionFactory { public: MyQExtensionFactory(QExtensionManager *parent) : QExtensionFactory(parent) {}; QObject * createExtension(QObject * object, const QString & iid, QObject * parent) const { return static_cast(callbackQExtensionFactory_CreateExtension(const_cast(this), object, const_cast(iid.toUtf8().constData()), parent)); }; QObject * extension(QObject * object, const QString & iid) const { return static_cast(callbackQExtensionFactory_Extension(const_cast(this), object, const_cast(iid.toUtf8().constData()))); }; void timerEvent(QTimerEvent * event) { callbackQExtensionFactory_TimerEvent(this, event); }; void childEvent(QChildEvent * event) { callbackQExtensionFactory_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQExtensionFactory_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQExtensionFactory_CustomEvent(this, event); }; void deleteLater() { callbackQExtensionFactory_DeleteLater(this); }; void disconnectNotify(const QMetaMethod & sign) { callbackQExtensionFactory_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQExtensionFactory_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQExtensionFactory_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQExtensionFactory_MetaObject(const_cast(this))); }; }; void* QExtensionFactory_NewQExtensionFactory(void* parent) { return new MyQExtensionFactory(static_cast(parent)); } void* QExtensionFactory_CreateExtension(void* ptr, void* object, char* iid, void* parent) { return static_cast(ptr)->createExtension(static_cast(object), QString(iid), static_cast(parent)); } void* QExtensionFactory_CreateExtensionDefault(void* ptr, void* object, char* iid, void* parent) { return static_cast(ptr)->QExtensionFactory::createExtension(static_cast(object), QString(iid), static_cast(parent)); } void* QExtensionFactory_Extension(void* ptr, void* object, char* iid) { return static_cast(ptr)->extension(static_cast(object), QString(iid)); } void* QExtensionFactory_ExtensionDefault(void* ptr, void* object, char* iid) { return static_cast(ptr)->QExtensionFactory::extension(static_cast(object), QString(iid)); } void* QExtensionFactory_ExtensionManager(void* ptr) { return static_cast(ptr)->extensionManager(); } void QExtensionFactory_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QExtensionFactory_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QExtensionFactory::timerEvent(static_cast(event)); } void QExtensionFactory_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QExtensionFactory_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QExtensionFactory::childEvent(static_cast(event)); } void QExtensionFactory_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QExtensionFactory_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QExtensionFactory::connectNotify(*static_cast(sign)); } void QExtensionFactory_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QExtensionFactory_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QExtensionFactory::customEvent(static_cast(event)); } void QExtensionFactory_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QExtensionFactory_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QExtensionFactory::deleteLater(); } void QExtensionFactory_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QExtensionFactory_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QExtensionFactory::disconnectNotify(*static_cast(sign)); } char QExtensionFactory_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } char QExtensionFactory_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QExtensionFactory::event(static_cast(e)); } char QExtensionFactory_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } char QExtensionFactory_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QExtensionFactory::eventFilter(static_cast(watched), static_cast(event)); } void* QExtensionFactory_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QExtensionFactory_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QExtensionFactory::metaObject()); } class MyQExtensionManager: public QExtensionManager { public: MyQExtensionManager(QObject *parent) : QExtensionManager(parent) {}; QObject * extension(QObject * object, const QString & iid) const { return static_cast(callbackQExtensionManager_Extension(const_cast(this), object, const_cast(iid.toUtf8().constData()))); }; void registerExtensions(QAbstractExtensionFactory * factory, const QString & iid) { callbackQExtensionManager_RegisterExtensions(this, factory, const_cast(iid.toUtf8().constData())); }; void unregisterExtensions(QAbstractExtensionFactory * factory, const QString & iid) { callbackQExtensionManager_UnregisterExtensions(this, factory, const_cast(iid.toUtf8().constData())); }; void timerEvent(QTimerEvent * event) { callbackQExtensionManager_TimerEvent(this, event); }; void childEvent(QChildEvent * event) { callbackQExtensionManager_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQExtensionManager_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQExtensionManager_CustomEvent(this, event); }; void deleteLater() { callbackQExtensionManager_DeleteLater(this); }; void disconnectNotify(const QMetaMethod & sign) { callbackQExtensionManager_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQExtensionManager_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQExtensionManager_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQExtensionManager_MetaObject(const_cast(this))); }; }; void* QExtensionManager_NewQExtensionManager(void* parent) { return new MyQExtensionManager(static_cast(parent)); } void* QExtensionManager_Extension(void* ptr, void* object, char* iid) { return static_cast(ptr)->extension(static_cast(object), QString(iid)); } void* QExtensionManager_ExtensionDefault(void* ptr, void* object, char* iid) { return static_cast(ptr)->QExtensionManager::extension(static_cast(object), QString(iid)); } void QExtensionManager_RegisterExtensions(void* ptr, void* factory, char* iid) { static_cast(ptr)->registerExtensions(static_cast(factory), QString(iid)); } void QExtensionManager_RegisterExtensionsDefault(void* ptr, void* factory, char* iid) { static_cast(ptr)->QExtensionManager::registerExtensions(static_cast(factory), QString(iid)); } void QExtensionManager_UnregisterExtensions(void* ptr, void* factory, char* iid) { static_cast(ptr)->unregisterExtensions(static_cast(factory), QString(iid)); } void QExtensionManager_UnregisterExtensionsDefault(void* ptr, void* factory, char* iid) { static_cast(ptr)->QExtensionManager::unregisterExtensions(static_cast(factory), QString(iid)); } void QExtensionManager_DestroyQExtensionManager(void* ptr) { static_cast(ptr)->~QExtensionManager(); } void QExtensionManager_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QExtensionManager_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QExtensionManager::timerEvent(static_cast(event)); } void QExtensionManager_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QExtensionManager_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QExtensionManager::childEvent(static_cast(event)); } void QExtensionManager_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QExtensionManager_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QExtensionManager::connectNotify(*static_cast(sign)); } void QExtensionManager_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QExtensionManager_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QExtensionManager::customEvent(static_cast(event)); } void QExtensionManager_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QExtensionManager_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QExtensionManager::deleteLater(); } void QExtensionManager_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QExtensionManager_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QExtensionManager::disconnectNotify(*static_cast(sign)); } char QExtensionManager_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } char QExtensionManager_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QExtensionManager::event(static_cast(e)); } char QExtensionManager_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } char QExtensionManager_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QExtensionManager::eventFilter(static_cast(watched), static_cast(event)); } void* QExtensionManager_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QExtensionManager_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QExtensionManager::metaObject()); } class MyQFormBuilder: public QFormBuilder { public: MyQFormBuilder() : QFormBuilder() {}; ~MyQFormBuilder() { callbackQFormBuilder_DestroyQFormBuilder(this); }; QWidget * load(QIODevice * device, QWidget * parent) { return static_cast(callbackQFormBuilder_Load(this, device, parent)); }; void save(QIODevice * device, QWidget * widget) { callbackQFormBuilder_Save(this, device, widget); }; }; void* QFormBuilder_NewQFormBuilder() { return new MyQFormBuilder(); } void QFormBuilder_AddPluginPath(void* ptr, char* pluginPath) { static_cast(ptr)->addPluginPath(QString(pluginPath)); } void QFormBuilder_ClearPluginPaths(void* ptr) { static_cast(ptr)->clearPluginPaths(); } char* QFormBuilder_PluginPaths(void* ptr) { return const_cast(static_cast(ptr)->pluginPaths().join("|").toUtf8().constData()); } void QFormBuilder_SetPluginPath(void* ptr, char* pluginPaths) { static_cast(ptr)->setPluginPath(QString(pluginPaths).split("|", QString::SkipEmptyParts)); } void QFormBuilder_DestroyQFormBuilder(void* ptr) { static_cast(ptr)->~QFormBuilder(); } void QFormBuilder_DestroyQFormBuilderDefault(void* ptr) { } void* QFormBuilder_Load(void* ptr, void* device, void* parent) { return static_cast(ptr)->load(static_cast(device), static_cast(parent)); } void* QFormBuilder_LoadDefault(void* ptr, void* device, void* parent) { return static_cast(ptr)->QFormBuilder::load(static_cast(device), static_cast(parent)); } void QFormBuilder_Save(void* ptr, void* device, void* widget) { static_cast(ptr)->save(static_cast(device), static_cast(widget)); } void QFormBuilder_SaveDefault(void* ptr, void* device, void* widget) { static_cast(ptr)->QFormBuilder::save(static_cast(device), static_cast(widget)); }