diff --git a/scripts/mkqtdecl6/mkqtdecl.conf b/scripts/mkqtdecl6/mkqtdecl.conf index 87a2d6160..908349dc3 100644 --- a/scripts/mkqtdecl6/mkqtdecl.conf +++ b/scripts/mkqtdecl6/mkqtdecl.conf @@ -624,6 +624,23 @@ DECL drop_method("QStringEncoder", /::appendToBuffer/) # needs char * drop_method("QStringDecoder", /::appendToBuffer/) # needs char * +# not compatible between Qt6.4 and 6.2 and not needed +drop_class("QJsonArray", /const_iterator/) +drop_method("QJsonArray", /::constBegin/) +drop_method("QJsonArray", /::constEnd/) +drop_method("QJsonArray", /::cbegin/) +drop_method("QJsonArray", /::cend/) +drop_method("QJsonArray", /::const_iterator.*::begin/) +drop_method("QJsonArray", /::const_iterator.*::end/) + +# not compatible between Qt6.4 and 6.2 and not needed +drop_class("QJsonObject", /const_iterator/) +drop_method("QJsonObject", /::constBegin/) +drop_method("QJsonObject", /::constEnd/) +drop_method("QJsonObject", /::cbegin/) +drop_method("QJsonObject", /::cend/) +drop_method("QJsonObject", /::const_iterator.*::begin/) +drop_method("QJsonObject", /::const_iterator.*::end/) # -------------------------------------------------------------- # QtGui @@ -916,7 +933,48 @@ drop_method "QMenu", /QMenu::platformMenu/ # QPlatformMenu not available drop_method "QMenu", /QMenu::setPlatformMenu/ # QPlatformMenu not available drop_method "QMenuBar", /QMenuBar::platformMenuBar/ # QPlatformMenu not available drop_method "QTreeWidgetItem", /::QTreeWidgetItem\(const\s+QTreeWidgetItem\s*&/ # will hide the parent-constructor otherwise. Use dup/copy protocol instead. -drop_method "QInputMethodEvent", /::clone\(/ # returns QInputMethodEvent *, not Event * (@@@ TODO: bug?) +drop_method "QInputMethodEvent", /::clone\(/ # returns QInputMethodEvent *, not Event * (TODO: bug?) +drop_method "QCloseEvent", /::clone\(/ # returns QCloseEvent *, not Event * (TODO: bug?) +drop_method "QIconDragEvent", /::clone\(/ # returns QIconDragEvent *, not Event * (TODO: bug?) +drop_method "QShowEvent", /::clone\(/ # returns QShowEvent *, not Event * (TODO: bug?) +drop_method "QHideEvent", /::clone\(/ # returns QHideEvent *, not Event * (TODO: bug?) +drop_method "QContextMenuEvent", /::clone\(/ # returns QContextMenuEvent *, not Event * (TODO: bug?) +drop_method "QInputMethodEvent", /::clone\(/ # returns QInputMethodEvent *, not Event * (TODO: bug?) +drop_method "QInputMethodQueryEvent", /::clone\(/ # returns QInputMethodQueryEvent *, not Event * (TODO: bug?) +drop_method "QDropEvent", /::clone\(/ # returns QDropEvent *, not Event * (TODO: bug?) +drop_method "QDragMoveEvent", /::clone\(/ # returns QDragMoveEvent *, not Event * (TODO: bug?) +drop_method "QDragEnterEvent", /::clone\(/ # returns QDragEnterEvent *, not Event * (TODO: bug?) +drop_method "QDragLeaveEvent", /::clone\(/ # returns QDragLeaveEvent *, not Event * (TODO: bug?) +drop_method "QHelpEvent", /::clone\(/ # returns QHelpEvent *, not Event * (TODO: bug?) +drop_method "QStatusTipEvent", /::clone\(/ # returns QStatusTipEvent *, not Event * (TODO: bug?) +drop_method "QWhatsThisClickedEvent", /::clone\(/ # returns QWhatsThisClickedEvent *, not Event * (TODO: bug?) +drop_method "QActionEvent", /::clone\(/ # returns QActionEvent *, not Event * (TODO: bug?) +drop_method "QFileOpenEvent", /::clone\(/ # returns QFileOpenEvent *, not Event * (TODO: bug?) +drop_method "QToolBarChangeEvent", /::clone\(/ # returns QToolBarChangeEvent *, not Event * (TODO: bug?) +drop_method "QShortcutEvent", /::clone\(/ # returns QShortcutEvent *, not Event * (TODO: bug?) +drop_method "QWindowStateChangeEvent", /::clone\(/ # returns QWindowStateChangeEvent *, not Event * (TODO: bug?) +drop_method "QWindowStateChangeEvent", /::clone\(/ # returns QWindowStateChangeEvent *, not Event * (TODO: bug?) +drop_method "QTouchEvent", /::clone\(/ # returns QTouchEvent *, not Event * (TODO: bug?) +drop_method "QScrollPrepareEvent", /::clone\(/ # returns QScrollPrepareEvent *, not Event * (TODO: bug?) +drop_method "QScrollEvent", /::clone\(/ # returns QScrollEvent *, not Event * (TODO: bug?) +drop_method "QScreenOrientationChangeEvent", /::clone\(/ # returns QScreenOrientationChangeEvent *, not Event * (TODO: bug?) +drop_method "QApplicationStateChangeEvent", /::clone\(/ # returns QApplicationStateChangeEvent *, not Event * (TODO: bug?) +drop_method "QInputEvent", /::clone\(/ # returns QInputEvent *, not Event * (TODO: bug?) +drop_method "QPointerEvent", /::clone\(/ # returns QPointerEvent *, not Event * (TODO: bug?) +drop_method "QSinglePointEvent", /::clone\(/ # returns QSinglePointEvent *, not Event * (TODO: bug?) +drop_method "QEnterEvent", /::clone\(/ # returns QEnterEvent *, not Event * (TODO: bug?) +drop_method "QMouseEvent", /::clone\(/ # returns QMouseEvent *, not Event * (TODO: bug?) +drop_method "QHoverEvent", /::clone\(/ # returns QHoverEvent *, not Event * (TODO: bug?) +drop_method "QWheelEvent", /::clone\(/ # returns QWheelEvent *, not Event * (TODO: bug?) +drop_method "QTabletEvent", /::clone\(/ # returns QTabletEvent *, not Event * (TODO: bug?) +drop_method "QNativeGestureEvent", /::clone\(/ # returns QNativeGestureEvent *, not Event * (TODO: bug?) +drop_method "QKeyEvent", /::clone\(/ # returns QKeyEvent *, not Event * (TODO: bug?) +drop_method "QFocusEvent", /::clone\(/ # returns QFocusEvent *, not Event * (TODO: bug?) +drop_method "QPaintEvent", /::clone\(/ # returns QPaintEvent *, not Event * (TODO: bug?) +drop_method "QMoveEvent", /::clone\(/ # returns QMoveEvent *, not Event * (TODO: bug?) +drop_method "QExposeEvent", /::clone\(/ # returns QExposeEvent *, not Event * (TODO: bug?) +drop_method "QPlatformSurfaceEvent", /::clone\(/ # returns QPlatformSurfaceEvent *, not Event * (TODO: bug?) +drop_method "QResizeEvent", /::clone\(/ # returns QResizeEvent *, not Event * (TODO: bug?) include_enum "QTextDocument", /^ResourceType$/ @@ -1245,6 +1303,7 @@ drop_method "QBackingStore", /QBackingStore::handle/ # QPlatformBackingStore not drop_method "QVideoFrame", /^unsigned\s+char\s*\*/ # unsigned char * not available drop_method "QVideoFrame", /QVideoFrame::QVideoFrame\(QAbstractVideoBuffer/ # QAbstractVideoBuffer not available drop_method "QVideoFrame", /QVideoFrame::videoBuffer\(/ # QAbstractVideoBuffer not available +drop_method "QVideoFrame", /QVideoFrame::textureHandle\(/ # Not available on Qt 6.4.1 drop_method "QVideoSink", /QVideoSink::rhi\(/ # QRhi not available drop_method "QVideoSink", /QVideoSink::setRhi\(/ # QRhi not available drop_method "QVideoSink", /QVideoSink::platformVideoSink\(/ # QPlatformVideoSink not available @@ -1329,6 +1388,7 @@ no_default_ctor "QItemSelectionModel" no_default_ctor "QJsonValuePtr" no_default_ctor "QJsonValueRef" no_default_ctor "QJsonValueRefPtr" +no_default_ctor "QJsonValueConstRef" no_default_ctor "QKeyEvent" no_default_ctor "QLibraryInfo" no_default_ctor "QLockFile" diff --git a/src/gsiqt/qt6/QtCore/QtCore.pri b/src/gsiqt/qt6/QtCore/QtCore.pri index f39c47858..8437c5e51 100644 --- a/src/gsiqt/qt6/QtCore/QtCore.pri +++ b/src/gsiqt/qt6/QtCore/QtCore.pri @@ -64,11 +64,9 @@ SOURCES += \ $$PWD/gsiDeclQItemSelectionRange.cc \ $$PWD/gsiDeclQJsonArray.cc \ $$PWD/gsiDeclQJsonArray_Iterator.cc \ - $$PWD/gsiDeclQJsonArray_Const_iterator.cc \ $$PWD/gsiDeclQJsonDocument.cc \ $$PWD/gsiDeclQJsonObject.cc \ $$PWD/gsiDeclQJsonObject_Iterator.cc \ - $$PWD/gsiDeclQJsonObject_Const_iterator.cc \ $$PWD/gsiDeclQJsonParseError.cc \ $$PWD/gsiDeclQJsonValue.cc \ $$PWD/gsiDeclQJsonValueRef.cc \ diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQJsonArray.cc b/src/gsiqt/qt6/QtCore/gsiDeclQJsonArray.cc index 6a3538213..bf25f1afe 100644 --- a/src/gsiqt/qt6/QtCore/gsiDeclQJsonArray.cc +++ b/src/gsiqt/qt6/QtCore/gsiDeclQJsonArray.cc @@ -125,81 +125,6 @@ static void _call_f_begin_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, } -// QJsonArray::const_iterator QJsonArray::begin() - - -static void _init_f_begin_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_begin_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QJsonArray::const_iterator)((QJsonArray *)cls)->begin ()); -} - - -// QJsonArray::const_iterator QJsonArray::cbegin() - - -static void _init_f_cbegin_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_cbegin_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QJsonArray::const_iterator)((QJsonArray *)cls)->cbegin ()); -} - - -// QJsonArray::const_iterator QJsonArray::cend() - - -static void _init_f_cend_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_cend_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QJsonArray::const_iterator)((QJsonArray *)cls)->cend ()); -} - - -// QJsonArray::const_iterator QJsonArray::constBegin() - - -static void _init_f_constBegin_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_constBegin_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QJsonArray::const_iterator)((QJsonArray *)cls)->constBegin ()); -} - - -// QJsonArray::const_iterator QJsonArray::constEnd() - - -static void _init_f_constEnd_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_constEnd_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QJsonArray::const_iterator)((QJsonArray *)cls)->constEnd ()); -} - - // bool QJsonArray::contains(const QJsonValue &element) @@ -264,21 +189,6 @@ static void _call_f_end_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gs } -// QJsonArray::const_iterator QJsonArray::end() - - -static void _init_f_end_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_end_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QJsonArray::const_iterator)((QJsonArray *)cls)->end ()); -} - - // QJsonArray::iterator QJsonArray::erase(QJsonArray::iterator it) @@ -825,16 +735,10 @@ static gsi::Methods methods_QJsonArray () { methods += new qt_gsi::GenericMethod ("append", "@brief Method void QJsonArray::append(const QJsonValue &value)\n", false, &_init_f_append_2313, &_call_f_append_2313); methods += new qt_gsi::GenericMethod ("at", "@brief Method QJsonValue QJsonArray::at(qsizetype i)\n", true, &_init_f_at_c1442, &_call_f_at_c1442); methods += new qt_gsi::GenericMethod ("begin", "@brief Method QJsonArray::iterator QJsonArray::begin()\n", false, &_init_f_begin_0, &_call_f_begin_0); - methods += new qt_gsi::GenericMethod ("begin", "@brief Method QJsonArray::const_iterator QJsonArray::begin()\n", true, &_init_f_begin_c0, &_call_f_begin_c0); - methods += new qt_gsi::GenericMethod ("cbegin", "@brief Method QJsonArray::const_iterator QJsonArray::cbegin()\n", true, &_init_f_cbegin_c0, &_call_f_cbegin_c0); - methods += new qt_gsi::GenericMethod ("cend", "@brief Method QJsonArray::const_iterator QJsonArray::cend()\n", true, &_init_f_cend_c0, &_call_f_cend_c0); - methods += new qt_gsi::GenericMethod ("constBegin", "@brief Method QJsonArray::const_iterator QJsonArray::constBegin()\n", true, &_init_f_constBegin_c0, &_call_f_constBegin_c0); - methods += new qt_gsi::GenericMethod ("constEnd", "@brief Method QJsonArray::const_iterator QJsonArray::constEnd()\n", true, &_init_f_constEnd_c0, &_call_f_constEnd_c0); methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QJsonArray::contains(const QJsonValue &element)\n", true, &_init_f_contains_c2313, &_call_f_contains_c2313); methods += new qt_gsi::GenericMethod ("count", "@brief Method qsizetype QJsonArray::count()\n", true, &_init_f_count_c0, &_call_f_count_c0); methods += new qt_gsi::GenericMethod ("empty", "@brief Method bool QJsonArray::empty()\n", true, &_init_f_empty_c0, &_call_f_empty_c0); methods += new qt_gsi::GenericMethod ("end", "@brief Method QJsonArray::iterator QJsonArray::end()\n", false, &_init_f_end_0, &_call_f_end_0); - methods += new qt_gsi::GenericMethod ("end", "@brief Method QJsonArray::const_iterator QJsonArray::end()\n", true, &_init_f_end_c0, &_call_f_end_c0); methods += new qt_gsi::GenericMethod ("erase", "@brief Method QJsonArray::iterator QJsonArray::erase(QJsonArray::iterator it)\n", false, &_init_f_erase_2428, &_call_f_erase_2428); methods += new qt_gsi::GenericMethod ("first", "@brief Method QJsonValue QJsonArray::first()\n", true, &_init_f_first_c0, &_call_f_first_c0); methods += new qt_gsi::GenericMethod ("insert", "@brief Method void QJsonArray::insert(qsizetype i, const QJsonValue &value)\n", false, &_init_f_insert_3647, &_call_f_insert_3647); diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQJsonObject.cc b/src/gsiqt/qt6/QtCore/gsiDeclQJsonObject.cc index 631d5f6f2..eb9594501 100644 --- a/src/gsiqt/qt6/QtCore/gsiDeclQJsonObject.cc +++ b/src/gsiqt/qt6/QtCore/gsiDeclQJsonObject.cc @@ -86,51 +86,6 @@ static void _call_f_begin_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, } -// QJsonObject::const_iterator QJsonObject::begin() - - -static void _init_f_begin_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_begin_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QJsonObject::const_iterator)((QJsonObject *)cls)->begin ()); -} - - -// QJsonObject::const_iterator QJsonObject::constBegin() - - -static void _init_f_constBegin_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_constBegin_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QJsonObject::const_iterator)((QJsonObject *)cls)->constBegin ()); -} - - -// QJsonObject::const_iterator QJsonObject::constEnd() - - -static void _init_f_constEnd_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_constEnd_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QJsonObject::const_iterator)((QJsonObject *)cls)->constEnd ()); -} - - // QJsonObject::const_iterator QJsonObject::constFind(const QString &key) @@ -290,21 +245,6 @@ static void _call_f_end_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gs } -// QJsonObject::const_iterator QJsonObject::end() - - -static void _init_f_end_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_end_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QJsonObject::const_iterator)((QJsonObject *)cls)->end ()); -} - - // QJsonObject::iterator QJsonObject::erase(QJsonObject::iterator it) @@ -1006,9 +946,6 @@ static gsi::Methods methods_QJsonObject () { methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QJsonObject::QJsonObject()\nThis method creates an object of class QJsonObject.", &_init_ctor_QJsonObject_0, &_call_ctor_QJsonObject_0); methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QJsonObject::QJsonObject(const QJsonObject &other)\nThis method creates an object of class QJsonObject.", &_init_ctor_QJsonObject_2403, &_call_ctor_QJsonObject_2403); methods += new qt_gsi::GenericMethod ("begin", "@brief Method QJsonObject::iterator QJsonObject::begin()\n", false, &_init_f_begin_0, &_call_f_begin_0); - methods += new qt_gsi::GenericMethod ("begin", "@brief Method QJsonObject::const_iterator QJsonObject::begin()\n", true, &_init_f_begin_c0, &_call_f_begin_c0); - methods += new qt_gsi::GenericMethod ("constBegin", "@brief Method QJsonObject::const_iterator QJsonObject::constBegin()\n", true, &_init_f_constBegin_c0, &_call_f_constBegin_c0); - methods += new qt_gsi::GenericMethod ("constEnd", "@brief Method QJsonObject::const_iterator QJsonObject::constEnd()\n", true, &_init_f_constEnd_c0, &_call_f_constEnd_c0); methods += new qt_gsi::GenericMethod ("constFind", "@brief Method QJsonObject::const_iterator QJsonObject::constFind(const QString &key)\n", true, &_init_f_constFind_c2025, &_call_f_constFind_c2025); methods += new qt_gsi::GenericMethod ("constFind", "@brief Method QJsonObject::const_iterator QJsonObject::constFind(QStringView key)\n", true, &_init_f_constFind_c1559, &_call_f_constFind_c1559); methods += new qt_gsi::GenericMethod ("constFind", "@brief Method QJsonObject::const_iterator QJsonObject::constFind(QLatin1String key)\n", true, &_init_f_constFind_c1701, &_call_f_constFind_c1701); @@ -1018,7 +955,6 @@ static gsi::Methods methods_QJsonObject () { methods += new qt_gsi::GenericMethod ("count", "@brief Method qsizetype QJsonObject::count()\n", true, &_init_f_count_c0, &_call_f_count_c0); methods += new qt_gsi::GenericMethod ("empty", "@brief Method bool QJsonObject::empty()\n", true, &_init_f_empty_c0, &_call_f_empty_c0); methods += new qt_gsi::GenericMethod ("end", "@brief Method QJsonObject::iterator QJsonObject::end()\n", false, &_init_f_end_0, &_call_f_end_0); - methods += new qt_gsi::GenericMethod ("end", "@brief Method QJsonObject::const_iterator QJsonObject::end()\n", true, &_init_f_end_c0, &_call_f_end_c0); methods += new qt_gsi::GenericMethod ("erase", "@brief Method QJsonObject::iterator QJsonObject::erase(QJsonObject::iterator it)\n", false, &_init_f_erase_2516, &_call_f_erase_2516); methods += new qt_gsi::GenericMethod ("find", "@brief Method QJsonObject::iterator QJsonObject::find(const QString &key)\n", false, &_init_f_find_2025, &_call_f_find_2025); methods += new qt_gsi::GenericMethod ("find", "@brief Method QJsonObject::const_iterator QJsonObject::find(const QString &key)\n", true, &_init_f_find_c2025, &_call_f_find_c2025); diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQActionEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQActionEvent.cc index 6aa3c32ee..b0187b465 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQActionEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQActionEvent.cc @@ -66,21 +66,6 @@ static void _call_f_before_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls } -// QActionEvent *QActionEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QActionEvent *)((QActionEvent *)cls)->clone ()); -} - - namespace gsi { @@ -88,7 +73,6 @@ static gsi::Methods methods_QActionEvent () { gsi::Methods methods; methods += new qt_gsi::GenericMethod ("action", "@brief Method QAction *QActionEvent::action()\n", true, &_init_f_action_c0, &_call_f_action_c0); methods += new qt_gsi::GenericMethod ("before", "@brief Method QAction *QActionEvent::before()\n", true, &_init_f_before_c0, &_call_f_before_c0); - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QActionEvent *QActionEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); return methods; } @@ -121,21 +105,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QActionEvent *QActionEvent::clone() - QActionEvent * cbs_clone_c0_0() const - { - return QActionEvent::clone(); - } - - virtual QActionEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QActionEvent_Adaptor::cbs_clone_c0_0); - } else { - return QActionEvent::clone(); - } - } - // [adaptor impl] void QActionEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -151,7 +120,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -181,25 +149,6 @@ static void _call_ctor_QActionEvent_Adaptor_3169 (const qt_gsi::GenericStaticMet } -// QActionEvent *QActionEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QActionEvent *)((QActionEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QActionEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QActionEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -232,8 +181,6 @@ gsi::Class &qtdecl_QActionEvent (); static gsi::Methods methods_QActionEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QActionEvent::QActionEvent(int type, QAction *action, QAction *before)\nThis method creates an object of class QActionEvent.", &_init_ctor_QActionEvent_Adaptor_3169, &_call_ctor_QActionEvent_Adaptor_3169); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QActionEvent *QActionEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QActionEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQApplicationStateChangeEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQApplicationStateChangeEvent.cc index 185900f28..2a18817e4 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQApplicationStateChangeEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQApplicationStateChangeEvent.cc @@ -50,28 +50,12 @@ static void _call_f_applicationState_c0 (const qt_gsi::GenericMethod * /*decl*/, } -// QApplicationStateChangeEvent *QApplicationStateChangeEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QApplicationStateChangeEvent *)((QApplicationStateChangeEvent *)cls)->clone ()); -} - - namespace gsi { static gsi::Methods methods_QApplicationStateChangeEvent () { gsi::Methods methods; methods += new qt_gsi::GenericMethod ("applicationState", "@brief Method Qt::ApplicationState QApplicationStateChangeEvent::applicationState()\n", true, &_init_f_applicationState_c0, &_call_f_applicationState_c0); - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QApplicationStateChangeEvent *QApplicationStateChangeEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); return methods; } @@ -98,21 +82,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QApplicationStateChangeEvent *QApplicationStateChangeEvent::clone() - QApplicationStateChangeEvent * cbs_clone_c0_0() const - { - return QApplicationStateChangeEvent::clone(); - } - - virtual QApplicationStateChangeEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QApplicationStateChangeEvent_Adaptor::cbs_clone_c0_0); - } else { - return QApplicationStateChangeEvent::clone(); - } - } - // [adaptor impl] void QApplicationStateChangeEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -128,7 +97,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -152,25 +120,6 @@ static void _call_ctor_QApplicationStateChangeEvent_Adaptor_2402 (const qt_gsi:: } -// QApplicationStateChangeEvent *QApplicationStateChangeEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QApplicationStateChangeEvent *)((QApplicationStateChangeEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QApplicationStateChangeEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QApplicationStateChangeEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -203,8 +152,6 @@ gsi::Class &qtdecl_QApplicationStateChangeEvent () static gsi::Methods methods_QApplicationStateChangeEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QApplicationStateChangeEvent::QApplicationStateChangeEvent(Qt::ApplicationState state)\nThis method creates an object of class QApplicationStateChangeEvent.", &_init_ctor_QApplicationStateChangeEvent_Adaptor_2402, &_call_ctor_QApplicationStateChangeEvent_Adaptor_2402); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QApplicationStateChangeEvent *QApplicationStateChangeEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QApplicationStateChangeEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQCloseEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQCloseEvent.cc index fc9732f47..2527043de 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQCloseEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQCloseEvent.cc @@ -28,7 +28,6 @@ */ #include -#include #include "gsiQt.h" #include "gsiQtGuiCommon.h" #include @@ -67,21 +66,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QEvent *QCloseEvent::clone() - QEvent * cbs_clone_c0_0() const - { - return QCloseEvent::clone(); - } - - virtual QEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QCloseEvent_Adaptor::cbs_clone_c0_0); - } else { - return QCloseEvent::clone(); - } - } - // [adaptor impl] void QCloseEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -97,7 +81,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -117,25 +100,6 @@ static void _call_ctor_QCloseEvent_Adaptor_0 (const qt_gsi::GenericStaticMethod } -// QEvent *QCloseEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QEvent *)((QCloseEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QCloseEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QCloseEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -168,8 +132,6 @@ gsi::Class &qtdecl_QCloseEvent (); static gsi::Methods methods_QCloseEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCloseEvent::QCloseEvent()\nThis method creates an object of class QCloseEvent.", &_init_ctor_QCloseEvent_Adaptor_0, &_call_ctor_QCloseEvent_Adaptor_0); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QEvent *QCloseEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QCloseEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQContextMenuEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQContextMenuEvent.cc index 709d7f5bf..806708313 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQContextMenuEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQContextMenuEvent.cc @@ -37,21 +37,6 @@ // ----------------------------------------------------------------------- // class QContextMenuEvent -// QContextMenuEvent *QContextMenuEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QContextMenuEvent *)((QContextMenuEvent *)cls)->clone ()); -} - - // const QPoint &QContextMenuEvent::globalPos() @@ -162,7 +147,6 @@ namespace gsi static gsi::Methods methods_QContextMenuEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QContextMenuEvent *QContextMenuEvent::clone()\nThis is a reimplementation of QInputEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("globalPos", "@brief Method const QPoint &QContextMenuEvent::globalPos()\n", true, &_init_f_globalPos_c0, &_call_f_globalPos_c0); methods += new qt_gsi::GenericMethod ("globalX", "@brief Method int QContextMenuEvent::globalX()\n", true, &_init_f_globalX_c0, &_call_f_globalX_c0); methods += new qt_gsi::GenericMethod ("globalY", "@brief Method int QContextMenuEvent::globalY()\n", true, &_init_f_globalY_c0, &_call_f_globalY_c0); @@ -208,21 +192,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QContextMenuEvent *QContextMenuEvent::clone() - QContextMenuEvent * cbs_clone_c0_0() const - { - return QContextMenuEvent::clone(); - } - - virtual QContextMenuEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QContextMenuEvent_Adaptor::cbs_clone_c0_0); - } else { - return QContextMenuEvent::clone(); - } - } - // [adaptor impl] void QContextMenuEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -253,7 +222,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; gsi::Callback cb_setTimestamp_1103_0; }; @@ -308,25 +276,6 @@ static void _call_ctor_QContextMenuEvent_Adaptor_4717 (const qt_gsi::GenericStat } -// QContextMenuEvent *QContextMenuEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QContextMenuEvent *)((QContextMenuEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QContextMenuEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QContextMenuEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -384,8 +333,6 @@ static gsi::Methods methods_QContextMenuEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint &pos, const QPoint &globalPos, QFlags modifiers)\nThis method creates an object of class QContextMenuEvent.", &_init_ctor_QContextMenuEvent_Adaptor_9494, &_call_ctor_QContextMenuEvent_Adaptor_9494); methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint &pos)\nThis method creates an object of class QContextMenuEvent.", &_init_ctor_QContextMenuEvent_Adaptor_4717, &_call_ctor_QContextMenuEvent_Adaptor_4717); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QContextMenuEvent *QContextMenuEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QContextMenuEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setTimestamp", "@brief Virtual method void QContextMenuEvent::setTimestamp(quint64 timestamp)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setTimestamp_1103_0, &_call_cbs_setTimestamp_1103_0); diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQDragEnterEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQDragEnterEvent.cc index 8d8563fc6..42cca43df 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQDragEnterEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQDragEnterEvent.cc @@ -28,7 +28,6 @@ */ #include -#include #include #include #include @@ -72,21 +71,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QDragMoveEvent *QDragEnterEvent::clone() - QDragMoveEvent * cbs_clone_c0_0() const - { - return QDragEnterEvent::clone(); - } - - virtual QDragMoveEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QDragEnterEvent_Adaptor::cbs_clone_c0_0); - } else { - return QDragEnterEvent::clone(); - } - } - // [adaptor impl] void QDragEnterEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -102,7 +86,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -138,25 +121,6 @@ static void _call_ctor_QDragEnterEvent_Adaptor_11787 (const qt_gsi::GenericStati } -// QDragMoveEvent *QDragEnterEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDragMoveEvent *)((QDragEnterEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QDragEnterEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QDragEnterEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -189,8 +153,6 @@ gsi::Class &qtdecl_QDragEnterEvent (); static gsi::Methods methods_QDragEnterEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDragEnterEvent::QDragEnterEvent(const QPoint &pos, QFlags actions, const QMimeData *data, QFlags buttons, QFlags modifiers)\nThis method creates an object of class QDragEnterEvent.", &_init_ctor_QDragEnterEvent_Adaptor_11787, &_call_ctor_QDragEnterEvent_Adaptor_11787); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QDragMoveEvent *QDragEnterEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QDragEnterEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQDragLeaveEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQDragLeaveEvent.cc index ade42a5fa..39fc8ec38 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQDragLeaveEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQDragLeaveEvent.cc @@ -28,7 +28,6 @@ */ #include -#include #include "gsiQt.h" #include "gsiQtGuiCommon.h" #include @@ -67,21 +66,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QEvent *QDragLeaveEvent::clone() - QEvent * cbs_clone_c0_0() const - { - return QDragLeaveEvent::clone(); - } - - virtual QEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QDragLeaveEvent_Adaptor::cbs_clone_c0_0); - } else { - return QDragLeaveEvent::clone(); - } - } - // [adaptor impl] void QDragLeaveEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -97,7 +81,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -117,25 +100,6 @@ static void _call_ctor_QDragLeaveEvent_Adaptor_0 (const qt_gsi::GenericStaticMet } -// QEvent *QDragLeaveEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QEvent *)((QDragLeaveEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QDragLeaveEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QDragLeaveEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -168,8 +132,6 @@ gsi::Class &qtdecl_QDragLeaveEvent (); static gsi::Methods methods_QDragLeaveEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDragLeaveEvent::QDragLeaveEvent()\nThis method creates an object of class QDragLeaveEvent.", &_init_ctor_QDragLeaveEvent_Adaptor_0, &_call_ctor_QDragLeaveEvent_Adaptor_0); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QEvent *QDragLeaveEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QDragLeaveEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQDragMoveEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQDragMoveEvent.cc index c85721b40..db2ff8420 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQDragMoveEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQDragMoveEvent.cc @@ -91,21 +91,6 @@ static void _call_f_answerRect_c0 (const qt_gsi::GenericMethod * /*decl*/, void } -// QDragMoveEvent *QDragMoveEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDragMoveEvent *)((QDragMoveEvent *)cls)->clone ()); -} - - // void QDragMoveEvent::ignore() @@ -150,7 +135,6 @@ static gsi::Methods methods_QDragMoveEvent () { methods += new qt_gsi::GenericMethod ("accept", "@brief Method void QDragMoveEvent::accept()\n", false, &_init_f_accept_0, &_call_f_accept_0); methods += new qt_gsi::GenericMethod ("accept", "@brief Method void QDragMoveEvent::accept(const QRect &r)\n", false, &_init_f_accept_1792, &_call_f_accept_1792); methods += new qt_gsi::GenericMethod ("answerRect", "@brief Method QRect QDragMoveEvent::answerRect()\n", true, &_init_f_answerRect_c0, &_call_f_answerRect_c0); - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QDragMoveEvent *QDragMoveEvent::clone()\nThis is a reimplementation of QDropEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("ignore", "@brief Method void QDragMoveEvent::ignore()\n", false, &_init_f_ignore_0, &_call_f_ignore_0); methods += new qt_gsi::GenericMethod ("ignore", "@brief Method void QDragMoveEvent::ignore(const QRect &r)\n", false, &_init_f_ignore_1792, &_call_f_ignore_1792); return methods; @@ -185,21 +169,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QDragMoveEvent *QDragMoveEvent::clone() - QDragMoveEvent * cbs_clone_c0_0() const - { - return QDragMoveEvent::clone(); - } - - virtual QDragMoveEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QDragMoveEvent_Adaptor::cbs_clone_c0_0); - } else { - return QDragMoveEvent::clone(); - } - } - // [adaptor impl] void QDragMoveEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -215,7 +184,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -254,25 +222,6 @@ static void _call_ctor_QDragMoveEvent_Adaptor_13244 (const qt_gsi::GenericStatic } -// QDragMoveEvent *QDragMoveEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDragMoveEvent *)((QDragMoveEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QDragMoveEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QDragMoveEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -305,8 +254,6 @@ gsi::Class &qtdecl_QDragMoveEvent (); static gsi::Methods methods_QDragMoveEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDragMoveEvent::QDragMoveEvent(const QPoint &pos, QFlags actions, const QMimeData *data, QFlags buttons, QFlags modifiers, QEvent::Type type)\nThis method creates an object of class QDragMoveEvent.", &_init_ctor_QDragMoveEvent_Adaptor_13244, &_call_ctor_QDragMoveEvent_Adaptor_13244); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QDragMoveEvent *QDragMoveEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QDragMoveEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQDropEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQDropEvent.cc index 6bbbd15e0..04288b233 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQDropEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQDropEvent.cc @@ -70,21 +70,6 @@ static void _call_f_buttons_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cl } -// QDropEvent *QDropEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDropEvent *)((QDropEvent *)cls)->clone ()); -} - - // Qt::DropAction QDropEvent::dropAction() @@ -277,7 +262,6 @@ static gsi::Methods methods_QDropEvent () { gsi::Methods methods; methods += new qt_gsi::GenericMethod ("acceptProposedAction", "@brief Method void QDropEvent::acceptProposedAction()\n", false, &_init_f_acceptProposedAction_0, &_call_f_acceptProposedAction_0); methods += new qt_gsi::GenericMethod ("buttons", "@brief Method QFlags QDropEvent::buttons()\n", true, &_init_f_buttons_c0, &_call_f_buttons_c0); - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QDropEvent *QDropEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod (":dropAction", "@brief Method Qt::DropAction QDropEvent::dropAction()\n", true, &_init_f_dropAction_c0, &_call_f_dropAction_c0); methods += new qt_gsi::GenericMethod ("keyboardModifiers", "@brief Method QFlags QDropEvent::keyboardModifiers()\n", true, &_init_f_keyboardModifiers_c0, &_call_f_keyboardModifiers_c0); methods += new qt_gsi::GenericMethod ("mimeData", "@brief Method const QMimeData *QDropEvent::mimeData()\n", true, &_init_f_mimeData_c0, &_call_f_mimeData_c0); @@ -322,21 +306,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QDropEvent *QDropEvent::clone() - QDropEvent * cbs_clone_c0_0() const - { - return QDropEvent::clone(); - } - - virtual QDropEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QDropEvent_Adaptor::cbs_clone_c0_0); - } else { - return QDropEvent::clone(); - } - } - // [adaptor impl] void QDropEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -352,7 +321,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -391,25 +359,6 @@ static void _call_ctor_QDropEvent_Adaptor_13314 (const qt_gsi::GenericStaticMeth } -// QDropEvent *QDropEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDropEvent *)((QDropEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QDropEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QDropEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -442,8 +391,6 @@ gsi::Class &qtdecl_QDropEvent (); static gsi::Methods methods_QDropEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDropEvent::QDropEvent(const QPointF &pos, QFlags actions, const QMimeData *data, QFlags buttons, QFlags modifiers, QEvent::Type type)\nThis method creates an object of class QDropEvent.", &_init_ctor_QDropEvent_Adaptor_13314, &_call_ctor_QDropEvent_Adaptor_13314); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QDropEvent *QDropEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QDropEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQEnterEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQEnterEvent.cc index 8e8748d40..69c5edefc 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQEnterEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQEnterEvent.cc @@ -41,21 +41,6 @@ // ----------------------------------------------------------------------- // class QEnterEvent -// QEnterEvent *QEnterEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QEnterEvent *)((QEnterEvent *)cls)->clone ()); -} - - // QPoint QEnterEvent::globalPos() @@ -196,7 +181,6 @@ namespace gsi static gsi::Methods methods_QEnterEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QEnterEvent *QEnterEvent::clone()\nThis is a reimplementation of QSinglePointEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("globalPos", "@brief Method QPoint QEnterEvent::globalPos()\n", true, &_init_f_globalPos_c0, &_call_f_globalPos_c0); methods += new qt_gsi::GenericMethod ("globalX", "@brief Method int QEnterEvent::globalX()\n", true, &_init_f_globalX_c0, &_call_f_globalX_c0); methods += new qt_gsi::GenericMethod ("globalY", "@brief Method int QEnterEvent::globalY()\n", true, &_init_f_globalY_c0, &_call_f_globalY_c0); @@ -238,21 +222,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QEnterEvent *QEnterEvent::clone() - QEnterEvent * cbs_clone_c0_0() const - { - return QEnterEvent::clone(); - } - - virtual QEnterEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QEnterEvent_Adaptor::cbs_clone_c0_0); - } else { - return QEnterEvent::clone(); - } - } - // [adaptor impl] bool QEnterEvent::isBeginEvent() bool cbs_isBeginEvent_c0_0() const { @@ -328,7 +297,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_isBeginEvent_c0_0; gsi::Callback cb_isEndEvent_c0_0; gsi::Callback cb_isUpdateEvent_c0_0; @@ -365,25 +333,6 @@ static void _call_ctor_QEnterEvent_Adaptor_8464 (const qt_gsi::GenericStaticMeth } -// QEnterEvent *QEnterEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QEnterEvent *)((QEnterEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QEnterEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // bool QEnterEvent::isBeginEvent() static void _init_cbs_isBeginEvent_c0_0 (qt_gsi::GenericMethod *decl) @@ -497,8 +446,6 @@ gsi::Class &qtdecl_QEnterEvent (); static gsi::Methods methods_QEnterEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QEnterEvent::QEnterEvent(const QPointF &localPos, const QPointF &scenePos, const QPointF &globalPos, const QPointingDevice *device)\nThis method creates an object of class QEnterEvent.", &_init_ctor_QEnterEvent_Adaptor_8464, &_call_ctor_QEnterEvent_Adaptor_8464); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QEnterEvent *QEnterEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@brief Virtual method bool QEnterEvent::isBeginEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@hide", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0, &_set_callback_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isEndEvent", "@brief Virtual method bool QEnterEvent::isEndEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isEndEvent_c0_0, &_call_cbs_isEndEvent_c0_0); diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQExposeEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQExposeEvent.cc index c21447cbd..d6227919e 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQExposeEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQExposeEvent.cc @@ -36,21 +36,6 @@ // ----------------------------------------------------------------------- // class QExposeEvent -// QExposeEvent *QExposeEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QExposeEvent *)((QExposeEvent *)cls)->clone ()); -} - - // const QRegion &QExposeEvent::region() @@ -71,7 +56,6 @@ namespace gsi static gsi::Methods methods_QExposeEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QExposeEvent *QExposeEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("region", "@brief Method const QRegion &QExposeEvent::region()\n", true, &_init_f_region_c0, &_call_f_region_c0); return methods; } @@ -99,21 +83,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QExposeEvent *QExposeEvent::clone() - QExposeEvent * cbs_clone_c0_0() const - { - return QExposeEvent::clone(); - } - - virtual QExposeEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QExposeEvent_Adaptor::cbs_clone_c0_0); - } else { - return QExposeEvent::clone(); - } - } - // [adaptor impl] void QExposeEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -129,7 +98,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -153,25 +121,6 @@ static void _call_ctor_QExposeEvent_Adaptor_2006 (const qt_gsi::GenericStaticMet } -// QExposeEvent *QExposeEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QExposeEvent *)((QExposeEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QExposeEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QExposeEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -204,8 +153,6 @@ gsi::Class &qtdecl_QExposeEvent (); static gsi::Methods methods_QExposeEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QExposeEvent::QExposeEvent(const QRegion &m_region)\nThis method creates an object of class QExposeEvent.", &_init_ctor_QExposeEvent_Adaptor_2006, &_call_ctor_QExposeEvent_Adaptor_2006); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QExposeEvent *QExposeEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QExposeEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQFileOpenEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQFileOpenEvent.cc index d5f2135cc..032cb42e6 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQFileOpenEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQFileOpenEvent.cc @@ -37,21 +37,6 @@ // ----------------------------------------------------------------------- // class QFileOpenEvent -// QFileOpenEvent *QFileOpenEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QFileOpenEvent *)((QFileOpenEvent *)cls)->clone ()); -} - - // QString QFileOpenEvent::file() @@ -109,7 +94,6 @@ namespace gsi static gsi::Methods methods_QFileOpenEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QFileOpenEvent *QFileOpenEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("file", "@brief Method QString QFileOpenEvent::file()\n", true, &_init_f_file_c0, &_call_f_file_c0); methods += new qt_gsi::GenericMethod ("openFile", "@brief Method bool QFileOpenEvent::openFile(QFile &file, QFlags flags)\n", true, &_init_f_openFile_c4596, &_call_f_openFile_c4596); methods += new qt_gsi::GenericMethod ("url", "@brief Method QUrl QFileOpenEvent::url()\n", true, &_init_f_url_c0, &_call_f_url_c0); @@ -145,21 +129,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QFileOpenEvent *QFileOpenEvent::clone() - QFileOpenEvent * cbs_clone_c0_0() const - { - return QFileOpenEvent::clone(); - } - - virtual QFileOpenEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QFileOpenEvent_Adaptor::cbs_clone_c0_0); - } else { - return QFileOpenEvent::clone(); - } - } - // [adaptor impl] void QFileOpenEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -175,7 +144,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -217,25 +185,6 @@ static void _call_ctor_QFileOpenEvent_Adaptor_1701 (const qt_gsi::GenericStaticM } -// QFileOpenEvent *QFileOpenEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QFileOpenEvent *)((QFileOpenEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QFileOpenEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QFileOpenEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -269,8 +218,6 @@ static gsi::Methods methods_QFileOpenEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QFileOpenEvent::QFileOpenEvent(const QString &file)\nThis method creates an object of class QFileOpenEvent.", &_init_ctor_QFileOpenEvent_Adaptor_2025, &_call_ctor_QFileOpenEvent_Adaptor_2025); methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QFileOpenEvent::QFileOpenEvent(const QUrl &url)\nThis method creates an object of class QFileOpenEvent.", &_init_ctor_QFileOpenEvent_Adaptor_1701, &_call_ctor_QFileOpenEvent_Adaptor_1701); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QFileOpenEvent *QFileOpenEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QFileOpenEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQFocusEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQFocusEvent.cc index df1d8578b..17114c560 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQFocusEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQFocusEvent.cc @@ -35,21 +35,6 @@ // ----------------------------------------------------------------------- // class QFocusEvent -// QFocusEvent *QFocusEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QFocusEvent *)((QFocusEvent *)cls)->clone ()); -} - - // bool QFocusEvent::gotFocus() @@ -100,7 +85,6 @@ namespace gsi static gsi::Methods methods_QFocusEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QFocusEvent *QFocusEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("gotFocus", "@brief Method bool QFocusEvent::gotFocus()\n", true, &_init_f_gotFocus_c0, &_call_f_gotFocus_c0); methods += new qt_gsi::GenericMethod ("lostFocus", "@brief Method bool QFocusEvent::lostFocus()\n", true, &_init_f_lostFocus_c0, &_call_f_lostFocus_c0); methods += new qt_gsi::GenericMethod ("reason", "@brief Method Qt::FocusReason QFocusEvent::reason()\n", true, &_init_f_reason_c0, &_call_f_reason_c0); @@ -136,21 +120,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QFocusEvent *QFocusEvent::clone() - QFocusEvent * cbs_clone_c0_0() const - { - return QFocusEvent::clone(); - } - - virtual QFocusEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QFocusEvent_Adaptor::cbs_clone_c0_0); - } else { - return QFocusEvent::clone(); - } - } - // [adaptor impl] void QFocusEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -166,7 +135,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -193,25 +161,6 @@ static void _call_ctor_QFocusEvent_Adaptor_3334 (const qt_gsi::GenericStaticMeth } -// QFocusEvent *QFocusEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QFocusEvent *)((QFocusEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QFocusEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QFocusEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -244,8 +193,6 @@ gsi::Class &qtdecl_QFocusEvent (); static gsi::Methods methods_QFocusEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QFocusEvent::QFocusEvent(QEvent::Type type, Qt::FocusReason reason)\nThis method creates an object of class QFocusEvent.", &_init_ctor_QFocusEvent_Adaptor_3334, &_call_ctor_QFocusEvent_Adaptor_3334); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QFocusEvent *QFocusEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QFocusEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQHelpEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQHelpEvent.cc index e85af692e..b118fbba1 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQHelpEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQHelpEvent.cc @@ -36,21 +36,6 @@ // ----------------------------------------------------------------------- // class QHelpEvent -// QHelpEvent *QHelpEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QHelpEvent *)((QHelpEvent *)cls)->clone ()); -} - - // const QPoint &QHelpEvent::globalPos() @@ -146,7 +131,6 @@ namespace gsi static gsi::Methods methods_QHelpEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QHelpEvent *QHelpEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("globalPos", "@brief Method const QPoint &QHelpEvent::globalPos()\n", true, &_init_f_globalPos_c0, &_call_f_globalPos_c0); methods += new qt_gsi::GenericMethod ("globalX", "@brief Method int QHelpEvent::globalX()\n", true, &_init_f_globalX_c0, &_call_f_globalX_c0); methods += new qt_gsi::GenericMethod ("globalY", "@brief Method int QHelpEvent::globalY()\n", true, &_init_f_globalY_c0, &_call_f_globalY_c0); @@ -179,21 +163,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QHelpEvent *QHelpEvent::clone() - QHelpEvent * cbs_clone_c0_0() const - { - return QHelpEvent::clone(); - } - - virtual QHelpEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QHelpEvent_Adaptor::cbs_clone_c0_0); - } else { - return QHelpEvent::clone(); - } - } - // [adaptor impl] void QHelpEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -209,7 +178,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -239,25 +207,6 @@ static void _call_ctor_QHelpEvent_Adaptor_5181 (const qt_gsi::GenericStaticMetho } -// QHelpEvent *QHelpEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QHelpEvent *)((QHelpEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QHelpEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QHelpEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -290,8 +239,6 @@ gsi::Class &qtdecl_QHelpEvent (); static gsi::Methods methods_QHelpEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QHelpEvent::QHelpEvent(QEvent::Type type, const QPoint &pos, const QPoint &globalPos)\nThis method creates an object of class QHelpEvent.", &_init_ctor_QHelpEvent_Adaptor_5181, &_call_ctor_QHelpEvent_Adaptor_5181); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QHelpEvent *QHelpEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QHelpEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQHideEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQHideEvent.cc index 927e262cf..8a6c3c093 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQHideEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQHideEvent.cc @@ -28,7 +28,6 @@ */ #include -#include #include "gsiQt.h" #include "gsiQtGuiCommon.h" #include @@ -67,21 +66,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QEvent *QHideEvent::clone() - QEvent * cbs_clone_c0_0() const - { - return QHideEvent::clone(); - } - - virtual QEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QHideEvent_Adaptor::cbs_clone_c0_0); - } else { - return QHideEvent::clone(); - } - } - // [adaptor impl] void QHideEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -97,7 +81,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -117,25 +100,6 @@ static void _call_ctor_QHideEvent_Adaptor_0 (const qt_gsi::GenericStaticMethod * } -// QEvent *QHideEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QEvent *)((QHideEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QHideEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QHideEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -168,8 +132,6 @@ gsi::Class &qtdecl_QHideEvent (); static gsi::Methods methods_QHideEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QHideEvent::QHideEvent()\nThis method creates an object of class QHideEvent.", &_init_ctor_QHideEvent_Adaptor_0, &_call_ctor_QHideEvent_Adaptor_0); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QEvent *QHideEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QHideEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQHoverEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQHoverEvent.cc index 07eea7a26..4c67e8a44 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQHoverEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQHoverEvent.cc @@ -41,21 +41,6 @@ // ----------------------------------------------------------------------- // class QHoverEvent -// QHoverEvent *QHoverEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QHoverEvent *)((QHoverEvent *)cls)->clone ()); -} - - // bool QHoverEvent::isUpdateEvent() @@ -136,7 +121,6 @@ namespace gsi static gsi::Methods methods_QHoverEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QHoverEvent *QHoverEvent::clone()\nThis is a reimplementation of QSinglePointEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("isUpdateEvent?", "@brief Method bool QHoverEvent::isUpdateEvent()\nThis is a reimplementation of QSinglePointEvent::isUpdateEvent", true, &_init_f_isUpdateEvent_c0, &_call_f_isUpdateEvent_c0); methods += new qt_gsi::GenericMethod ("oldPos", "@brief Method QPoint QHoverEvent::oldPos()\n", true, &_init_f_oldPos_c0, &_call_f_oldPos_c0); methods += new qt_gsi::GenericMethod ("oldPosF", "@brief Method QPointF QHoverEvent::oldPosF()\n", true, &_init_f_oldPosF_c0, &_call_f_oldPosF_c0); @@ -180,21 +164,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QHoverEvent *QHoverEvent::clone() - QHoverEvent * cbs_clone_c0_0() const - { - return QHoverEvent::clone(); - } - - virtual QHoverEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QHoverEvent_Adaptor::cbs_clone_c0_0); - } else { - return QHoverEvent::clone(); - } - } - // [adaptor impl] bool QHoverEvent::isBeginEvent() bool cbs_isBeginEvent_c0_0() const { @@ -270,7 +239,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_isBeginEvent_c0_0; gsi::Callback cb_isEndEvent_c0_0; gsi::Callback cb_isUpdateEvent_c0_0; @@ -310,25 +278,6 @@ static void _call_ctor_QHoverEvent_Adaptor_11012 (const qt_gsi::GenericStaticMet } -// QHoverEvent *QHoverEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QHoverEvent *)((QHoverEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QHoverEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // bool QHoverEvent::isBeginEvent() static void _init_cbs_isBeginEvent_c0_0 (qt_gsi::GenericMethod *decl) @@ -442,8 +391,6 @@ gsi::Class &qtdecl_QHoverEvent (); static gsi::Methods methods_QHoverEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QHoverEvent::QHoverEvent(QEvent::Type type, const QPointF &pos, const QPointF &oldPos, QFlags modifiers, const QPointingDevice *device)\nThis method creates an object of class QHoverEvent.", &_init_ctor_QHoverEvent_Adaptor_11012, &_call_ctor_QHoverEvent_Adaptor_11012); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QHoverEvent *QHoverEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@brief Virtual method bool QHoverEvent::isBeginEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@hide", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0, &_set_callback_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isEndEvent", "@brief Virtual method bool QHoverEvent::isEndEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isEndEvent_c0_0, &_call_cbs_isEndEvent_c0_0); diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQIconDragEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQIconDragEvent.cc index 6e981c1a8..a0e595332 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQIconDragEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQIconDragEvent.cc @@ -28,7 +28,6 @@ */ #include -#include #include "gsiQt.h" #include "gsiQtGuiCommon.h" #include @@ -67,21 +66,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QEvent *QIconDragEvent::clone() - QEvent * cbs_clone_c0_0() const - { - return QIconDragEvent::clone(); - } - - virtual QEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QIconDragEvent_Adaptor::cbs_clone_c0_0); - } else { - return QIconDragEvent::clone(); - } - } - // [adaptor impl] void QIconDragEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -97,7 +81,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -117,25 +100,6 @@ static void _call_ctor_QIconDragEvent_Adaptor_0 (const qt_gsi::GenericStaticMeth } -// QEvent *QIconDragEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QEvent *)((QIconDragEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QIconDragEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QIconDragEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -168,8 +132,6 @@ gsi::Class &qtdecl_QIconDragEvent (); static gsi::Methods methods_QIconDragEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QIconDragEvent::QIconDragEvent()\nThis method creates an object of class QIconDragEvent.", &_init_ctor_QIconDragEvent_Adaptor_0, &_call_ctor_QIconDragEvent_Adaptor_0); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QEvent *QIconDragEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QIconDragEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQInputEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQInputEvent.cc index fc1086e98..47f6ef55a 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQInputEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQInputEvent.cc @@ -36,21 +36,6 @@ // ----------------------------------------------------------------------- // class QInputEvent -// QInputEvent *QInputEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QInputEvent *)((QInputEvent *)cls)->clone ()); -} - - // const QInputDevice *QInputEvent::device() @@ -156,7 +141,6 @@ namespace gsi static gsi::Methods methods_QInputEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QInputEvent *QInputEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("device", "@brief Method const QInputDevice *QInputEvent::device()\n", true, &_init_f_device_c0, &_call_f_device_c0); methods += new qt_gsi::GenericMethod ("deviceType", "@brief Method QInputDevice::DeviceType QInputEvent::deviceType()\n", true, &_init_f_deviceType_c0, &_call_f_deviceType_c0); methods += new qt_gsi::GenericMethod (":modifiers", "@brief Method QFlags QInputEvent::modifiers()\n", true, &_init_f_modifiers_c0, &_call_f_modifiers_c0); @@ -195,21 +179,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QInputEvent *QInputEvent::clone() - QInputEvent * cbs_clone_c0_0() const - { - return QInputEvent::clone(); - } - - virtual QInputEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QInputEvent_Adaptor::cbs_clone_c0_0); - } else { - return QInputEvent::clone(); - } - } - // [adaptor impl] void QInputEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -240,7 +209,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; gsi::Callback cb_setTimestamp_1103_0; }; @@ -271,25 +239,6 @@ static void _call_ctor_QInputEvent_Adaptor_6944 (const qt_gsi::GenericStaticMeth } -// QInputEvent *QInputEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QInputEvent *)((QInputEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QInputEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QInputEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -346,8 +295,6 @@ gsi::Class &qtdecl_QInputEvent (); static gsi::Methods methods_QInputEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QInputEvent::QInputEvent(QEvent::Type type, const QInputDevice *m_dev, QFlags modifiers)\nThis method creates an object of class QInputEvent.", &_init_ctor_QInputEvent_Adaptor_6944, &_call_ctor_QInputEvent_Adaptor_6944); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QInputEvent *QInputEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QInputEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setTimestamp", "@brief Virtual method void QInputEvent::setTimestamp(quint64 timestamp)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setTimestamp_1103_0, &_call_cbs_setTimestamp_1103_0); diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQInputMethodQueryEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQInputMethodQueryEvent.cc index 7c4530d87..fa52e8299 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQInputMethodQueryEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQInputMethodQueryEvent.cc @@ -35,21 +35,6 @@ // ----------------------------------------------------------------------- // class QInputMethodQueryEvent -// QInputMethodQueryEvent *QInputMethodQueryEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QInputMethodQueryEvent *)((QInputMethodQueryEvent *)cls)->clone ()); -} - - // QFlags QInputMethodQueryEvent::queries() @@ -112,7 +97,6 @@ namespace gsi static gsi::Methods methods_QInputMethodQueryEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QInputMethodQueryEvent *QInputMethodQueryEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("queries", "@brief Method QFlags QInputMethodQueryEvent::queries()\n", true, &_init_f_queries_c0, &_call_f_queries_c0); methods += new qt_gsi::GenericMethod ("setValue", "@brief Method void QInputMethodQueryEvent::setValue(Qt::InputMethodQuery query, const QVariant &value)\n", false, &_init_f_setValue_4431, &_call_f_setValue_4431); methods += new qt_gsi::GenericMethod ("value", "@brief Method QVariant QInputMethodQueryEvent::value(Qt::InputMethodQuery query)\n", true, &_init_f_value_c2420, &_call_f_value_c2420); @@ -142,21 +126,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QInputMethodQueryEvent *QInputMethodQueryEvent::clone() - QInputMethodQueryEvent * cbs_clone_c0_0() const - { - return QInputMethodQueryEvent::clone(); - } - - virtual QInputMethodQueryEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QInputMethodQueryEvent_Adaptor::cbs_clone_c0_0); - } else { - return QInputMethodQueryEvent::clone(); - } - } - // [adaptor impl] void QInputMethodQueryEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -172,7 +141,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -196,25 +164,6 @@ static void _call_ctor_QInputMethodQueryEvent_Adaptor_3116 (const qt_gsi::Generi } -// QInputMethodQueryEvent *QInputMethodQueryEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QInputMethodQueryEvent *)((QInputMethodQueryEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QInputMethodQueryEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QInputMethodQueryEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -247,8 +196,6 @@ gsi::Class &qtdecl_QInputMethodQueryEvent (); static gsi::Methods methods_QInputMethodQueryEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QInputMethodQueryEvent::QInputMethodQueryEvent(QFlags queries)\nThis method creates an object of class QInputMethodQueryEvent.", &_init_ctor_QInputMethodQueryEvent_Adaptor_3116, &_call_ctor_QInputMethodQueryEvent_Adaptor_3116); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QInputMethodQueryEvent *QInputMethodQueryEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QInputMethodQueryEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQKeyEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQKeyEvent.cc index 73999740d..9a55d983c 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQKeyEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQKeyEvent.cc @@ -37,21 +37,6 @@ // ----------------------------------------------------------------------- // class QKeyEvent -// QKeyEvent *QKeyEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QKeyEvent *)((QKeyEvent *)cls)->clone ()); -} - - // int QKeyEvent::count() @@ -211,7 +196,6 @@ namespace gsi static gsi::Methods methods_QKeyEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QKeyEvent *QKeyEvent::clone()\nThis is a reimplementation of QInputEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("count", "@brief Method int QKeyEvent::count()\n", true, &_init_f_count_c0, &_call_f_count_c0); methods += new qt_gsi::GenericMethod ("isAutoRepeat?", "@brief Method bool QKeyEvent::isAutoRepeat()\n", true, &_init_f_isAutoRepeat_c0, &_call_f_isAutoRepeat_c0); methods += new qt_gsi::GenericMethod ("key", "@brief Method int QKeyEvent::key()\n", true, &_init_f_key_c0, &_call_f_key_c0); @@ -296,21 +280,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QKeyEvent *QKeyEvent::clone() - QKeyEvent * cbs_clone_c0_0() const - { - return QKeyEvent::clone(); - } - - virtual QKeyEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QKeyEvent_Adaptor::cbs_clone_c0_0); - } else { - return QKeyEvent::clone(); - } - } - // [adaptor impl] void QKeyEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -341,7 +310,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; gsi::Callback cb_setTimestamp_1103_0; }; @@ -426,25 +394,6 @@ static void _call_ctor_QKeyEvent_Adaptor_14238 (const qt_gsi::GenericStaticMetho } -// QKeyEvent *QKeyEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QKeyEvent *)((QKeyEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QKeyEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QKeyEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -502,8 +451,6 @@ static gsi::Methods methods_QKeyEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QKeyEvent::QKeyEvent(QEvent::Type type, int key, QFlags modifiers, const QString &text, bool autorep, quint16 count)\nThis method creates an object of class QKeyEvent.", &_init_ctor_QKeyEvent_Adaptor_8858, &_call_ctor_QKeyEvent_Adaptor_8858); methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QKeyEvent::QKeyEvent(QEvent::Type type, int key, QFlags modifiers, quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers, const QString &text, bool autorep, quint16 count, const QInputDevice *device)\nThis method creates an object of class QKeyEvent.", &_init_ctor_QKeyEvent_Adaptor_14238, &_call_ctor_QKeyEvent_Adaptor_14238); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QKeyEvent *QKeyEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QKeyEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setTimestamp", "@brief Virtual method void QKeyEvent::setTimestamp(quint64 timestamp)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setTimestamp_1103_0, &_call_cbs_setTimestamp_1103_0); diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQMouseEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQMouseEvent.cc index 0ffbca1ac..3d09b2cad 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQMouseEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQMouseEvent.cc @@ -41,21 +41,6 @@ // ----------------------------------------------------------------------- // class QMouseEvent -// QMouseEvent *QMouseEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QMouseEvent *)((QMouseEvent *)cls)->clone ()); -} - - // QFlags QMouseEvent::flags() @@ -226,7 +211,6 @@ namespace gsi static gsi::Methods methods_QMouseEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QMouseEvent *QMouseEvent::clone()\nThis is a reimplementation of QSinglePointEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("flags", "@brief Method QFlags QMouseEvent::flags()\n", true, &_init_f_flags_c0, &_call_f_flags_c0); methods += new qt_gsi::GenericMethod ("globalPos", "@brief Method QPoint QMouseEvent::globalPos()\n", true, &_init_f_globalPos_c0, &_call_f_globalPos_c0); methods += new qt_gsi::GenericMethod ("globalX", "@brief Method int QMouseEvent::globalX()\n", true, &_init_f_globalX_c0, &_call_f_globalX_c0); @@ -306,21 +290,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QMouseEvent *QMouseEvent::clone() - QMouseEvent * cbs_clone_c0_0() const - { - return QMouseEvent::clone(); - } - - virtual QMouseEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QMouseEvent_Adaptor::cbs_clone_c0_0); - } else { - return QMouseEvent::clone(); - } - } - // [adaptor impl] bool QMouseEvent::isBeginEvent() bool cbs_isBeginEvent_c0_0() const { @@ -396,7 +365,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_isBeginEvent_c0_0; gsi::Callback cb_isEndEvent_c0_0; gsi::Callback cb_isUpdateEvent_c0_0; @@ -556,25 +524,6 @@ static void _call_ctor_QMouseEvent_Adaptor_19483 (const qt_gsi::GenericStaticMet } -// QMouseEvent *QMouseEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QMouseEvent *)((QMouseEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QMouseEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // bool QMouseEvent::isBeginEvent() static void _init_cbs_isBeginEvent_c0_0 (qt_gsi::GenericMethod *decl) @@ -691,8 +640,6 @@ static gsi::Methods methods_QMouseEvent_Adaptor () { methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QMouseEvent::QMouseEvent(QEvent::Type type, const QPointF &localPos, const QPointF &globalPos, Qt::MouseButton button, QFlags buttons, QFlags modifiers, const QPointingDevice *device)\nThis method creates an object of class QMouseEvent.", &_init_ctor_QMouseEvent_Adaptor_15304, &_call_ctor_QMouseEvent_Adaptor_15304); methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QMouseEvent::QMouseEvent(QEvent::Type type, const QPointF &localPos, const QPointF &scenePos, const QPointF &globalPos, Qt::MouseButton button, QFlags buttons, QFlags modifiers, const QPointingDevice *device)\nThis method creates an object of class QMouseEvent.", &_init_ctor_QMouseEvent_Adaptor_17182, &_call_ctor_QMouseEvent_Adaptor_17182); methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QMouseEvent::QMouseEvent(QEvent::Type type, const QPointF &localPos, const QPointF &scenePos, const QPointF &globalPos, Qt::MouseButton button, QFlags buttons, QFlags modifiers, Qt::MouseEventSource source, const QPointingDevice *device)\nThis method creates an object of class QMouseEvent.", &_init_ctor_QMouseEvent_Adaptor_19483, &_call_ctor_QMouseEvent_Adaptor_19483); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QMouseEvent *QMouseEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@brief Virtual method bool QMouseEvent::isBeginEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@hide", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0, &_set_callback_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isEndEvent", "@brief Virtual method bool QMouseEvent::isEndEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isEndEvent_c0_0, &_call_cbs_isEndEvent_c0_0); diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQMoveEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQMoveEvent.cc index 1ffb0ccf6..3210792f2 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQMoveEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQMoveEvent.cc @@ -36,21 +36,6 @@ // ----------------------------------------------------------------------- // class QMoveEvent -// QMoveEvent *QMoveEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QMoveEvent *)((QMoveEvent *)cls)->clone ()); -} - - // const QPoint &QMoveEvent::oldPos() @@ -86,7 +71,6 @@ namespace gsi static gsi::Methods methods_QMoveEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QMoveEvent *QMoveEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("oldPos", "@brief Method const QPoint &QMoveEvent::oldPos()\n", true, &_init_f_oldPos_c0, &_call_f_oldPos_c0); methods += new qt_gsi::GenericMethod ("pos", "@brief Method const QPoint &QMoveEvent::pos()\n", true, &_init_f_pos_c0, &_call_f_pos_c0); return methods; @@ -115,21 +99,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QMoveEvent *QMoveEvent::clone() - QMoveEvent * cbs_clone_c0_0() const - { - return QMoveEvent::clone(); - } - - virtual QMoveEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QMoveEvent_Adaptor::cbs_clone_c0_0); - } else { - return QMoveEvent::clone(); - } - } - // [adaptor impl] void QMoveEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -145,7 +114,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -172,25 +140,6 @@ static void _call_ctor_QMoveEvent_Adaptor_3724 (const qt_gsi::GenericStaticMetho } -// QMoveEvent *QMoveEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QMoveEvent *)((QMoveEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QMoveEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QMoveEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -223,8 +172,6 @@ gsi::Class &qtdecl_QMoveEvent (); static gsi::Methods methods_QMoveEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QMoveEvent::QMoveEvent(const QPoint &pos, const QPoint &oldPos)\nThis method creates an object of class QMoveEvent.", &_init_ctor_QMoveEvent_Adaptor_3724, &_call_ctor_QMoveEvent_Adaptor_3724); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QMoveEvent *QMoveEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QMoveEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQNativeGestureEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQNativeGestureEvent.cc index 21f89230e..15feb0e94 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQNativeGestureEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQNativeGestureEvent.cc @@ -41,21 +41,6 @@ // ----------------------------------------------------------------------- // class QNativeGestureEvent -// QNativeGestureEvent *QNativeGestureEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QNativeGestureEvent *)((QNativeGestureEvent *)cls)->clone ()); -} - - // QPointF QNativeGestureEvent::delta() @@ -196,7 +181,6 @@ namespace gsi static gsi::Methods methods_QNativeGestureEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QNativeGestureEvent *QNativeGestureEvent::clone()\nThis is a reimplementation of QSinglePointEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("delta", "@brief Method QPointF QNativeGestureEvent::delta()\n", true, &_init_f_delta_c0, &_call_f_delta_c0); methods += new qt_gsi::GenericMethod ("fingerCount", "@brief Method int QNativeGestureEvent::fingerCount()\n", true, &_init_f_fingerCount_c0, &_call_f_fingerCount_c0); methods += new qt_gsi::GenericMethod ("gestureType", "@brief Method Qt::NativeGestureType QNativeGestureEvent::gestureType()\n", true, &_init_f_gestureType_c0, &_call_f_gestureType_c0); @@ -244,21 +228,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QNativeGestureEvent *QNativeGestureEvent::clone() - QNativeGestureEvent * cbs_clone_c0_0() const - { - return QNativeGestureEvent::clone(); - } - - virtual QNativeGestureEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QNativeGestureEvent_Adaptor::cbs_clone_c0_0); - } else { - return QNativeGestureEvent::clone(); - } - } - // [adaptor impl] bool QNativeGestureEvent::isBeginEvent() bool cbs_isBeginEvent_c0_0() const { @@ -334,7 +303,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_isBeginEvent_c0_0; gsi::Callback cb_isEndEvent_c0_0; gsi::Callback cb_isUpdateEvent_c0_0; @@ -425,25 +393,6 @@ static void _call_ctor_QNativeGestureEvent_Adaptor_15368 (const qt_gsi::GenericS } -// QNativeGestureEvent *QNativeGestureEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QNativeGestureEvent *)((QNativeGestureEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QNativeGestureEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // bool QNativeGestureEvent::isBeginEvent() static void _init_cbs_isBeginEvent_c0_0 (qt_gsi::GenericMethod *decl) @@ -558,8 +507,6 @@ static gsi::Methods methods_QNativeGestureEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QNativeGestureEvent::QNativeGestureEvent(Qt::NativeGestureType type, const QPointingDevice *dev, const QPointF &localPos, const QPointF &scenePos, const QPointF &globalPos, double value, quint64 sequenceId, quint64 intArgument)\nThis method creates an object of class QNativeGestureEvent.", &_init_ctor_QNativeGestureEvent_Adaptor_13826, &_call_ctor_QNativeGestureEvent_Adaptor_13826); methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QNativeGestureEvent::QNativeGestureEvent(Qt::NativeGestureType type, const QPointingDevice *dev, int fingerCount, const QPointF &localPos, const QPointF &scenePos, const QPointF &globalPos, double value, const QPointF &delta, quint64 sequenceId)\nThis method creates an object of class QNativeGestureEvent.", &_init_ctor_QNativeGestureEvent_Adaptor_15368, &_call_ctor_QNativeGestureEvent_Adaptor_15368); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QNativeGestureEvent *QNativeGestureEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@brief Virtual method bool QNativeGestureEvent::isBeginEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@hide", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0, &_set_callback_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isEndEvent", "@brief Virtual method bool QNativeGestureEvent::isEndEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isEndEvent_c0_0, &_call_cbs_isEndEvent_c0_0); diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQPaintEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQPaintEvent.cc index 1d7245b06..16e99f123 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQPaintEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQPaintEvent.cc @@ -37,21 +37,6 @@ // ----------------------------------------------------------------------- // class QPaintEvent -// QPaintEvent *QPaintEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPaintEvent *)((QPaintEvent *)cls)->clone ()); -} - - // const QRect &QPaintEvent::rect() @@ -87,7 +72,6 @@ namespace gsi static gsi::Methods methods_QPaintEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QPaintEvent *QPaintEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("rect", "@brief Method const QRect &QPaintEvent::rect()\n", true, &_init_f_rect_c0, &_call_f_rect_c0); methods += new qt_gsi::GenericMethod ("region", "@brief Method const QRegion &QPaintEvent::region()\n", true, &_init_f_region_c0, &_call_f_region_c0); return methods; @@ -122,21 +106,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QPaintEvent *QPaintEvent::clone() - QPaintEvent * cbs_clone_c0_0() const - { - return QPaintEvent::clone(); - } - - virtual QPaintEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QPaintEvent_Adaptor::cbs_clone_c0_0); - } else { - return QPaintEvent::clone(); - } - } - // [adaptor impl] void QPaintEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -152,7 +121,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -194,25 +162,6 @@ static void _call_ctor_QPaintEvent_Adaptor_1792 (const qt_gsi::GenericStaticMeth } -// QPaintEvent *QPaintEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPaintEvent *)((QPaintEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QPaintEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QPaintEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -246,8 +195,6 @@ static gsi::Methods methods_QPaintEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QPaintEvent::QPaintEvent(const QRegion &paintRegion)\nThis method creates an object of class QPaintEvent.", &_init_ctor_QPaintEvent_Adaptor_2006, &_call_ctor_QPaintEvent_Adaptor_2006); methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QPaintEvent::QPaintEvent(const QRect &paintRect)\nThis method creates an object of class QPaintEvent.", &_init_ctor_QPaintEvent_Adaptor_1792, &_call_ctor_QPaintEvent_Adaptor_1792); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QPaintEvent *QPaintEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QPaintEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQPlatformSurfaceEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQPlatformSurfaceEvent.cc index 833d00a5d..71b617e8c 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQPlatformSurfaceEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQPlatformSurfaceEvent.cc @@ -35,21 +35,6 @@ // ----------------------------------------------------------------------- // class QPlatformSurfaceEvent -// QPlatformSurfaceEvent *QPlatformSurfaceEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPlatformSurfaceEvent *)((QPlatformSurfaceEvent *)cls)->clone ()); -} - - // QPlatformSurfaceEvent::SurfaceEventType QPlatformSurfaceEvent::surfaceEventType() @@ -70,7 +55,6 @@ namespace gsi static gsi::Methods methods_QPlatformSurfaceEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QPlatformSurfaceEvent *QPlatformSurfaceEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("surfaceEventType", "@brief Method QPlatformSurfaceEvent::SurfaceEventType QPlatformSurfaceEvent::surfaceEventType()\n", true, &_init_f_surfaceEventType_c0, &_call_f_surfaceEventType_c0); return methods; } @@ -98,21 +82,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QPlatformSurfaceEvent *QPlatformSurfaceEvent::clone() - QPlatformSurfaceEvent * cbs_clone_c0_0() const - { - return QPlatformSurfaceEvent::clone(); - } - - virtual QPlatformSurfaceEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QPlatformSurfaceEvent_Adaptor::cbs_clone_c0_0); - } else { - return QPlatformSurfaceEvent::clone(); - } - } - // [adaptor impl] void QPlatformSurfaceEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -128,7 +97,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -152,25 +120,6 @@ static void _call_ctor_QPlatformSurfaceEvent_Adaptor_4342 (const qt_gsi::Generic } -// QPlatformSurfaceEvent *QPlatformSurfaceEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPlatformSurfaceEvent *)((QPlatformSurfaceEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QPlatformSurfaceEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QPlatformSurfaceEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -203,8 +152,6 @@ gsi::Class &qtdecl_QPlatformSurfaceEvent (); static gsi::Methods methods_QPlatformSurfaceEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QPlatformSurfaceEvent::QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType)\nThis method creates an object of class QPlatformSurfaceEvent.", &_init_ctor_QPlatformSurfaceEvent_Adaptor_4342, &_call_ctor_QPlatformSurfaceEvent_Adaptor_4342); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QPlatformSurfaceEvent *QPlatformSurfaceEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QPlatformSurfaceEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQPointerEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQPointerEvent.cc index 7d65ac66f..b929d0207 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQPointerEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQPointerEvent.cc @@ -111,21 +111,6 @@ static void _call_f_clearPassiveGrabbers_2430 (const qt_gsi::GenericMethod * /*d } -// QPointerEvent *QPointerEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPointerEvent *)((QPointerEvent *)cls)->clone ()); -} - - // QObject *QPointerEvent::exclusiveGrabber(const QEventPoint &point) @@ -401,7 +386,6 @@ static gsi::Methods methods_QPointerEvent () { methods += new qt_gsi::GenericMethod ("allPointsAccepted", "@brief Method bool QPointerEvent::allPointsAccepted()\n", true, &_init_f_allPointsAccepted_c0, &_call_f_allPointsAccepted_c0); methods += new qt_gsi::GenericMethod ("allPointsGrabbed", "@brief Method bool QPointerEvent::allPointsGrabbed()\n", true, &_init_f_allPointsGrabbed_c0, &_call_f_allPointsGrabbed_c0); methods += new qt_gsi::GenericMethod ("clearPassiveGrabbers", "@brief Method void QPointerEvent::clearPassiveGrabbers(const QEventPoint &point)\n", false, &_init_f_clearPassiveGrabbers_2430, &_call_f_clearPassiveGrabbers_2430); - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QPointerEvent *QPointerEvent::clone()\nThis is a reimplementation of QInputEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("exclusiveGrabber", "@brief Method QObject *QPointerEvent::exclusiveGrabber(const QEventPoint &point)\n", true, &_init_f_exclusiveGrabber_c2430, &_call_f_exclusiveGrabber_c2430); methods += new qt_gsi::GenericMethod ("isBeginEvent?", "@brief Method bool QPointerEvent::isBeginEvent()\n", true, &_init_f_isBeginEvent_c0, &_call_f_isBeginEvent_c0); methods += new qt_gsi::GenericMethod ("isEndEvent?", "@brief Method bool QPointerEvent::isEndEvent()\n", true, &_init_f_isEndEvent_c0, &_call_f_isEndEvent_c0); @@ -455,21 +439,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QPointerEvent *QPointerEvent::clone() - QPointerEvent * cbs_clone_c0_0() const - { - return QPointerEvent::clone(); - } - - virtual QPointerEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QPointerEvent_Adaptor::cbs_clone_c0_0); - } else { - return QPointerEvent::clone(); - } - } - // [adaptor impl] bool QPointerEvent::isBeginEvent() bool cbs_isBeginEvent_c0_0() const { @@ -545,7 +514,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_isBeginEvent_c0_0; gsi::Callback cb_isEndEvent_c0_0; gsi::Callback cb_isUpdateEvent_c0_0; @@ -582,25 +550,6 @@ static void _call_ctor_QPointerEvent_Adaptor_10193 (const qt_gsi::GenericStaticM } -// QPointerEvent *QPointerEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPointerEvent *)((QPointerEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QPointerEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // bool QPointerEvent::isBeginEvent() static void _init_cbs_isBeginEvent_c0_0 (qt_gsi::GenericMethod *decl) @@ -714,8 +663,6 @@ gsi::Class &qtdecl_QPointerEvent (); static gsi::Methods methods_QPointerEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QPointerEvent::QPointerEvent(QEvent::Type type, const QPointingDevice *dev, QFlags modifiers, const QList &points)\nThis method creates an object of class QPointerEvent.", &_init_ctor_QPointerEvent_Adaptor_10193, &_call_ctor_QPointerEvent_Adaptor_10193); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QPointerEvent *QPointerEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@brief Virtual method bool QPointerEvent::isBeginEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@hide", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0, &_set_callback_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isEndEvent", "@brief Virtual method bool QPointerEvent::isEndEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isEndEvent_c0_0, &_call_cbs_isEndEvent_c0_0); diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQResizeEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQResizeEvent.cc index d319f9f84..31f1bd3ef 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQResizeEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQResizeEvent.cc @@ -36,21 +36,6 @@ // ----------------------------------------------------------------------- // class QResizeEvent -// QResizeEvent *QResizeEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QResizeEvent *)((QResizeEvent *)cls)->clone ()); -} - - // const QSize &QResizeEvent::oldSize() @@ -86,7 +71,6 @@ namespace gsi static gsi::Methods methods_QResizeEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QResizeEvent *QResizeEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("oldSize", "@brief Method const QSize &QResizeEvent::oldSize()\n", true, &_init_f_oldSize_c0, &_call_f_oldSize_c0); methods += new qt_gsi::GenericMethod ("size", "@brief Method const QSize &QResizeEvent::size()\n", true, &_init_f_size_c0, &_call_f_size_c0); return methods; @@ -115,21 +99,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QResizeEvent *QResizeEvent::clone() - QResizeEvent * cbs_clone_c0_0() const - { - return QResizeEvent::clone(); - } - - virtual QResizeEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QResizeEvent_Adaptor::cbs_clone_c0_0); - } else { - return QResizeEvent::clone(); - } - } - // [adaptor impl] void QResizeEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -145,7 +114,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -172,25 +140,6 @@ static void _call_ctor_QResizeEvent_Adaptor_3502 (const qt_gsi::GenericStaticMet } -// QResizeEvent *QResizeEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QResizeEvent *)((QResizeEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QResizeEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QResizeEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -223,8 +172,6 @@ gsi::Class &qtdecl_QResizeEvent (); static gsi::Methods methods_QResizeEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QResizeEvent::QResizeEvent(const QSize &size, const QSize &oldSize)\nThis method creates an object of class QResizeEvent.", &_init_ctor_QResizeEvent_Adaptor_3502, &_call_ctor_QResizeEvent_Adaptor_3502); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QResizeEvent *QResizeEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QResizeEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQScreenOrientationChangeEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQScreenOrientationChangeEvent.cc index 5899b8bfe..70f0c684e 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQScreenOrientationChangeEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQScreenOrientationChangeEvent.cc @@ -36,21 +36,6 @@ // ----------------------------------------------------------------------- // class QScreenOrientationChangeEvent -// QScreenOrientationChangeEvent *QScreenOrientationChangeEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QScreenOrientationChangeEvent *)((QScreenOrientationChangeEvent *)cls)->clone ()); -} - - // Qt::ScreenOrientation QScreenOrientationChangeEvent::orientation() @@ -86,7 +71,6 @@ namespace gsi static gsi::Methods methods_QScreenOrientationChangeEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QScreenOrientationChangeEvent *QScreenOrientationChangeEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("orientation", "@brief Method Qt::ScreenOrientation QScreenOrientationChangeEvent::orientation()\n", true, &_init_f_orientation_c0, &_call_f_orientation_c0); methods += new qt_gsi::GenericMethod ("screen", "@brief Method QScreen *QScreenOrientationChangeEvent::screen()\n", true, &_init_f_screen_c0, &_call_f_screen_c0); return methods; @@ -115,21 +99,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QScreenOrientationChangeEvent *QScreenOrientationChangeEvent::clone() - QScreenOrientationChangeEvent * cbs_clone_c0_0() const - { - return QScreenOrientationChangeEvent::clone(); - } - - virtual QScreenOrientationChangeEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QScreenOrientationChangeEvent_Adaptor::cbs_clone_c0_0); - } else { - return QScreenOrientationChangeEvent::clone(); - } - } - // [adaptor impl] void QScreenOrientationChangeEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -145,7 +114,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -172,25 +140,6 @@ static void _call_ctor_QScreenOrientationChangeEvent_Adaptor_3724 (const qt_gsi: } -// QScreenOrientationChangeEvent *QScreenOrientationChangeEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QScreenOrientationChangeEvent *)((QScreenOrientationChangeEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QScreenOrientationChangeEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QScreenOrientationChangeEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -223,8 +172,6 @@ gsi::Class &qtdecl_QScreenOrientationChangeEvent static gsi::Methods methods_QScreenOrientationChangeEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QScreenOrientationChangeEvent::QScreenOrientationChangeEvent(QScreen *screen, Qt::ScreenOrientation orientation)\nThis method creates an object of class QScreenOrientationChangeEvent.", &_init_ctor_QScreenOrientationChangeEvent_Adaptor_3724, &_call_ctor_QScreenOrientationChangeEvent_Adaptor_3724); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QScreenOrientationChangeEvent *QScreenOrientationChangeEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QScreenOrientationChangeEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQScrollEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQScrollEvent.cc index 56198b70a..fa2047ffc 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQScrollEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQScrollEvent.cc @@ -36,21 +36,6 @@ // ----------------------------------------------------------------------- // class QScrollEvent -// QScrollEvent *QScrollEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QScrollEvent *)((QScrollEvent *)cls)->clone ()); -} - - // QPointF QScrollEvent::contentPos() @@ -101,7 +86,6 @@ namespace gsi static gsi::Methods methods_QScrollEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QScrollEvent *QScrollEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("contentPos", "@brief Method QPointF QScrollEvent::contentPos()\n", true, &_init_f_contentPos_c0, &_call_f_contentPos_c0); methods += new qt_gsi::GenericMethod ("overshootDistance", "@brief Method QPointF QScrollEvent::overshootDistance()\n", true, &_init_f_overshootDistance_c0, &_call_f_overshootDistance_c0); methods += new qt_gsi::GenericMethod ("scrollState", "@brief Method QScrollEvent::ScrollState QScrollEvent::scrollState()\n", true, &_init_f_scrollState_c0, &_call_f_scrollState_c0); @@ -131,21 +115,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QScrollEvent *QScrollEvent::clone() - QScrollEvent * cbs_clone_c0_0() const - { - return QScrollEvent::clone(); - } - - virtual QScrollEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QScrollEvent_Adaptor::cbs_clone_c0_0); - } else { - return QScrollEvent::clone(); - } - } - // [adaptor impl] void QScrollEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -161,7 +130,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -191,25 +159,6 @@ static void _call_ctor_QScrollEvent_Adaptor_6662 (const qt_gsi::GenericStaticMet } -// QScrollEvent *QScrollEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QScrollEvent *)((QScrollEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QScrollEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QScrollEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -242,8 +191,6 @@ gsi::Class &qtdecl_QScrollEvent (); static gsi::Methods methods_QScrollEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QScrollEvent::QScrollEvent(const QPointF &contentPos, const QPointF &overshoot, QScrollEvent::ScrollState scrollState)\nThis method creates an object of class QScrollEvent.", &_init_ctor_QScrollEvent_Adaptor_6662, &_call_ctor_QScrollEvent_Adaptor_6662); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QScrollEvent *QScrollEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QScrollEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQScrollPrepareEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQScrollPrepareEvent.cc index 5751de177..f1dd520af 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQScrollPrepareEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQScrollPrepareEvent.cc @@ -38,21 +38,6 @@ // ----------------------------------------------------------------------- // class QScrollPrepareEvent -// QScrollPrepareEvent *QScrollPrepareEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QScrollPrepareEvent *)((QScrollPrepareEvent *)cls)->clone ()); -} - - // QPointF QScrollPrepareEvent::contentPos() @@ -178,7 +163,6 @@ namespace gsi static gsi::Methods methods_QScrollPrepareEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QScrollPrepareEvent *QScrollPrepareEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod (":contentPos", "@brief Method QPointF QScrollPrepareEvent::contentPos()\n", true, &_init_f_contentPos_c0, &_call_f_contentPos_c0); methods += new qt_gsi::GenericMethod (":contentPosRange", "@brief Method QRectF QScrollPrepareEvent::contentPosRange()\n", true, &_init_f_contentPosRange_c0, &_call_f_contentPosRange_c0); methods += new qt_gsi::GenericMethod ("setContentPos|contentPos=", "@brief Method void QScrollPrepareEvent::setContentPos(const QPointF &pos)\n", false, &_init_f_setContentPos_1986, &_call_f_setContentPos_1986); @@ -212,21 +196,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QScrollPrepareEvent *QScrollPrepareEvent::clone() - QScrollPrepareEvent * cbs_clone_c0_0() const - { - return QScrollPrepareEvent::clone(); - } - - virtual QScrollPrepareEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QScrollPrepareEvent_Adaptor::cbs_clone_c0_0); - } else { - return QScrollPrepareEvent::clone(); - } - } - // [adaptor impl] void QScrollPrepareEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -242,7 +211,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -266,25 +234,6 @@ static void _call_ctor_QScrollPrepareEvent_Adaptor_1986 (const qt_gsi::GenericSt } -// QScrollPrepareEvent *QScrollPrepareEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QScrollPrepareEvent *)((QScrollPrepareEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QScrollPrepareEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QScrollPrepareEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -317,8 +266,6 @@ gsi::Class &qtdecl_QScrollPrepareEvent (); static gsi::Methods methods_QScrollPrepareEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QScrollPrepareEvent::QScrollPrepareEvent(const QPointF &startPos)\nThis method creates an object of class QScrollPrepareEvent.", &_init_ctor_QScrollPrepareEvent_Adaptor_1986, &_call_ctor_QScrollPrepareEvent_Adaptor_1986); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QScrollPrepareEvent *QScrollPrepareEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QScrollPrepareEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQShortcutEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQShortcutEvent.cc index 16f21b9ef..274dac277 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQShortcutEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQShortcutEvent.cc @@ -36,21 +36,6 @@ // ----------------------------------------------------------------------- // class QShortcutEvent -// QShortcutEvent *QShortcutEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QShortcutEvent *)((QShortcutEvent *)cls)->clone ()); -} - - // bool QShortcutEvent::isAmbiguous() @@ -101,7 +86,6 @@ namespace gsi static gsi::Methods methods_QShortcutEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QShortcutEvent *QShortcutEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("isAmbiguous?", "@brief Method bool QShortcutEvent::isAmbiguous()\n", true, &_init_f_isAmbiguous_c0, &_call_f_isAmbiguous_c0); methods += new qt_gsi::GenericMethod ("key", "@brief Method const QKeySequence &QShortcutEvent::key()\n", true, &_init_f_key_c0, &_call_f_key_c0); methods += new qt_gsi::GenericMethod ("shortcutId", "@brief Method int QShortcutEvent::shortcutId()\n", true, &_init_f_shortcutId_c0, &_call_f_shortcutId_c0); @@ -137,21 +121,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QShortcutEvent *QShortcutEvent::clone() - QShortcutEvent * cbs_clone_c0_0() const - { - return QShortcutEvent::clone(); - } - - virtual QShortcutEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QShortcutEvent_Adaptor::cbs_clone_c0_0); - } else { - return QShortcutEvent::clone(); - } - } - // [adaptor impl] void QShortcutEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -167,7 +136,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -197,25 +165,6 @@ static void _call_ctor_QShortcutEvent_Adaptor_3931 (const qt_gsi::GenericStaticM } -// QShortcutEvent *QShortcutEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QShortcutEvent *)((QShortcutEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QShortcutEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QShortcutEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -248,8 +197,6 @@ gsi::Class &qtdecl_QShortcutEvent (); static gsi::Methods methods_QShortcutEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QShortcutEvent::QShortcutEvent(const QKeySequence &key, int id, bool ambiguous)\nThis method creates an object of class QShortcutEvent.", &_init_ctor_QShortcutEvent_Adaptor_3931, &_call_ctor_QShortcutEvent_Adaptor_3931); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QShortcutEvent *QShortcutEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QShortcutEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQShowEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQShowEvent.cc index 154c3ca64..c2f502a2d 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQShowEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQShowEvent.cc @@ -28,7 +28,6 @@ */ #include -#include #include "gsiQt.h" #include "gsiQtGuiCommon.h" #include @@ -67,21 +66,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QEvent *QShowEvent::clone() - QEvent * cbs_clone_c0_0() const - { - return QShowEvent::clone(); - } - - virtual QEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QShowEvent_Adaptor::cbs_clone_c0_0); - } else { - return QShowEvent::clone(); - } - } - // [adaptor impl] void QShowEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -97,7 +81,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -117,25 +100,6 @@ static void _call_ctor_QShowEvent_Adaptor_0 (const qt_gsi::GenericStaticMethod * } -// QEvent *QShowEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QEvent *)((QShowEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QShowEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QShowEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -168,8 +132,6 @@ gsi::Class &qtdecl_QShowEvent (); static gsi::Methods methods_QShowEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QShowEvent::QShowEvent()\nThis method creates an object of class QShowEvent.", &_init_ctor_QShowEvent_Adaptor_0, &_call_ctor_QShowEvent_Adaptor_0); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QEvent *QShowEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QShowEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQSinglePointEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQSinglePointEvent.cc index 15c8afc6d..30e091702 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQSinglePointEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQSinglePointEvent.cc @@ -70,21 +70,6 @@ static void _call_f_buttons_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cl } -// QSinglePointEvent *QSinglePointEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QSinglePointEvent *)((QSinglePointEvent *)cls)->clone ()); -} - - // QObject *QSinglePointEvent::exclusivePointGrabber() @@ -217,7 +202,6 @@ static gsi::Methods methods_QSinglePointEvent () { gsi::Methods methods; methods += new qt_gsi::GenericMethod ("button", "@brief Method Qt::MouseButton QSinglePointEvent::button()\n", true, &_init_f_button_c0, &_call_f_button_c0); methods += new qt_gsi::GenericMethod ("buttons", "@brief Method QFlags QSinglePointEvent::buttons()\n", true, &_init_f_buttons_c0, &_call_f_buttons_c0); - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QSinglePointEvent *QSinglePointEvent::clone()\nThis is a reimplementation of QPointerEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("exclusivePointGrabber", "@brief Method QObject *QSinglePointEvent::exclusivePointGrabber()\n", true, &_init_f_exclusivePointGrabber_c0, &_call_f_exclusivePointGrabber_c0); methods += new qt_gsi::GenericMethod ("globalPosition", "@brief Method QPointF QSinglePointEvent::globalPosition()\n", true, &_init_f_globalPosition_c0, &_call_f_globalPosition_c0); methods += new qt_gsi::GenericMethod ("isBeginEvent?", "@brief Method bool QSinglePointEvent::isBeginEvent()\nThis is a reimplementation of QPointerEvent::isBeginEvent", true, &_init_f_isBeginEvent_c0, &_call_f_isBeginEvent_c0); @@ -246,21 +230,6 @@ public: virtual ~QSinglePointEvent_Adaptor(); - // [adaptor impl] QSinglePointEvent *QSinglePointEvent::clone() - QSinglePointEvent * cbs_clone_c0_0() const - { - return QSinglePointEvent::clone(); - } - - virtual QSinglePointEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QSinglePointEvent_Adaptor::cbs_clone_c0_0); - } else { - return QSinglePointEvent::clone(); - } - } - // [adaptor impl] bool QSinglePointEvent::isBeginEvent() bool cbs_isBeginEvent_c0_0() const { @@ -336,7 +305,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_isBeginEvent_c0_0; gsi::Callback cb_isEndEvent_c0_0; gsi::Callback cb_isUpdateEvent_c0_0; @@ -346,25 +314,6 @@ public: QSinglePointEvent_Adaptor::~QSinglePointEvent_Adaptor() { } -// QSinglePointEvent *QSinglePointEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QSinglePointEvent *)((QSinglePointEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QSinglePointEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // bool QSinglePointEvent::isBeginEvent() static void _init_cbs_isBeginEvent_c0_0 (qt_gsi::GenericMethod *decl) @@ -477,8 +426,6 @@ gsi::Class &qtdecl_QSinglePointEvent (); static gsi::Methods methods_QSinglePointEvent_Adaptor () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QSinglePointEvent *QSinglePointEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@brief Virtual method bool QSinglePointEvent::isBeginEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@hide", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0, &_set_callback_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isEndEvent", "@brief Virtual method bool QSinglePointEvent::isEndEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isEndEvent_c0_0, &_call_cbs_isEndEvent_c0_0); diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQStatusTipEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQStatusTipEvent.cc index e9cd2b616..5cd695e86 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQStatusTipEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQStatusTipEvent.cc @@ -35,21 +35,6 @@ // ----------------------------------------------------------------------- // class QStatusTipEvent -// QStatusTipEvent *QStatusTipEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QStatusTipEvent *)((QStatusTipEvent *)cls)->clone ()); -} - - // QString QStatusTipEvent::tip() @@ -70,7 +55,6 @@ namespace gsi static gsi::Methods methods_QStatusTipEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QStatusTipEvent *QStatusTipEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("tip", "@brief Method QString QStatusTipEvent::tip()\n", true, &_init_f_tip_c0, &_call_f_tip_c0); return methods; } @@ -98,21 +82,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QStatusTipEvent *QStatusTipEvent::clone() - QStatusTipEvent * cbs_clone_c0_0() const - { - return QStatusTipEvent::clone(); - } - - virtual QStatusTipEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QStatusTipEvent_Adaptor::cbs_clone_c0_0); - } else { - return QStatusTipEvent::clone(); - } - } - // [adaptor impl] void QStatusTipEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -128,7 +97,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -152,25 +120,6 @@ static void _call_ctor_QStatusTipEvent_Adaptor_2025 (const qt_gsi::GenericStatic } -// QStatusTipEvent *QStatusTipEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QStatusTipEvent *)((QStatusTipEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QStatusTipEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QStatusTipEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -203,8 +152,6 @@ gsi::Class &qtdecl_QStatusTipEvent (); static gsi::Methods methods_QStatusTipEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QStatusTipEvent::QStatusTipEvent(const QString &tip)\nThis method creates an object of class QStatusTipEvent.", &_init_ctor_QStatusTipEvent_Adaptor_2025, &_call_ctor_QStatusTipEvent_Adaptor_2025); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QStatusTipEvent *QStatusTipEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QStatusTipEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQTabletEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQTabletEvent.cc index 80d5cc53a..f326a8dca 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQTabletEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQTabletEvent.cc @@ -41,21 +41,6 @@ // ----------------------------------------------------------------------- // class QTabletEvent -// QTabletEvent *QTabletEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QTabletEvent *)((QTabletEvent *)cls)->clone ()); -} - - // QPoint QTabletEvent::globalPos() @@ -316,7 +301,6 @@ namespace gsi static gsi::Methods methods_QTabletEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QTabletEvent *QTabletEvent::clone()\nThis is a reimplementation of QSinglePointEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("globalPos", "@brief Method QPoint QTabletEvent::globalPos()\n", true, &_init_f_globalPos_c0, &_call_f_globalPos_c0); methods += new qt_gsi::GenericMethod ("globalPosF", "@brief Method const QPointF QTabletEvent::globalPosF()\n", true, &_init_f_globalPosF_c0, &_call_f_globalPosF_c0); methods += new qt_gsi::GenericMethod ("globalX", "@brief Method int QTabletEvent::globalX()\n", true, &_init_f_globalX_c0, &_call_f_globalX_c0); @@ -354,21 +338,6 @@ public: virtual ~QTabletEvent_Adaptor(); - // [adaptor impl] QTabletEvent *QTabletEvent::clone() - QTabletEvent * cbs_clone_c0_0() const - { - return QTabletEvent::clone(); - } - - virtual QTabletEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QTabletEvent_Adaptor::cbs_clone_c0_0); - } else { - return QTabletEvent::clone(); - } - } - // [adaptor impl] bool QTabletEvent::isBeginEvent() bool cbs_isBeginEvent_c0_0() const { @@ -444,7 +413,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_isBeginEvent_c0_0; gsi::Callback cb_isEndEvent_c0_0; gsi::Callback cb_isUpdateEvent_c0_0; @@ -454,25 +422,6 @@ public: QTabletEvent_Adaptor::~QTabletEvent_Adaptor() { } -// QTabletEvent *QTabletEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QTabletEvent *)((QTabletEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QTabletEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // bool QTabletEvent::isBeginEvent() static void _init_cbs_isBeginEvent_c0_0 (qt_gsi::GenericMethod *decl) @@ -585,8 +534,6 @@ gsi::Class &qtdecl_QTabletEvent (); static gsi::Methods methods_QTabletEvent_Adaptor () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QTabletEvent *QTabletEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@brief Virtual method bool QTabletEvent::isBeginEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@hide", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0, &_set_callback_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isEndEvent", "@brief Virtual method bool QTabletEvent::isEndEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isEndEvent_c0_0, &_call_cbs_isEndEvent_c0_0); diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQToolBarChangeEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQToolBarChangeEvent.cc index 445afd49c..251441cb9 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQToolBarChangeEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQToolBarChangeEvent.cc @@ -35,21 +35,6 @@ // ----------------------------------------------------------------------- // class QToolBarChangeEvent -// QToolBarChangeEvent *QToolBarChangeEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QToolBarChangeEvent *)((QToolBarChangeEvent *)cls)->clone ()); -} - - // bool QToolBarChangeEvent::toggle() @@ -70,7 +55,6 @@ namespace gsi static gsi::Methods methods_QToolBarChangeEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QToolBarChangeEvent *QToolBarChangeEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("toggle", "@brief Method bool QToolBarChangeEvent::toggle()\n", true, &_init_f_toggle_c0, &_call_f_toggle_c0); return methods; } @@ -98,21 +82,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QToolBarChangeEvent *QToolBarChangeEvent::clone() - QToolBarChangeEvent * cbs_clone_c0_0() const - { - return QToolBarChangeEvent::clone(); - } - - virtual QToolBarChangeEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QToolBarChangeEvent_Adaptor::cbs_clone_c0_0); - } else { - return QToolBarChangeEvent::clone(); - } - } - // [adaptor impl] void QToolBarChangeEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -128,7 +97,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -152,25 +120,6 @@ static void _call_ctor_QToolBarChangeEvent_Adaptor_864 (const qt_gsi::GenericSta } -// QToolBarChangeEvent *QToolBarChangeEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QToolBarChangeEvent *)((QToolBarChangeEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QToolBarChangeEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QToolBarChangeEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -203,8 +152,6 @@ gsi::Class &qtdecl_QToolBarChangeEvent (); static gsi::Methods methods_QToolBarChangeEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QToolBarChangeEvent::QToolBarChangeEvent(bool t)\nThis method creates an object of class QToolBarChangeEvent.", &_init_ctor_QToolBarChangeEvent_Adaptor_864, &_call_ctor_QToolBarChangeEvent_Adaptor_864); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QToolBarChangeEvent *QToolBarChangeEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QToolBarChangeEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQTouchEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQTouchEvent.cc index 8e447e4e6..4b7e66da7 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQTouchEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQTouchEvent.cc @@ -39,21 +39,6 @@ // ----------------------------------------------------------------------- // class QTouchEvent -// QTouchEvent *QTouchEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QTouchEvent *)((QTouchEvent *)cls)->clone ()); -} - - // bool QTouchEvent::isBeginEvent() @@ -149,7 +134,6 @@ namespace gsi static gsi::Methods methods_QTouchEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QTouchEvent *QTouchEvent::clone()\nThis is a reimplementation of QPointerEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("isBeginEvent?", "@brief Method bool QTouchEvent::isBeginEvent()\nThis is a reimplementation of QPointerEvent::isBeginEvent", true, &_init_f_isBeginEvent_c0, &_call_f_isBeginEvent_c0); methods += new qt_gsi::GenericMethod ("isEndEvent?", "@brief Method bool QTouchEvent::isEndEvent()\nThis is a reimplementation of QPointerEvent::isEndEvent", true, &_init_f_isEndEvent_c0, &_call_f_isEndEvent_c0); methods += new qt_gsi::GenericMethod ("isUpdateEvent?", "@brief Method bool QTouchEvent::isUpdateEvent()\nThis is a reimplementation of QPointerEvent::isUpdateEvent", true, &_init_f_isUpdateEvent_c0, &_call_f_isUpdateEvent_c0); @@ -212,21 +196,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QTouchEvent *QTouchEvent::clone() - QTouchEvent * cbs_clone_c0_0() const - { - return QTouchEvent::clone(); - } - - virtual QTouchEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QTouchEvent_Adaptor::cbs_clone_c0_0); - } else { - return QTouchEvent::clone(); - } - } - // [adaptor impl] bool QTouchEvent::isBeginEvent() bool cbs_isBeginEvent_c0_0() const { @@ -302,7 +271,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_isBeginEvent_c0_0; gsi::Callback cb_isEndEvent_c0_0; gsi::Callback cb_isUpdateEvent_c0_0; @@ -369,25 +337,6 @@ static void _call_ctor_QTouchEvent_Adaptor_12963 (const qt_gsi::GenericStaticMet } -// QTouchEvent *QTouchEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QTouchEvent *)((QTouchEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QTouchEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // bool QTouchEvent::isBeginEvent() static void _init_cbs_isBeginEvent_c0_0 (qt_gsi::GenericMethod *decl) @@ -502,8 +451,6 @@ static gsi::Methods methods_QTouchEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QTouchEvent::QTouchEvent(QEvent::Type eventType, const QPointingDevice *device, QFlags modifiers, const QList &touchPoints)\nThis method creates an object of class QTouchEvent.", &_init_ctor_QTouchEvent_Adaptor_10193, &_call_ctor_QTouchEvent_Adaptor_10193); methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QTouchEvent::QTouchEvent(QEvent::Type eventType, const QPointingDevice *device, QFlags modifiers, QFlags touchPointStates, const QList &touchPoints)\nThis method creates an object of class QTouchEvent.", &_init_ctor_QTouchEvent_Adaptor_12963, &_call_ctor_QTouchEvent_Adaptor_12963); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QTouchEvent *QTouchEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@brief Virtual method bool QTouchEvent::isBeginEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@hide", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0, &_set_callback_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isEndEvent", "@brief Virtual method bool QTouchEvent::isEndEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isEndEvent_c0_0, &_call_cbs_isEndEvent_c0_0); diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQWhatsThisClickedEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQWhatsThisClickedEvent.cc index c54bcff19..68e537df5 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQWhatsThisClickedEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQWhatsThisClickedEvent.cc @@ -35,21 +35,6 @@ // ----------------------------------------------------------------------- // class QWhatsThisClickedEvent -// QWhatsThisClickedEvent *QWhatsThisClickedEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QWhatsThisClickedEvent *)((QWhatsThisClickedEvent *)cls)->clone ()); -} - - // QString QWhatsThisClickedEvent::href() @@ -70,7 +55,6 @@ namespace gsi static gsi::Methods methods_QWhatsThisClickedEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QWhatsThisClickedEvent *QWhatsThisClickedEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("href", "@brief Method QString QWhatsThisClickedEvent::href()\n", true, &_init_f_href_c0, &_call_f_href_c0); return methods; } @@ -98,21 +82,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QWhatsThisClickedEvent *QWhatsThisClickedEvent::clone() - QWhatsThisClickedEvent * cbs_clone_c0_0() const - { - return QWhatsThisClickedEvent::clone(); - } - - virtual QWhatsThisClickedEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QWhatsThisClickedEvent_Adaptor::cbs_clone_c0_0); - } else { - return QWhatsThisClickedEvent::clone(); - } - } - // [adaptor impl] void QWhatsThisClickedEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -128,7 +97,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -152,25 +120,6 @@ static void _call_ctor_QWhatsThisClickedEvent_Adaptor_2025 (const qt_gsi::Generi } -// QWhatsThisClickedEvent *QWhatsThisClickedEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QWhatsThisClickedEvent *)((QWhatsThisClickedEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QWhatsThisClickedEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QWhatsThisClickedEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -203,8 +152,6 @@ gsi::Class &qtdecl_QWhatsThisClickedEvent (); static gsi::Methods methods_QWhatsThisClickedEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QWhatsThisClickedEvent::QWhatsThisClickedEvent(const QString &href)\nThis method creates an object of class QWhatsThisClickedEvent.", &_init_ctor_QWhatsThisClickedEvent_Adaptor_2025, &_call_ctor_QWhatsThisClickedEvent_Adaptor_2025); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QWhatsThisClickedEvent *QWhatsThisClickedEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QWhatsThisClickedEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQWheelEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQWheelEvent.cc index 954139f10..683dc266b 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQWheelEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQWheelEvent.cc @@ -56,21 +56,6 @@ static void _call_f_angleDelta_c0 (const qt_gsi::GenericMethod * /*decl*/, void } -// QWheelEvent *QWheelEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QWheelEvent *)((QWheelEvent *)cls)->clone ()); -} - - // bool QWheelEvent::hasPixelDelta() @@ -212,7 +197,6 @@ namespace gsi static gsi::Methods methods_QWheelEvent () { gsi::Methods methods; methods += new qt_gsi::GenericMethod ("angleDelta", "@brief Method QPoint QWheelEvent::angleDelta()\n", true, &_init_f_angleDelta_c0, &_call_f_angleDelta_c0); - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QWheelEvent *QWheelEvent::clone()\nThis is a reimplementation of QSinglePointEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("hasPixelDelta", "@brief Method bool QWheelEvent::hasPixelDelta()\n", true, &_init_f_hasPixelDelta_c0, &_call_f_hasPixelDelta_c0); methods += new qt_gsi::GenericMethod ("inverted", "@brief Method bool QWheelEvent::inverted()\n", true, &_init_f_inverted_c0, &_call_f_inverted_c0); methods += new qt_gsi::GenericMethod ("isBeginEvent?", "@brief Method bool QWheelEvent::isBeginEvent()\nThis is a reimplementation of QSinglePointEvent::isBeginEvent", true, &_init_f_isBeginEvent_c0, &_call_f_isBeginEvent_c0); @@ -260,21 +244,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QWheelEvent *QWheelEvent::clone() - QWheelEvent * cbs_clone_c0_0() const - { - return QWheelEvent::clone(); - } - - virtual QWheelEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QWheelEvent_Adaptor::cbs_clone_c0_0); - } else { - return QWheelEvent::clone(); - } - } - // [adaptor impl] bool QWheelEvent::isBeginEvent() bool cbs_isBeginEvent_c0_0() const { @@ -350,7 +319,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_isBeginEvent_c0_0; gsi::Callback cb_isEndEvent_c0_0; gsi::Callback cb_isUpdateEvent_c0_0; @@ -405,25 +373,6 @@ static void _call_ctor_QWheelEvent_Adaptor_18729 (const qt_gsi::GenericStaticMet } -// QWheelEvent *QWheelEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QWheelEvent *)((QWheelEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QWheelEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // bool QWheelEvent::isBeginEvent() static void _init_cbs_isBeginEvent_c0_0 (qt_gsi::GenericMethod *decl) @@ -537,8 +486,6 @@ gsi::Class &qtdecl_QWheelEvent (); static gsi::Methods methods_QWheelEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QWheelEvent::QWheelEvent(const QPointF &pos, const QPointF &globalPos, QPoint pixelDelta, QPoint angleDelta, QFlags buttons, QFlags modifiers, Qt::ScrollPhase phase, bool inverted, Qt::MouseEventSource source, const QPointingDevice *device)\nThis method creates an object of class QWheelEvent.", &_init_ctor_QWheelEvent_Adaptor_18729, &_call_ctor_QWheelEvent_Adaptor_18729); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QWheelEvent *QWheelEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@brief Virtual method bool QWheelEvent::isBeginEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isBeginEvent", "@hide", true, &_init_cbs_isBeginEvent_c0_0, &_call_cbs_isBeginEvent_c0_0, &_set_callback_cbs_isBeginEvent_c0_0); methods += new qt_gsi::GenericMethod ("isEndEvent", "@brief Virtual method bool QWheelEvent::isEndEvent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isEndEvent_c0_0, &_call_cbs_isEndEvent_c0_0); diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQWindowStateChangeEvent.cc b/src/gsiqt/qt6/QtGui/gsiDeclQWindowStateChangeEvent.cc index 7fa878b53..5c3a658bc 100644 --- a/src/gsiqt/qt6/QtGui/gsiDeclQWindowStateChangeEvent.cc +++ b/src/gsiqt/qt6/QtGui/gsiDeclQWindowStateChangeEvent.cc @@ -35,21 +35,6 @@ // ----------------------------------------------------------------------- // class QWindowStateChangeEvent -// QWindowStateChangeEvent *QWindowStateChangeEvent::clone() - - -static void _init_f_clone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QWindowStateChangeEvent *)((QWindowStateChangeEvent *)cls)->clone ()); -} - - // bool QWindowStateChangeEvent::isOverride() @@ -85,7 +70,6 @@ namespace gsi static gsi::Methods methods_QWindowStateChangeEvent () { gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QWindowStateChangeEvent *QWindowStateChangeEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); methods += new qt_gsi::GenericMethod ("isOverride?", "@brief Method bool QWindowStateChangeEvent::isOverride()\n", true, &_init_f_isOverride_c0, &_call_f_isOverride_c0); methods += new qt_gsi::GenericMethod ("oldState", "@brief Method QFlags QWindowStateChangeEvent::oldState()\n", true, &_init_f_oldState_c0, &_call_f_oldState_c0); return methods; @@ -120,21 +104,6 @@ public: qt_gsi::QtObjectBase::init (this); } - // [adaptor impl] QWindowStateChangeEvent *QWindowStateChangeEvent::clone() - QWindowStateChangeEvent * cbs_clone_c0_0() const - { - return QWindowStateChangeEvent::clone(); - } - - virtual QWindowStateChangeEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QWindowStateChangeEvent_Adaptor::cbs_clone_c0_0); - } else { - return QWindowStateChangeEvent::clone(); - } - } - // [adaptor impl] void QWindowStateChangeEvent::setAccepted(bool accepted) void cbs_setAccepted_864_0(bool accepted) { @@ -150,7 +119,6 @@ public: } } - gsi::Callback cb_clone_c0_0; gsi::Callback cb_setAccepted_864_0; }; @@ -177,25 +145,6 @@ static void _call_ctor_QWindowStateChangeEvent_Adaptor_3346 (const qt_gsi::Gener } -// QWindowStateChangeEvent *QWindowStateChangeEvent::clone() - -static void _init_cbs_clone_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_clone_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QWindowStateChangeEvent *)((QWindowStateChangeEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QWindowStateChangeEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - // void QWindowStateChangeEvent::setAccepted(bool accepted) static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) @@ -228,8 +177,6 @@ gsi::Class &qtdecl_QWindowStateChangeEvent (); static gsi::Methods methods_QWindowStateChangeEvent_Adaptor () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QWindowStateChangeEvent::QWindowStateChangeEvent(QFlags oldState, bool isOverride)\nThis method creates an object of class QWindowStateChangeEvent.", &_init_ctor_QWindowStateChangeEvent_Adaptor_3346, &_call_ctor_QWindowStateChangeEvent_Adaptor_3346); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QWindowStateChangeEvent *QWindowStateChangeEvent::clone()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0); - methods += new qt_gsi::GenericMethod ("clone", "@hide", true, &_init_cbs_clone_c0_0, &_call_cbs_clone_c0_0, &_set_callback_cbs_clone_c0_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@brief Virtual method void QWindowStateChangeEvent::setAccepted(bool accepted)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0); methods += new qt_gsi::GenericMethod ("setAccepted", "@hide", false, &_init_cbs_setAccepted_864_0, &_call_cbs_setAccepted_864_0, &_set_callback_cbs_setAccepted_864_0); return methods; diff --git a/src/gsiqt/qt6/QtMultimedia/gsiDeclQVideoFrame.cc b/src/gsiqt/qt6/QtMultimedia/gsiDeclQVideoFrame.cc index 19c8a1721..82966e94d 100644 --- a/src/gsiqt/qt6/QtMultimedia/gsiDeclQVideoFrame.cc +++ b/src/gsiqt/qt6/QtMultimedia/gsiDeclQVideoFrame.cc @@ -542,25 +542,6 @@ static void _call_f_swap_1693 (const qt_gsi::GenericMethod * /*decl*/, void *cls } -// quint64 QVideoFrame::textureHandle(int plane) - - -static void _init_f_textureHandle_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("plane"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_textureHandle_c767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = gsi::arg_reader() (args, heap); - ret.write ((quint64)((QVideoFrame *)cls)->textureHandle (arg1)); -} - - // QImage QVideoFrame::toImage() @@ -642,7 +623,6 @@ static gsi::Methods methods_QVideoFrame () { methods += new qt_gsi::GenericMethod ("subtitleText", "@brief Method QString QVideoFrame::subtitleText()\n", true, &_init_f_subtitleText_c0, &_call_f_subtitleText_c0); methods += new qt_gsi::GenericMethod ("surfaceFormat", "@brief Method QVideoFrameFormat QVideoFrame::surfaceFormat()\n", true, &_init_f_surfaceFormat_c0, &_call_f_surfaceFormat_c0); methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QVideoFrame::swap(QVideoFrame &other)\n", false, &_init_f_swap_1693, &_call_f_swap_1693); - methods += new qt_gsi::GenericMethod ("textureHandle", "@brief Method quint64 QVideoFrame::textureHandle(int plane)\n", true, &_init_f_textureHandle_c767, &_call_f_textureHandle_c767); methods += new qt_gsi::GenericMethod ("toImage", "@brief Method QImage QVideoFrame::toImage()\n", true, &_init_f_toImage_c0, &_call_f_toImage_c0); methods += new qt_gsi::GenericMethod ("unmap", "@brief Method void QVideoFrame::unmap()\n", false, &_init_f_unmap_0, &_call_f_unmap_0); methods += new qt_gsi::GenericMethod ("width", "@brief Method int QVideoFrame::width()\n", true, &_init_f_width_c0, &_call_f_width_c0);